32. Simple Network Management
Protocol(SNMP) Commands
32-1 show snmp-server
This command is used to display the SNMP server's global state settings and trap related settings.
show snmp-server [traps]
Parameters
traps
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline
Use the show snmp-server command to display the SNMP server global state settings. Use the show snmp-
server traps command to display trap related settings.
Example
This example shows how to display the SNMP server configuration.
Switch# show snmp-server
SNMP Server : Enabled
Name
Location
Contact
Switch#
This example shows how to display trap related settings.
Switch# show snmp-server traps
Global Trap State : Enabled
Individual Trap State:
Authentication
linkup
linkdown
coldstart
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
(Optional) Specifies to display trap related settings.
: SiteA-Switch
: HQ 15F
: MIS Department II
: Enabled
: Enabled
: Enabled
: Enabled
162