System information
SNMP Commands
4-99
4
snmp-server
This command enables the SNMPv3 engine and services for all management clients
(i.e., versions 1, 2c, 3). Use the no form to disable the server.
Syntax
[no] snmp-server
Default Setting
Enabled
Command Mode
Global Configuration
Example
show snmp
This command can be used to check the status of SNMP communications.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
snmp-server contact Sets the system contact string GC 4-101
snmp-server location Sets the system location string GC 4-101
snmp-server host Specifies the recipient of an SNMP notification operation GC 4-102
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
notifications)
GC 4-104
snmp-server engine-id Sets the SNMP engine ID GC 4-105
show snmp engine-id Shows the SNMP engine ID PE 4-106
snmp-server view Adds an SNMP view GC 4-107
show snmp view Shows the SNMP views PE 4-108
snmp-server group Adds an SNMP group, mapping users to views GC 4-108
show snmp group Shows the SNMP groups PE 4-110
snmp-server user Adds a user to an SNMP group GC 4-111
show snmp user Shows the SNMP users PE 4-113
Console(config)#snmp-server
Console(config)#
Table 4-37 SNMP Commands (Continued)
Command Function Mode Page