PurposeCommand or Action
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
Specifies the global command applied per cgn
instance. It initiates the particular instance of the cgn
application on the active and standby locations.
service-location preferred-active node-id [preferred-standby
node-id]
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-location
preferred-active 0/2/CPU0 preferred-standby 0/4/CPU0
Step 3
Configures the service type keyword definition for
the DS LITE application.
service-type ds-lite instance
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite
dsl1
Step 4
Configures the service type keyword definition for
the DS LITE application.
portlimit value
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite
dsl1
Step 5
Enables bulk port allocation and sets bulk size that is
used to reduce logging data volume.
bulk-port-alloc size value
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
bulk-port-alloc size 128
Step 6
Specifies the address pool for the DS LITE instance.map address-pool address
Step 7
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# map
address-pool 52.52.52.0/24
52.52.52.0/24 is the IPv4 public address pool
assigned to the DS Lite instance.
Note
Specifies the IPv6 address of the tunnel end point.
The IPv4 elements must address their IPV6 packets
to this address.
aftr-tunnel-endpoint-address <address>
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
aftr-tunnel-endpoint address 3001:DB8:EOE:E01::
Step 8
Enters the address family IPv4 configuration mode.address-family ipv4
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# address-family
ipv4
Step 9
Specifies the ServiceApp on which IPv4 traffic enters
and leaves.
interface ServiceApp41
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-afi)# interface
ServiceApp41
Step 10
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
78 OL-32659-01
Implementing Carrier Grade NAT on Cisco IOS XR Software
Configuring Dual Stack Lite Instance