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 : SiteA-Switch
Location : HQ 15F
Contact : MIS Department II
SNMP UDP Port: 50000
SNMP Response Broadcast Request: Enabled
Switch#
This example shows how to display trap related settings.
Switch# show snmp-server traps
Global Trap State : Enabled
Individual Trap State:
Authentication : Enabled
linkup : Enabled
linkdown : Enabled
coldstart : Enabled
warmstart : Disabled
Switch#
63-3 show snmp-server trap-sending
This command is used to display the per port SNMP trap sending state.
show snmp-server trap-sending [interface INTERFACE-ID [, | -]]
Parameters
(Optional) Specifies the interface ID. If no interface is specified, then
all ports will be displayed.