PurposeCommand or Action
Configures the service type keyword definition for CGN NAT44
application.
service-type nat44nat1
Example:
RP/0/RP0/CPU0:router(config-cgn)#
service-type nat44 nat1
Step 3
Configures an inside VRF named insidevrf1 and enters CGN inside
VRF configuration mode.
inside-vrf insidevrf1
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 4
Configures an inside VRF to an outside VRF and address pool
mapping.
map address-pool address/prefix
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# map
address-pool 100.1.0.0/16
Step 5
Saves configuration changes.end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
end
Step 6
•
When you issue the end command, the system prompts you
to commit changes:
Uncommitted changes found, commit them before exiting
(yes/no/cancel)?
or
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
commit
[cancel]:
◦
Entering yes saves configuration changes to the running
configuration file, exits the configuration session, and
returns the router to EXEC mode.
◦
Entering no exits the configuration session and returns
the router to EXEC mode without committing the
configuration changes.
◦
Entering cancel leaves the router in the current
configuration session without exiting or committing the
configuration changes.
•
Use the commit command to save the configuration changes
to the running configuration file and remain within the
configuration session.
Enters global configuration mode.configure
Example:
RP/0/RP0/CPU0:router# configure
Step 7
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
OL-32659-01 53
Implementing Carrier Grade NAT on Cisco IOS XR Software
Configuring the Policy Functions for the Carrier Grade NAT