Zhone 1813 Guia Do Utilizador

Página de 135
Command Line Interface User’s Guide 
5.6.1 
natif 
natif [enable/disable/list] -o ifname 
The natif command enables or disables the dynamic NAPT for the WAN interface (e.g., atm0, 
ppp0, mero…), or displays the interface status. 
 
EXAMPLE 
natif enable -o mer0 
enables NAPT for mero. 
natif disable –o atm0 
disables NAPT for atm0. 
natif list 
display the NAPT status of the interface.  
 
5.6.2 
links 
links 
This command displays the dynamic link table for NAPT. 
 
 
 
5.6.3 
nat 
The nat command contains several command options to set up different functions of the NAT. 
nat –o -unregistered_only 
nat –o -same_ports [yes|no] 
nat –o -alias_address x.x.x.x 
nat –o --ifa network_if_name 
nat –o --status [yes|no] 
nat –o --disable [yes|no] 
 
80                                                                                                                                                                      1800-A2-GB20-00