DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure
Example:
RP/0/RP0/CPU0:router# configure
Step 1
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
service cgn instance-name
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 2
Configures the service type keyword definition for
CGv6 Stateful NAT64 application.
service-type nat64 stateful instance-name
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type nat64
stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)#
Step 3
Configures a value to restrict the number of ports used
by an IPv6 address.
portlimit value
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)#portlimit
66
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 4
Saves configuration changes.end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)# end
or
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)# commit
Step 5
•
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
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
OL-32659-01 31
Implementing Carrier Grade NAT on Cisco IOS XR Software
Configuring the Policy Functions for the Carrier Grade NAT