3com MSR 20-20 참조 매뉴얼
2035
# Configure the address pool.
[Sysname] nat address-group 1 1.10.10.1 1.10.10.20
# Enable NAT. Use the IP addresses from address pool 1 while dealing with
TCP/UDP port information.
TCP/UDP port information.
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat outbound 2001 address-group 1
# If you do not deal with the TCP/UDP port information, do the following:
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat outbound 2001 address-group 1 no-pat
# To use the IP address of the Serial 1/0 interface for address translation, do the
following:
following:
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat outbound 2001
nat outbound static
Syntax
nat outbound static
undo nat outbound static
View
Interface view
Parameter
None
Description
Use the nat outbound static command to enable on an interface the
one-to-one (static) NAT configured with the nat static command.
one-to-one (static) NAT configured with the nat static command.
Use the undo nat outbound static command to cancel the one-to-one (static)
NAT on the interface.
NAT on the interface.
Example
# Configure one-to-one NAT and enable this NAT on interface Serial 2/0.
<Sysname> system-view
[Sysname] nat static 192.168.1.1 2.2.2.2
[Sysname] serial 1/0
[Sysname-Serial1/0] nat outbound static
nat server
Syntax
nat server [ vpn-instance vpn-instance-name ] protocol pro-type global
{ global-address | interface { interface-type interface-number } | current-interface }
global-port1 global-port2 inside host-address1 host-address2 host-port
{ global-address | interface { interface-type interface-number } | current-interface }
global-port1 global-port2 inside host-address1 host-address2 host-port