Cisco 3560x-24p 参考指南

下载
页码 1188
 
B-16
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Appendix B      Catalyst 3750-X and 3560-X 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.
When you enable debugging on a switch stack, it is enabled only on the stack master. To enable 
debugging on a stack member, you can start a session from the stack master by using the session 
switch-number privileged EXEC command. Then enter the debug command at the command-line 
prompt of the stack member. You also can use the remote command stack-member-number LINE 
privileged EXEC command on the stack master switch to enable debugging on a member switch without 
first starting a session.
Related Commands
interface-id
Display debug messages for the specified physical port, identified by type 
switch number/module number/ port, for example gigabitethernet 1/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 48.
vlan vlan-id
Display debug messages for the specified VLAN. The vlan-id range is 1 to 
4094.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show debugging
Displays information about the types of debugging that are enabled.
Displays EtherChannel information for the channel.