ESR series service routers.ESR-Series. User manual
Step Description Command Keys
2 Create a pool of IP addresses and/
or TCP/UDP ports with a specific
name (optional).
esr(config-snat)# pool
<NAME>
<NAME> – NAT addresses pool
name, set by the string of up to 31
characters.
3 Set the range of IP addresses which
will replace a source IP address.
esr(config-snat-pool)# ip
address-range <IP>[-<ENDIP>]
<IP> – IP address of the beginning of
the range, defined as
AAA.BBB.CCC.DDD where each part
takes values of [0..255];
<ENDIP> – IP address of the end of
the range, defined as
AAA.BBB.CCC.DDD where each part
takes values of [0..255]. If IP address
of the end of the range is not
specified, only IP address of the
beginning of the range is used as IP
address for translation.
4 Specify the range of external TCP/
UDP ports which will replace a
source TCP/UDP port.
esr(config-snat-pool)# ip port-
range <PORT>[-<ENDPORT>]
<PORT> – TCP/UDP port of the
beginning of range, takes values of
[1..65535];
<ENDPORT> – TCP/UDP port of the
end of range, takes values of
[1..65535]. If TCP/UDP port of the
end of the range is not specified,
only TCP/UDP port of the beginning
of the range is used as TCP/UDP
port for translation.
5 Set external TCP/UDP port which
will replace a source TCP/UDP port.
esr(config-snat-pool)# ip port
<PORT>
<PORT> – TCP/UDP port, takes
values of [1..65535].
6 Enable NAT persistent functions. esr(config-snat-pool)#
persistent
7 Create a rule group with a specific
name.
esr(config-snat)# ruleset
<NAME>
<NAME> – rule group name, set by
the string of up to 31 characters.
8 Specify VRF instance, in which the
given rule group will operate
(optionally).
esr(config-snat-ruleset)# ip
vrf forwarding <VRF>
<VRF> – VRF name, set by the string
of up to 31 characters.