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 6-52. SNMP Community CLI Commands

CLI Command

Description

 

 

snmp-server host {ipaddress hostname}

Creates or updates a notification

community-string[traps informs] [1 2]

recipient receiving notifications in

[udp-port port] [filter filtername]

SNMP version 1 or 2.

[timeout seconds] [retries retries]

 

 

 

snmp-server v3-host {ip-address

Creates or updates a notification

hostname} username [traps informs]

recipient receiving notifications in

{noauth auth priv} [udp-port port]

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)# snmp-server host 172.16.1.1 private

console(config)# end

 

 

console# show snmp

 

 

 

Community-String Community-Access

View name

IP address

----------------

----------------

---------

----------

public

read only

user-view

All

private

read write

default

172.16.1.1

private

su

DefaultSuper

172.17.1.1

Configuring System Information

245

Page 245
Image 245
Dell 3548 manual 245