Packet Capture Command Example - ZyXEL Communications UAG Series Reference Manual

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Chapter 64 Maintenance Tools
Table 207 Maintenance Tools Commands in Configuration Mode (continued)
COMMAND
arp IP mac_address
no arp ip
The following example creates an ARP table entry for IP address 192.168.1.10 and MAC address
01:02:03:04:05:06. Then it shows the ARP table and finally removes the new entry.
Router# arp 192.168.1.10 01:02:03:04:05:06
Router# show arp-table
Address
192.168.1.10
172.16.19.254
Router# no arp 192.168.1.10
Router# show arp-table
Address
192.168.1.10
172.16.19.254

64.1.1 Packet Capture Command Example

The following examples show how to configure packet capture settings and perform a packet
capture. First you have to check whether a packet capture is running. This example shows no other
packet capture is running. Then you can also check the current packet capture settings.
Router(config)# show packet-capture status
capture status: off
Router(config)#
Router(config)# show packet-capture config
iface: None
host-port: 0
host-ip: any
file-suffix: -packet-capture
snaplen: 1500
duration: 0
file-size: 10
split-size: 2
ring-buffer: 0
storage: 0
Then configure the following settings to capture packets going through the UAG's WAN1 interface
only.
• IP address: any
• Host IP: any
• Host port: any (then you do not need to configure this setting)
• File suffix: Example
• File size: 10 megabytes
• Duration: 150 seconds
• Save the captured packets to: USB storage device
• Use the ring buffer: no
324
DESCRIPTION
Edits or creates an ARP table entry.
Removes an ARP table entry.
HWtype
HWaddress
ether
01:02:03:04:05:06
ether
00:04:80:9B:78:00
HWtype
HWaddress
(incomplete)
ether
00:04:80:9B:78:00
Flags Mask
Iface
CM
lan1
C
wan1
Flags Mask
Iface
lan1
C
wan1
UAG CLI Reference Guide

Advertisement

Table of Contents
loading

Table of Contents