SNMP C
OMMANDS

4-147

Command Mode
Privileged Executive
Example
SNMP Commands
Controls access to this switch from management stations using the Simple
Network Management Protocol (SNMP), as well as the error types sent to
trap managers.
snmp-server community
This command defines the community access string for the Simple
Network Management Protocol. Use the no form to remove the specified
community string.
Console#show access-group
Interface ethernet 1/2
IP standard access-list david
MAC access-list jerry
Console#
Command Function Mode Page
snmp-server
community
Sets up the community access string to permit
access to SNMP commands
GC 3-147
snmp-server contact Sets the system contact string GC 3-148
snmp-server location Sets the system location string GC 3-149
snmp-server host Specifies the recipient of an SNMP notification
operation
GC 3-150
snmp-server enable
traps
Enables the device to send SNMP traps (i.e.,
SNMP notifications)
GC 3-151
snmp ip filter Sets IP addresses of clients allowed management
access to the switch via SNMP
GC 3-152
show snmp Displays the status of SNMP communications NE,
PE
3-154