CHAPTER 52 Syslog and Debug Recording
■
Remote server (TFTP or FTP): The capture is saved as a PCAP file (suitable for Wireshark)
and sent to a specified server (default is TFTP) . The generated PCAP file is in the Extensible
Record Format (ERF) and is saved on the device during the capture. The maximum file size
that can be saved to the device is 10 MB and as long as the capture continues, the packets are
written to this 10-MB file in a cyclic manner. When you end the capture (by pressing the CTRL
+ C key-combination), the device sends the capture file to the server.
➢
To capture traffic on a VLAN VoIP device:
1.
Define the VLAN ID on which you want to do the capture:
# debug capture voip interface vlan <VLAN ID>
2.
Define the protocol that you want to capture (all|arp|icmp|ip|ipv6|tcp|udp):
# debug capture voip interface vlan <VLAN ID> proto <Protocol>
3.
Define a source and/or destination IP address to be captured (any|ipv4_address|ipv6_
address):
# debug capture voip interface vlan <VLAN ID> proto <Protocol> host <IP Address>
At this stage, you can press Enter to output the capture to the CLI terminal window, or you can
continue with the next step to configure additional commands.
4.
Define a source and/or destination port number to be captured (any|[1-65535]):
# debug capture voip interface vlan <VLAN ID> proto <Protocol> host <IP Address>
port <Port>
At this stage, you can press Enter to output the capture to the CLI terminal window, or you can
continue with the next step to configure additional commands.
5.
Define the IP address (IPv4) of the server (TFTP or FTP) to where you want the device to send
the captured file:
# debug capture voip interface vlan <VLAN ID> proto <Protocol> host <IP Address>
ftp-server|tftp-server <IP Address>
6.
Press Enter to save the capture to a file on the device.
7.
Press the CTRL + C key-combination to stop the capture and to send the file to the defined
server.
- 832 -
Mediant 4000 SBC | User's Manual