PurposeCommand or Action
Configures the inside VRF for the CGN instance
named cgn1 and enters CGN inside VRF configuration
mode.
inside-vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-cgn)# inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 4
Configures the external-logging facility for the NAT44
or DS-Lite instance.
external-logging netflowv9 or external-loging netflow9
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# external-logging
netflowv9
Step 5
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog)#
or
RP/0/RP0/CPU0:router(config-cgn)# external-logging
netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)#
Configures the logging server information for the IPv4
address and port for the server that is used for the
netflow-v9 based external-logging facility.
server
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog)# server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
Step 6
or
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)#
Configures the session logging for a NAT44 or
DS-Lite instance.
session-logging
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
session-logging
Step 7
or
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)#
session-logging
Saves configuration changes.end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
end
Step 8
•
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-af-extlog-server)#
commit
[cancel]:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)#
◦
Entering yes saves configuration changes
to the running configuration file, exits the
end
or
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)#
commit
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
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
64 OL-32659-01
Implementing Carrier Grade NAT on Cisco IOS XR Software
Configuring the Policy Functions for the Carrier Grade NAT