B-11
Catalyst 2960 Switch Command Reference
78-16882-01
Appendix B Catalyst 2960 Switch Debug Commands
debug interface
debug interface
Use the debug interface privileged EXEC command to enable debugging of interface-related activities.
Use the no form of this command to disable debugging.
debug interface {interface-id | null interface-number | port-channel port-channel-number |
vlan vlan-id}
no debug interface {interface-id | null interface-number | port-channel port-channel-number |
vlan vlan-id}
Syntax Description
Defaults Debugging is disabled.
Command Modes Privileged EXEC
Command History
Usage Guidelines If you do not specify a keyword, all debug messages appear.
The undebug interface command is the same as the no debug interface command.
Related Commands
interface-id Display debug messages for the specified physical port, identified by type
switch number/module number/ port, for example gigabitethernet 0/2.
null interface-number Display debug messages for null interfaces. The interface-number is always
0.
port-channel
port-channel-number
Display debug messages for the specified EtherChannel port-channel
interface. The port-channel-number range is 1 to 6.
vlan vlan-id Display debug messages for the specified VLAN. The vlan-id range is 1 to
4094.
Release Modification
12.2(25)FX This command was introduced.
Command Description
show debugging Displays information about the types of debugging that are enabled. For
syntax information, select Cisco IOS Release 12.2 Configuration Guides
and Command References > Cisco IOS Configuration Fundamentals
Configuration Guide, Release 12.2 > System Management >
Troubleshooting and Fault Management.
show etherchannel Displays EtherChannel information for the channel.