Configuring The Dynamic Port Ranges For Nat44 - Cisco GRS Configuration Manual

Ios xr carrier grade nat configuration
Table of Contents

Advertisement

Configuring the Policy Functions for the Carrier Grade NAT

Configuring the Dynamic Port Ranges for NAT44

Perform this task to configure dynamic port ranges for TCP, UDP, and ICMP ports. The default value range
of 0 to 1023 is preserved and not used for dynamic translations. Therefore, if the value of dynamic port range
start is not configured explicitly, the dynamic port range value starts at 1024.
SUMMARY STEPS
1. configure
2. service cgn instance-name
3. service-type nat44 nat1
4. dynamic port range start value
5. end or commit
6.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type nat44
nat1
Step 4
dynamic port range start value
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)# dynamic port
range start 666
Step 5
end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-inside)#
end
or
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-inside)#
commit
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
46
Implementing Carrier Grade NAT on Cisco IOS XR Software
Purpose
Enters global configuration mode.
Configures the instance named cgn1 for the CGN
application and enters CGN configuration mode.
Configures the service type keyword definition for NAT44
application.
Configures the value of dynamic port range start for a CGN
NAT 44 instance. The value can range from 1 to 65535.
The default value is 1024.
Saves configuration changes.
• When you issue the end command, the system
prompts you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
◦ Entering yes saves configuration changes to the
running configuration file, exits the
OL-32659-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs

Table of Contents