Configuring SNMP Notification Recipients Using CLI Commands
The following table summarizes the equivalent CLI commands for viewing fields displayed in the Notification Recipients page.
Table
CLI Command | Description |
|
|
Creates or updates a notification | |
recipient receiving notifications in | |
SNMP version 1 or 2. | |
[timeout seconds] [retries retries] |
|
|
|
Creates or updates a notification | |
hostname} username [traps informs] | recipient receiving notifications in |
{noauth auth priv} | SNMP version 3. |
[filter filtername] [timeout seconds] |
|
[retries retries] |
|
|
|
show snmp | Shows the current SNMP |
| configuration. |
|
|
The following is an example of the CLI commands:
console(config)#
console(config)# end |
|
| |
console# show snmp |
|
|
|
View name | IP address | ||
public | read only | All | |
private | read write | default | 172.16.1.1 |
private | su | DefaultSuper | 172.17.1.1 |