ZyXEL Communications ZYWALL 1050 - V2.00 EDITION 1 Uživatelská příručka Strana 348

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 386
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 347
Chapter 42 Maintenance Tools
ZyWALL (ZLD) CLI Reference Guide
348
Here are maintenance tool commands that you can use in configure mode.
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.
42.0.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.
Then configure the following settings to capture packets going through the ZyWALL’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
Table 195 Maintenance Tools Commands in Configuration Mode
COMMAND DESCRIPTION
show arp-table Displays the current Address Resolution Protocol table.
arp IP mac_address Edits or creates an ARP table entry.
no arp ip Removes an ARP table entry.
Router# arp 192.168.1.10 01:02:03:04:05:06
Router# show arp-table
Address HWtype HWaddress Flags Mask Iface
192.168.1.10 ether 01:02:03:04:05:06 CM ge1
172.23.19.254 ether 00:04:80:9B:78:00 C ge2
Router# no arp 192.168.1.10
Router# show arp-table
Address HWtype HWaddress Flags Mask Iface
192.168.1.10 (incomplete) ge1
172.23.19.254 ether 00:04:80:9B:78:00 C ge2
Router(config)# show packet-capture status
capture status: off
Router(config)#
Router(config)# show packet-capture config
iface: wan1,lan2,wan2
ip-type: any
host-port: 0
host-ip: any
file-suffix: Example
snaplen: 1500
duration: 150
file-size: 10000
Zobrazit stránku 347
1 2 ... 343 344 345 346 347 348 349 350 351 352 353 ... 385 386

Komentáře k této Příručce

Žádné komentáře