Zyxel NXC2500 [241/275] Command examples

Zyxel NXC2500 [241/275] Command examples
Chapter 40 Maintenance Tools
NXC CLI Reference Guide
241
40.1.1 Command Examples
Some packet-trace command examples are shown below.
snaplen <68..1512> Specifies the maximum number of bytes to capture per
packet. The NXC automatically truncates packets that
exceed this size. As a result, when you view the packet
capture files in a packet analyzer, the actual size of the
packets may be larger than the size of captured packets.
arp ip_address mac_address Edits or creates an ARP table entry.
no arp ip_address Removes an ARP table entry.
[no] arp reply restricted Sets the NXC to only respond to ARP requests, in which
both the source and destination IP addresses are in
different subnets.
The no command sets the NXC to respond to any ARP
request.
Table 133 Maintenance Tools Commands in Configuration Mode (continued)
COMMAND DESCRIPTION
Router# packet-trace duration 3
tcpdump: listening on eth0
19:24:43.239798 192.168.1.10 > 192.168.1.1: icmp: echo request
19:24:43.240199 192.168.1.1 > 192.168.1.10: icmp: echo reply
19:24:44.258823 192.168.1.10 > 192.168.1.1: icmp: echo request
19:24:44.259219 192.168.1.1 > 192.168.1.10: icmp: echo reply
19:24:45.268839 192.168.1.10 > 192.168.1.1: icmp: echo request
19:24:45.269238 192.168.1.1 > 192.168.1.10: icmp: echo reply
6 packets received by filter
0 packets dropped by kernel
Router# packet-trace interface ge2 ip-proto icmp file extension-filter -s
-> 500 -n
tcpdump: listening on eth1
07:24:07.898639 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
07:24:07.900450 192.168.105.40 > 192.168.105.133: icmp: echo reply
07:24:08.908749 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
07:24:08.910606 192.168.105.40 > 192.168.105.133: icmp: echo reply
8 packets received by filter
0 packets dropped by kernel

Содержание

Скачать