Chapter 2 Common Commands

To view the ARP table for the LAN port, enter ip arp status enif0.

ras> ip arp status enif0

addr 0 reqst in 312 replies 9 reqst out 16

received 1458 badtype 0 bogus

cache hit 11278 (88%), cache miss 1521 (11%)

stat iface

IP-addr

Type

Time

Addr

172.16.1.44

10

Mb Ethernet

290

00:13:49:6b:10:55 41

enif0

172.16.1.123

10

Mb Ethernet

290

00:0a:e4:06:11:91 41

enif0

172.16.1.3

10

Mb Ethernet

290

00:02:e3:57:ea:4f 41

enif0

172.16.1.122

10

Mb Ethernet

280

00:c0:a8:fa:e9:27 41

enif0

172.16.1.105

10

Mb Ethernet

280

00:0f:fe:0a:2d:3b 41

enif0

172.16.1.30

10

Mb Ethernet

270

00:60:b3:45:2b:c5 41

enif0

172.16.1.53

10

Mb Ethernet

210

00:16:d3:b8:3d:1a 41

enif0

172.16.1.32

10

Mb Ethernet

160

00:16:36:10:26:2d 41

enif0

172.16.1.2

10

Mb Ethernet

130

00:16:d3:37:c7:33 41

enif0

172.16.1.42

10

Mb Ethernet

150

00:00:e8:71:e3:f9 41

enif0

172.16.1.14

10

Mb Ethernet

250

00:13:49:fb:99:16 41

enif0

172.16.1.7

10

Mb Ethernet

190

00:0d:60:cb:fd:08 41

enif0

172.16.1.52

10

Mb Ethernet

130

00:0f:fe:32:b4:12 41

enif0

num of arp entries= 13

Each ZyWALL can support a specific number of NAT sessions in total. You can limit the number of NAT sessions allowed per host by using the ip nat session command. In the following example, each host may have up to 4000 NAT sessions open at one time. The total number of NAT sessions must not exceed the number for your ZyWALL.

ras> ip nat session 4000

ip nat session

NAT session number per host: 4000 ras>

To see the IP routing table, enter the following command.

ras> ip route status

Device

Gateway

Metric

stat Timer

Use

Dest

FF Len

192.168.1.0

00

24

enet0

192.168.1.1

1

041b

0

0

192.168.100.0

00

24

enet0

192.168.100.100

1

041b

0

0

default

00

0

Idle

WAN 2

102

002b

0

0

ras>

 

 

 

 

 

 

 

 

20

 

ZyWALL (ZyNOS) CLI Reference Guide