Zhone 1813 Guia Do Utilizador

Página de 135
 
 
 
Command Line Interface User’s Guide 
5.5.4 
policy enable   
 
policy enable  <QoS-Policy-ID> 
 
Enable the firewall rule. 
5.5.5 
policy disable 
 
policy disable <QoS-Policy-ID> 
 
Disable the firewall rule. 
 
5.5.6 
policy list     
 
policy list    [default] [<IfName1>] [<IfName2>] 
 
List the firewall rule. 
 
EXAMPLE 
 
policy set eth0 atm0 2 allow srcip 192.168.1.23 dstip 172.16.1.100 proto tcp 
5.5.7 
nat 
 
nat 
nat <interface> [-alias_address <addr>] 
                [-unregistered_only yes|no] 
                [-same_ports yes|no] 
                [-status] 
                [-disable] 
                [-enable] 
The nat command contains several command options to set up different functions of the NAT. 
 
COMMAND DESCRIPTION 
-alias_address     a.b.c.d 
      Address to use for aliasing 
-unregistered_only [yes|no] 
1800-A2-GB20-00 
                  
71