Implementing Carrier Grade NAT on Cisco IOS XR Software
Command or Action
Step 3
service cgn instance-name service-type nat44
Example:
RP/0/RP0/CPU0:router(config-if)#
service cgn cgn1
Step 4
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-if)# vrf
insidevrf1
Step 5
end or commit
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
RP/0/RP0/CPU0:router(config-if)# commit
Configuring the Service Type Keyword Definition
Perform this task to configure the service type key definition.
SUMMARY STEPS
1. configure
2. service cgn instance-name
3. service-type nat44 nat1
4. end or commit
OL-32659-01
Purpose
Configures the instance named cgn1 for the CGN application and enters
CGN configuration mode.
Configures the VPN routing and forwarding (VRF) for the Service
Application interface
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 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.
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
Getting Started with the Carrier Grade NAT
27