Chapter 24: 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.
Table 24-1 SNMP Commands
Command
snmp-server
show snmp
snmp-server community
snmp-server contact
snmp-server location
snmp-server host
snmp-server enable traps
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
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
Mode Page
GC 24-2
NE, PE 24-2
GC 24-3
GC 24-4
Sets the system location string GC 24-4
Specifies the recipient of an SNMP notification operation
Enables the device to send SNMP traps (i.e., SNMP
notifications)
Sets the SNMP engine ID
GC
GC
GC
24-5
24-7
24-8
24-9
24-10
24-11
24-11
24-12
24-14
24-15
24-1
Shows the SNMP engine ID PE
Adds an SNMP view GC
Shows the SNMP views PE
Adds an SNMP group, mapping users to views GC
Shows the SNMP groups PE
Adds a user to an SNMP group GC
Shows the SNMP users PE