Nat Static - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2038
C
133: NAT C
C
HAPTER
ONFIGURATION
OMMANDS
[Sysname-vpn-instance] quit
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat server vpn-instance vrf10 protocol tcp globa
l 202.110.10.10 inside 10.110.10.11
# Specify a host with an IP address of 10.110.10.12 in VPN vrf10. An external host
pings 202.110.10.11 to examine the connectivity to the host.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat server vpn-instance vrf10 protocol icmp glob
al 202.110.10.11 inside 10.110.10.12
# Specify the external IP address as 202.110.10.10. Telnet the hosts which IP
addresses range from 10.110.10.1 to 10.110.10.100 in MPLS VPN vrf10 through
the ports ranging from 1001 to 1100, for example, telnet 10.110.10.1 from
202.110.10.10:1001, telnet 10.110.10.2 from 202.110.10.10:1002 and so on.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] nat server vpn-instance vrf10 protocol tcp globa
l 202.110.10.10 1001 1100 inside 10.110.10.1 10.110.10.100 telnet
# Remove the WWW server using the following commands.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] undo nat server protocol tcp global 202.110.10.1
0 8070 inside 10.110.10.10 www
# Remove the FTP server in VPN vrf10 using the following commands.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] undo nat server vpn-instance vrf10 protocol tcp
global 202.110.10.11 8070 inside 10.110.10.11 ftp

nat static

Syntax
nat static { ip-address1 ip-address2 | net-to-net start-ip end-ip global
global-net-address { mask | mask-length } }
undo nat static { ip-address1 ip-address2 | net-to-net start-ip end-ip global
global-net-address { mask | mask-length } }
View
System view
Parameter
ip-address1: Internal IP address.
ip-address2: External IP address.
net-to-net: Specifies static translation for network segment mapping.
start-ip: Start address of an internal IP address range.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents