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 Version 3 also provides security features that cover message integrity,
authentication, and encryption; as well as controlling user access to specific areas of
the MIB tree. To use SNMPv3, first set an SNMP engine ID (or accept the default),
specify read and write access views for the MIB tree, configure SNMP user groups
with the required security model (i.e., SNMP v1, v2c or v3) and security level (i.e.,
authentication and privacy), and then assign SNMP users to these groups, along
with their specific authentication and privacy passwords.
Command
snmp-server
show snmp
snmp-server community
snmp-server contact
snmp-server location
snmp-server host
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
snmp-server engine-id
show snmp engine-id
snmp-server view
show snmp view
snmp-server group
show snmp group
snmp-server user
show snmp user
Table 4-41 SNMP Commands
Function
Enables the SNMP agent
Displays the status of SNMP communications
Sets up the community access string to permit access to
SNMP commands
Sets the system contact string
Sets the system location string
Specifies the recipient of an SNMP notification operation
notifications)
Sets the SNMP engine ID
Shows the SNMP engine ID
Adds an SNMP view
Shows the SNMP views
Adds an SNMP group, mapping users to views
Shows the SNMP groups
Adds a user to an SNMP group
Shows the SNMP users
4
SNMP Commands
Mode
Page
GC
4-134
NE, PE
4-134
GC
4-135
GC
4-136
GC
4-136
GC
4-137
GC
4-139
GC
4-140
PE
4-141
GC
4-142
PE
4-143
GC
4-143
PE
4-145
GC
4-146
PE
4-148
4-133