Zyxel NXC2500 [243/275] Check current packet capture status and list all packet captures the nxc has performed

Zyxel NXC2500 [243/275] Check current packet capture status and list all packet captures the nxc has performed
Chapter 40 Maintenance Tools
NXC CLI Reference Guide
243
Then configure the following settings to capture packets going through the NXC’s WAN1
interface only (this means you have to remove LAN2 and WAN2 from the iface list).
IP address: any
Host IP: any
Host port: any (then you do not need to configure this setting)
File suffix: Example
File size: 10000 byes
Duration: 150 seconds
Exit the sub-command mode and have the NXC capture packets according to the settings you
just configured.
Manually stop the running packet capturing.
Check current packet capture status and list all packet captures the NXC has performed.
You can use FTP to download a capture file. Open and study it using a packet analyzer tool
(for example, Ethereal or Wireshark).
Router(config)# packet-capture configure
Router(packet-capture)# iface add wan1
Router(packet-capture)# iface del lan2
Router(packet-capture)# iface del wan2
Router(packet-capture)# ip-type any
Router(packet-capture)# host-ip any
Router(packet-capture)# file-suffix Example
Router(packet-capture)# files-size 10000
Router(packet-capture)# duration 150
Router(packet-capture)#
Router(packet-capture)# exit
Router(config)# packet-capture activate
Router(config)#
Router(config)# no packet-capture activate
Router(config)#
Router(config)# show packet-capture status
capture status: off
Router(config)# dir /packet_trace
File Name Size Modified Time
===========================================================================
wan1-Example.cap 575160 2009-11-24 09:06:59
Router(config)#

Содержание

Скачать