2-1015
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat
This example shows how to display the IP routing table:
Console> show netstat routes
DESTINATION GATEWAY FLAGS USE INTERFACE
default 172.16.1.201 UG 6186 sc0
172.16.0.0 172.16.25.142 U 6383 sc0
default default UH 0 sl0
Console>
Table 2 -65 describes the fields in the show netstat routes command output.
This example shows how to display interface statistics:
Console> show netstat interface
Interface InPackets InErrors OutPackets OutErrors
sl0 0 0 0 0
sc0 33 0 117192 0
sc1 2 0 57075 0
Interface Rcv-Octet Xmit-Octet
--------- -------------------- --------------------
sc0 2389 0
sc1 1172 0
sl0 0 0
Interface Rcv-Unicast Xmit-Unicast
--------- -------------------- --------------------
sc0 28 0
sc1 28 0
sl0 0 0
Console>
Input histogram Frequency distribution statistics for input ICMP packets.
echo reply Number of input echo-reply ICMP packets.
destination unreachable Number of input destination-unreachable ICMP packets.
echo Number of input-echo ICMP packets.
message responses
generated Number of ICMP message responses the system generated.
Table2-64 show netstat icmp Command Output Fields (continued)
Field Description
Table2-65 show netstat routes Command Output Fields
Field Description
DESTINATION Destination IP address or network.
GATEWAY Next hop to the destination.
FLAGS Flags indicating the interface state.
USE Number of times this route was used.
INTERFACE Interface out of which packets to the destination should be
forwarded.