CLI Reference Guide 5. VoIP Commands
Version 6.4 63 January 2012
5.1.5 debug capture voip
This command captures network traffic on one of the voip sub-system network interfaces
Syntax:
The syntax of this command includes the following variations:
debug capture voip interface vlan <vlanID> proto <protocol filter>
host <host filter>
debug capture voip interface vlan <vlanID> proto <protocol> host
<host filter> port <port filter>
debug capture voip interface vlan <vlanID> proto <protocol> host
<host filter> port <port filter> tftp-server <tftp server ip
address>
The command syntax format is described below:
Arguments Description
<vlanID>
Defines the VLAN ID of the network interface on which to
start the debug capture process
<protocol filter>
Captures a specific protocol, or all protocols. Available
options are: all, ip, tcp, udp, arp, icmp
Captures traffic from/to a specific host (IP address), or any.
<port filter>
Captures traffic from/to a specific port. Valid ports are 1-
65535, or the keyword any. When using arp or icmp as
protocol filter, port filter cannot be used, and the only valid
value is any.
This argument is optional.
<tftp server ip
address>
When this argument is omitted, captured traffic is printed to
the CLI console. When using this argument, the captured
traffic is saved to a file in pcap format
, and when the
capture is stopped (using ctrl-c), the capture file is
uploaded, via TFTP, to the TFTP server specified in this
argument.
Note that the TFTP server IP address specified in this
argument must be accessible from one of the voip sub-
system network interfaces, so that the capture file will be
uploaded to the server successfully. Use ping test to make
sure this TFTP server is accessible.
This argument is optional.
Command Modes
Enable
Related Commands:
debug capture data