Brocade FastIron SX, FCX, and ICX Diagnostic Reference User Manual
Page 15
Brocade FastIron SX, FCX, and ICX Diagnostic Reference
3
53-1003076-02
Generic debug commands
1
•
console—Directs output to the system console.
•
logging—Directs output to the syslog buffer and to the syslog server (default).
•
telnet num—Directs output to a specified Telnet session (ranges from 1 through 5).
•
ssh num—Directs output to a specified Secure Shell (SSH) session (ranges from 1 through 5).
This command allows you to specify a destination for debugging output. The default destination is
the system console, but you can redirect output to a syslog buffer, Telnet session, or SSH session.
To send debug output to a Telnet session, first determine your session number using the show who
command.
This example indicates that you are connected through active Telnet session 1. To redirect the
debug output to your Telnet session, enter the following command.
Brocade#debug destination telnet 1
show debug
Syntax: show debug
This command displays all the enabled debug functions. The output resembles the following
example, which shows that ACL log and IPv6 debugging are enabled, with the console as the output
destination.
Brocade# show who
Console connections (by unit number):
1 established
4 minutes 29 seconds in idle
Telnet connections (inbound):
1 established, client ip address 172.31.0.1
you are connecting to this session
2 seconds in idle
2 closed
3 closed
4 closed
5 closed
Telnet connection (outbound):
6 closed
SSH connections:
1 closed
2 closed
3 closed
4 closed
Brocade# show debug
Debug message destination: Console
Enabling ACL log
IPv6 Routing:
ipv6: icmp debugging is on