show snmp-server traps
Syntax
show snmp-server traps <COMMUNITY-STR>
Description
Shows traps controlled. Shows all information on SNMP communities, trap receivers and SNMP response or trap source-ip policy configured on the switch.
Parameters
- traps
Show all configured traps.
- <COMMUNITY-STR>
Displays information for the specified community only.
Show snmp-server traps
switch(config)# sh snmp-server traps Trap Receivers Link-Change Traps Enabled on Ports [All] : All Traps Category Current Status _____________________________ __________________ SNMP Authentication : Extended Password change : Enabled Login failures : Enabled Port-Security : Enabled Authorization Server Contact : Enabled DHCP-Snooping : Enabled DHCPv6-Snooping Out of Resource : Enabled DHCPv6-Snooping Errant Replies : Enabled Dynamic ARP Protection : Enabled Dynamic IP Lockdown : Enabled Dynamic IPv6 Lockdown Out of Resource : Enabled Dynamic IPv6 Lockdown Violations : Enabled Startup Config change : Disabled Running Config Change : Disabled MAC address table changes : Disabled MAC Address Count : Disabled Address Community Events Type Retry Timeout Excluded MIBs switch(config)# Alignment change – right shifted