User's Manual

Appendix H Command Interpreter
P-793H User’s Guide
407
Log Command Example
This example shows how to set the ZyXEL Device to record the access logs and alerts and
then view the results.
Routing Command
Use this command to set the ZyXEL Device to route traffic that does not match a NAT rule
through a specific interface. An example of when you may want to use this is if you have
servers with public IP addresses connected to the LAN.
The following command example sets the ZyXEL Device to route traffic that does not match a
NAT rule through the LAN interface.
Figure 287 Routing Command Example
ras> sys logs load
ras> sys logs category access 3
ras> sys logs save
ras> sys logs display access
# .time source destination notes
message
0|06/08/2004 05:58:21 |172.21.4.154 |224.0.1.24 |ACCESS
BLOCK
Firewall default policy: IGMP (W to W/ZW)
1|06/08/2004 05:58:20 |172.21.3.56 |239.255.255.250 |ACCESS
BLOCK
Firewall default policy: IGMP (W to W/ZW)
2|06/08/2004 05:58:20 |172.21.0.2 |239.255.255.254 |ACCESS
BLOCK
Firewall default policy: IGMP (W to W/ZW)
3|06/08/2004 05:58:20 |172.21.3.191 |224.0.1.22 |ACCESS
BLOCK
Firewall default policy: IGMP (W to W/ZW)
4|06/08/2004 05:58:20 |172.21.0.254 |224.0.0.1 |ACCESS
BLOCK
Firewall default policy: IGMP (W to W/ZW)
5|06/08/2004 05:58:20 |172.21.4.187:137 |172.21.255.255:137 |ACCESS
BLOCK
Firewall default policy: UDP (W to W/ZW)
Syntax:
ip nat routing [0:LAN] [0:no|1:yes]
ras> ip nat routing 2 0
Routing can work in NAT when no NAT rule match.
-----------------------------------------------
LAN: yes