ZyXEL Communications 3.1 ユーザーズマニュアル

ページ / 386
 Chapter 46 Maintenance Tools
ZyWALL (ZLD) CLI Reference Guide
343
Here are maintenance tool commands that you can use in configuration mode. 
46.1  Maintenance Command Examples
Some packet-trace command examples are shown below.
show ipv6 neighbor-list
Displays the ZyWALL’s IPv6 neighbors.
show packet-capture config
Displays current packet capture settings.
Table 204   
Maintenance Tools Commands in Privilege Mode (continued)
COMMAND
DESCRIPTION
Table 205   
Maintenance Tools Commands in Configuration Mode
COMMAND
DESCRIPTION
ipv6 neighbor flush  {ipv6 | all}
Clears the specified IPv6 address or all IPv6 addresses from the IPv6 neighbor 
cache.
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
Router# packet-trace interface ge2 ip-proto icmp file extension-filter 
-> and src host 192.168.105.133 and dst host 192.168.105.40 -s 500 -n
tcpdump: listening on eth1
07:26:51.731558 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
07:26:52.742666 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
07:26:53.752774 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
07:26:54.762887 192.168.105.133 > 192.168.105.40: icmp: echo request (DF)
8 packets received by filter
0 packets dropped by kernel