/maint/pktcap/td
TD Packet Capture Menu
The TD Packet Capture menu contains commands for capturing TD packet flows.
This menu only appears in the ADC-VX mode.
 
[TD Packet Capture Menu]
capture - Capture packets
stop - Stop capturing packets
      putcap - Upload capture buffer via FTP/TFTP/SCP
clearcap - Clear capture buffer
cur - Display current TD packet capture options
 
TD Packet Capture Menu Options (/maint/pktcap/td) 
Command Syntax and Usage
capture [-p <port range>] [-DM <Dest MAC>] [-SM <Source MAC>] [-v/vlan <vlan number>] [<bpf filter syntax>]
 
Starts the packet capture operation and sets the packet capture option parameters (the parameters are case sensitive):
*-p — Sets physical ports filtering to receive only traffic from defined ports.
You can define several ports or a range, for example
capture -p 1 -p 2 -p 13-15
Note: Note: The logical relationship between ports is OR, and the logical relationship between ports to other filters is AND.
*-DM — Defines the destination MAC address in the format XX:XX:XX:XX:XX:XX (a prefix of 0x or 0X is optional). You can only define one DM.
*-SM — Defines the source MAC address in the format XX:XX:XX:XX:XX:XX (a prefix of 0x or 0X is optional). You can only define one SM.
Note: If you define both SM and DM, the relationship between them is AND (meaning only a match of both DM and SM is captured). The logical relationship between MACs to other filters is also AND.
*-v or vlan — To capture only packets from ports defined with a VLAN.
For an untagged port, the whole port is dedicated to this VLAN ID and all traffic of this port is captured (untagged traffic).
For a tagged port, the traffic of this port is tagged and only packets with this VLAN tagging ID are captured.
You can only define one VLAN ID.
The logical relationship between VLAN filter to other filters is AND.
If you set a VLAN filter, it is interpreted as if you provided the VLAN ID and its port. For example:
capture -v 40 (and VLAN 40 is defined on port 3) — This is interpreted as -p 3 -v 40 (and you receive packets from port 3).
capture -v 40 (and VLAN 40 is defined on port 3 and port 5) — This is interpreted as -p 3 -p 5 -v 40 (and you receive packets from port 3 or port 5).
If the port is untagged with VLAN 40 — You receive all the traffic of the port. If the port is tagged with VLAN 40, you receive all packets with VLAN tagging 40.
capture -p 16 -v 40 (and VLAN 40 is defined on port 3 and port 5) — This is interpreted as -p 16 -p 3 -p 5 -v 40 (and you receive traffic from port 3 or port 5, but with VLAN 40. You do not receive any packets from port 16, because VLAN 40 is not defined for port 16.)
*bpf filter syntax — Free BPF syntax of filtering (for example, host, tcp, SYN packets).
stop
 
Stops the current packet capture process.
putcap <hostname [-v4|-v6]|v4 or v6 IP address> <filename> <-tftp|username password> [-mgmt|-data] [-scp]
 
Uploads captured packets to a FTP/TFTP/SCP server.
clearcap
 
Clears the packet capture buffer.
cur
 
Displays the current TD packet capture status.