show trapflags

This command displays trap conditions. The command‘s display shows all the enabled OSPFv2 and OSPFv3 (Open Shortest Path First version 3) trapflags. Configure which traps the switch should generate by enabling or disabling the trap condition. If a trap condition is enabled and the condition is detected, the SNMP (Simple Network Management Protocol) agent on the switch sends the trap to all enabled trap receivers. You do not have to reboot the switch to implement the changes. Cold and warm start traps are always generated and cannot be disabled.

Format show trapflags
Mode Privileged EXEC
Column
Meaning
Authentication Flag Can be enabled or disabled. The factory default is enabled. Whether authentication failure traps will be sent.
Link Up/Down Flag Can be enabled or disabled. The factory default is enabled. Whether link status traps will be sent.
Multiple Users Flag Can be enabled or disabled. The factory default is enabled. Whether a trap will be sent when the same user ID is logged into the switch more than once at the same time (either through Telnet or the serial port).
Spanning Tree Flag Can be enabled or disabled. The factory default is enabled. Whether spanning tree traps are sent.
ACL Traps May be enabled or disabled. The factory default is disabled. Whether ACL traps are sent.
BGP4 Traps Can be enabled or disabled. The factory default is disabled. Whether BGP4 traps are sent. (This field appears only on systems with the BGPv4 software package installed.)
DVMRP Traps Can be enabled or disabled. The factory default is disabled. Whether DVMRP traps are sent.
OSPFv2 Traps Can be enabled or disabled. The factory default is disabled. Whether OSPF traps are sent. If any of the OSPF trap flags are not enabled, then the command displays disabled. Otherwise, the command shows all the enabled OSPF traps‘ information.
OSPFv3 Traps Can be enabled or disabled. The factory default is disabled. Whether OSPF traps are sent. If any of the OSPFv3 trap flags are not enabled, then the command displays disabled. Otherwise, the command shows all the enabled OSPFv3 traps‘ information.
PIM Traps Can be enabled or disabled. The factory default is disabled. Whether PIM traps are sent.