Alcatel Carrier Internetworking Solutions 6624 Switch User Manual


 
Troubleshooting IP Routing Troubleshooting with Debug CLI
OmniSwitch Troubleshooting Guide September 2005 page 12-11
Troubleshooting with Debug CLI
As always, being able to obtain a trace of the traffic via a Sniffer application will tell you the bottom line.
If the packets leave the source and arrive at the destination segment properly, the issue does not lie with
routing, the switch, or any intermediate device.
In debug you can look at certain types of traffic crossing through the switch. In this instance, we are look-
ing to see if packets are being transmitted from source to destination, specifically to see if ARP request
and responses are traversing the switch. (These examples are pings being sent to a non-existent IP
address.)
debug ip packet
IP routing can be debugged in debug CLI using the following command:
debug ip packet [start] [timeout seconds] [stop] [direction {in | out | all}] [format {header | text | all}]
[output {console | file filename}] [board {cmm | ni [1-16] | all | none} [ether-type {arp | ip | hex
[hex_number] | all}] [ip-address ip_address] [ip-address ip_address] [ip-pair [ip1] [ip2]] [protocol {tcp
| udp | icmp | igmp | num [integer] | all}] [show-broadcast {on | off}] show-multicast {on | off}]
There are several options available which helps to classify the kind of traffic one may be interested in.
start Starts an IP packet debug session.
timeout Sets the duration of the debug session, in seconds. To specify a dura-
tion for the debug session, enter timeout, then enter the session length.
seconds The debug session length, in seconds.
stop Stops IP packet debug session.
direction Specifies the type of the packets you want to debug. Specify in to debug
incoming packets; specify out to debug outgoing packets; specify all to
debug both incoming and outgoing packets.
format Specifies the area of the packet you want to debug. Specify header to
debug the packets header; specify hex to debug the packet text; specify
all to debug the entire packet.
output Specifies where you want the debug information to go. Specify console
to print the output to the screen; specify file to save the output to a log
file.
filename The filename for the output file.
board Specifies the slot (board) that you want to debug. Specify cmm to
debug CMM packets; specify ni, then enter the slot number of the NI to
debug a network interface card; specify all to debug packets for all
CMMs and NIs on the switch; specify none to clear the previous board
settings.
ether-type Specifies a specific Ethernet packet type to debug. Specify arp to debug
ARP packets; specify ip to debug IP packets; specify hex and enter an
ethernet packet type in hex format (e.g., 800) to debug a specific ether-
net packet type; specify all to debug all Ethernet packet types.