Administrator Guide

Switch Management Commands 2120
show trapflags
Use the show trapflags command in Privileged Exec mode 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, 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
2CSNXXX_SWUM204.book Page 2120 Monday, January 25, 2016 1:25 PM