TMS zl Management and Configuration Guide ST.1.1.100430
A-55
Command-Line Reference
Global Configuration Context
You can view the output to the terminal, or you can save the output in a
pcap file.
Syntax: capture < file | terminal > [vlan <id> | gre <tunnel name> | ha | any] <extended
options>
If you want to capture packets on a VLAN, include the vlan option and specify
an ID.
If you want to capture packets on a GRE tunnel, include the gre option and
specify the tunnel name.
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 specify several combinations of the extended options shown in
Table A-8, and you can enter the options in almost any order.
Table A-15. capture Extended Options
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
ether <network protocol type> Specifies the network protocol of the frames 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: