TMS zl Management and Configuration Guide ST.1.1.100430
A-28
Command-Line Reference
Product OS Operator Context Commands
capture
The capture command shows the current packets on a VLAN interface, a GRE
tunnel, a High-Availability (HA) interface, or all interfaces. This command is
useful for troubleshooting connection problems and monitoring network
activity because it allows you to see all of the packets that are sent across a
VLAN or HA interface or a GRE tunnel.
This command will capture all Layer 2 frames received on a VLAN interface,
regardless of whether the firewall policies allow or deny the packets within.
For traffic being sent from a VLAN interface, this command will capture only
those packets that are permitted. (The packets that are denied never actually
reach the VLAN interface.)
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 an 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-4, and you can enter the options in almost any order.
Table A-4. 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
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 packet to be captured