Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 11 NAT Configuration Commands
3Com Corporation
11-13
The interface on which this command is configured is interconnected with ISP and
serves as the gateway of the internal network.
Example
# Specify the IP address of the interior www server of the LAN as 10.110.10.10, the IP
address of the interior ftp server as 10.110.10.11. It is expected that the outside can
access WEB through http:// 202.110.10.10:8080 and connect FTP web site through
ftp://202.110.10.10. Suppose that Serial0/0/0 is connected to ISP.
[3Com-Serial0/0/0] nat server protocol tcp global 202.110.10.10 8080 inside
10.110.10.10 www
[3Com] ip vpn-instance vrf10
[3Com-vpn-instance] route-distinguisher 100:001
[3Com-Serial0/0/0] nat server protocol tcp global 202.110.10.10 inside
10.110.10.11 ftp
# Specify one interior host 10.110.10.12, expecting that the host of the exterior network
can ping it with ping 202.110.10.11 command.
[3Com-Serial0/0/0] nat server protocol icmp global 202.110.10.11 inside
10.110.10.12
# Delete the www server.
[3Com-Serial0/0/0] undo nat server protocol tcp global 202.110.10.10 8070
inside 10.110.10.10 www
# By the command below, the internal ftp server of VPN vrf10 can be removed.
[3Com-Serial0/0/0] undo nat server protocol tcp global 202.110.10.11 8070
inside 10.110.10.11 ftp
# Specify an outside address as 202.110.10.10, and map the ports ranging from 1001
to 1100 to the addresses of 10.110.10.1 to 10.110.10.100 respectively to access ftp
service inside VPN vrf10. 202.110.10.10:1001 accesses 10.110.10.1 and
202.110.10:1002 accesses 10.110.10.2, etc.
[3Com-Serial0/0/0] nat server protocol tcp global 202.110.10.10 1001 1100
inside 10.110.10.1 10.110.10.100 telnet
11.1.12 nat static
Syntax
nat static ip-addr1 ip-addr2
undo nat static ip-addr1 ip-addr2
View
System view










