inside-vrf ivrf
pcp-server address 10.25.1256.34 port 66
DS-Lite Instance
service cgn cgn1
service-type ds-lite ds-lite-inst
pcp-server port 66
Services Redundancy Configuation (Active/Standby): Example
Active Configuration
conf t
interface ServiceInfra 1
service-location 0/1/CPU0
ipv4 address 50.1.1.1/24
exit
hw-module service cgn location 0/1/CPU0
commit
exit
Stand By Configuration
conf t
interface ServiceInfra 2
service-location 0/2/CPU0
ipv4 address 100.1.1.1/24
exit
hw-module service cgn location 0/2/CPU0
commit
exit
conf t
service cgn cgn1
service-location preferred-active 0/1/CPU0 preferred-standby 0/2/CPU0
commit
exit
Configuration of Multiple Address Pools: Example
In the following example, 2 address pools are being configured for the same inside VRF.
service cgn cgn1
service-type nat44 nat1
inside-vrf insidevrf1
map address-pool 100.1.1.0/24
map address-pool 100.1.2.0/24
Configuration of Port Limit per VRF: Example
In the following example the portlimit value 40 overrides the portlimit value 200.
service cgn cgn1
service-location preferred-active 0/3/CPU0
service-type nat44 nat44
portlimit 100
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
92 OL-32659-01
Implementing Carrier Grade NAT on Cisco IOS XR Software
Services Redundancy Configuation (Active/Standby): Example