Users Guide

Table Of Contents
Switch Management Commands 2258
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 Traps........................... Enabled
Auto-copy-sw Traps............................. Enabled
802.1q Traps................................... Enabled
Link Up/Down Flag.............................. Enabled
Port-security Violation Traps.................. Enabled
Multiple Users Traps........................... Enabled
----------- ----------------------- ---------
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