TMS zl Management and Configuration Guide ST.1.2.100916

A-37
Command-Line Reference
Product OS Manager Context Commands
If you want to capture packets for a high-availability (HA) interface, include
the ha option.
If you want to capture packets on all interfaces, include the any option.
You can use the extended options to capture certain types of traffic, based on
protocol, source IP address, destination IP address, source port, or destination
port. You can set extended options for capturing an interface by typing
additional keywords after the network interface. You can specify several
combinations of the extended options shown in Table A-8, and you can enter
the options in almost any order.
Table A-8. capture Extended Options
For example:
hostswitch(tms-module-<slot ID>)# capture terminal vlan
100 pktcount 20
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
host <host ip address> Specifies the IP address to match to either source or destination address
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
port <port number> Specifies that all traffic sent or received on this port will be captured.
ether <network protocol type> Specifies the network protocol of the frame to be captured
•ip
•arp
•rarp
•atalk
aarp
decnet
•sca
•lat
mopdl
moprc
•iso
•stp
•ipx
netbeui
ip <transport protocol type> Specifies the transport protocol of the packet to be captured:
•tcp
udp
•icmp
•igmp
•eigrp
•gre
•lt2p
•pim
ah
•esp
•vrrp
•ospf
multicast