Zhone 5100 参照マニュアル

ページ / 186
Network Address Translation (NAT) commands
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
95
Adding a NAT static mapping
You can add a static IP NAT entry by issuing the set nat add static_mapping command. The 
entry is stored in a NAT table. 
Syntax: set nat add static_mapping <inside_ip> <outside_ip>
Arguments:
inside_ip
the IP address of the inside gateway
outside_ip
the external IP address
Example:
In this example, the inside IP address of a web server (see Figure 3-1 on page 54) of 10.10.10.2  
and an outside IP address of 205.176.94.14 are mapped.
Deleting a static mapping
You can delete a static IP NAT by issuing the set nat delete static_mapping command.
Syntax: set nat delete static_mapping <inside_ip> <outside_ip>
Arguments:
inside_ip
the IP address of the inside gateway
outside_ip
the external IP address
Example:
In this example, the static map entry from 10.10.10.3 to 205.176.94.11 is deleted from the 
mapping table.
VPacket# set nat add static_mapping 10.10.10.2 205.176.94.14
Nat Static Map Added
VPacket#
VPacket# set nat delete static_mapping 10.10.10.3 205.176.94.14
Nat Static Map Deleted
VPacket#