Users Guide
Switch Management Commands 2183
show trapflags
Use the show trapflags command to display the trap settings.
Syntax
show trapflags [vrf {vrf-name}][ospf|ospfv3|captive-portal]
• vrf-name—The name of an existing VRF instance.
• ospf—Display OSPFv2 specific trap settings.
• ospfv3—Display OSPFv3 specific trap settings.
• captive-portal—Display captive-portal specific trap settings.
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example #1
console#show trapflags
Authentication Flag............................ Enable
Auto-copy-sw Flag.............................. Enable
Dot1q Flag..................................... Enable
Link Up/Down Flag.............................. Enable
Port-security violation Flag................... Enable
Multiple Users Flag............................ Enable
----------- ----------------------- ---------
user-view1 1.3.6.1.2.1.1 Included
user-view1 1.3.6.1.2.1.1.7 Excluded
user-view2 1.3.6.1.2.1.2.2.1.*.1 Included