TMS zl Management and Configuration Guide ST.1.0.090213
A-35
Threat Management Services zl Module Command-Line Reference
Global Configuration Context
This command shows the current packets on a specified network. This
command is useful for troubleshooting connection problems and monitoring
network activity because it allows you to see all of the packets that are moving
across particular network interfaces. You can view the output to the terminal,
or you can save the output in a pcap file.
Syntax: capture < file | terminal > <network interface> <extended options>
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. 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-10. Capture Extended Options
For example:
ProCurve(tms-module-<slot ID>)# capture terminal eth0
pktcount 20
This command is also available from the Product OS manager context.
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
•eigrp
•gre
•pim
• ah
•esp
•vrrp
•ospf
• 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.