SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
pcp-server
5.
port port-number
6.
end or commit
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 CGN application and
enters CGN 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 CGN NAT44
application.
service-type nat44 nat1
Example:
RP/0/RP0/CPU0:router(config-cgn)#
service-type nat44 nat1
Step 3
Configures the PCP server for a NAT44 instance.pcp-server
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
pcp-serevr
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 4
Configures the port number of the PCP server. The range is from 1 to
65535. The default port is 5351.
port port-number
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
port 66
Step 5
Saves configuration changes.end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
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)#
commit
[cancel]:
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
OL-32659-01 83
Implementing Carrier Grade NAT on Cisco IOS XR Software
Configuring PCP Server for DS-Lite Instance