Cisco GRS Configuration Manual page 68

Ios xr carrier grade nat configuration
Table of Contents

Advertisement

Configuring the Policy Functions for the Carrier Grade NAT
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type nat44 nat1
Step 4
inside-vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-cgn)# inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 5
external-logging netflowv9
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# external-logging
netflowv9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog)#
Step 6
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 7
address address port number
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
address 2.3.4.5 port 45
Step 8
end or commit
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
end
or
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog-server)#
commit
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
58
Implementing Carrier Grade NAT on Cisco IOS XR Software
Purpose
Enters global configuration mode.
Configures the instance named cgn1 for the CGN
application and enters CGN configuration mode.
Configures the service type keyword definition for
NAT44 application.
Configures the inside VRF for the CGN instance
named cgn1 and enters CGN inside VRF configuration
mode.
Configures the external-logging facility for the CGN
instance named cgn1 and enters CGN inside VRF
address family external logging configuration mode.
Configures the logging server information for the IPv4
address and port for the server that is used for the
netflowv9-based external-logging facility and enters
CGN inside VRF address family external logging
server configuration mode.
Configures the IPv4 address and port number 45 to
log Netflow entries for the NAT table.
Saves configuration changes.
• 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
OL-32659-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs

Table of Contents