C
OMMAND

L

INE

I

NTERFACE

4-138

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.
Syntax
snmp-server community string [ro|rw]
no snmp-server community string
string - Community string that acts like a password and permits
access to the SNMP protocol. (Maximum length: 32 characters,
case sensitive; Maximum number of strings: 5)
ro - Specifies read-only access. Authorized management stations are
only able to retrieve MIB objects.
Table 4-39 SNMP Commands
Command Function Mode Page
snmp-server
community
Sets up the community access string to permit
access to SNMP commands
GC 4-138
snmp-server
contact
Sets the system contact string GC 4-139
snmp-server
location
Sets the system location string GC 4-140
snmp-server host Specifies the recipient of an SNMP
notification operation
GC 4-141
snmp-server
enable traps
Enables the device to send SNMP traps (i.e.,
SNMP notifications)
GC 4-142
show snmp Displays the status of SNMP communications NE,
PE
4-143