TMS zl Management and Configuration Guide ST.1.0.090213

D-11
Troubleshooting
Basic Troubleshooting Tools
Replace <network interface> with the network interface for which you want
to view the packets.
You can set extended options for capturing an interface by typing additional
keywords after the network interface. These extended options are shown in
Table D-4.
Table D-4. Capture Extended Options
For example, you might enter:
hostswitch(tms-module-C)# capture terminal vlan1 ip udp
You would then see output similar to the following:
tcpdump: verbose output suppressed, use -v or -vv for
full protocol decode
listening on vlan1, link-type EN10MB (Ethernet), capture
size 65535 bytes
10:14:50.847341 IP 10.1.10.10.1056 > 10.1.1.1.snmp:
GetBulk(29) N=0 M=10 E:142
10:14:50.848274 IP 10.1.1.1.snmp > 10.1.10.10.1056:
GetResponse(212) E:14706.1
10:14:50.848774 IP 10.1.10.10.1056 > 10.1.1.1.snmp:
SetRequest(117) E:14706.13
>..
Extended Command Option Purpose
sip <source IP address> Specifies the source IP address of the packet to be captured
dip <destination IP address> Specifies the destination IP address of the packet to be captured
sp <source port> Specifies the source port of the packet to be captured
dp <destination port> Specifies the destination port of the packet to be captured
ether <network protocol type> Specifies the network protocol of the packet to be captured
ip <transport protocol type> Specifies the transport protocol of the packet to be captured:
•tcp
udp
icmp
igmp
igrp
•pim
ah
•esp
vrrp
multicast
pktcount <count> Specifies the number of packets to be captured. The default
setting is 2,000,000. It is recommended that you specify a smaller
value, since capturing a large amount of packets can affect your
network throughput.