ICMP Query Session Timeout Implementing NAT with TCP Address and Port Mapping Behavior Internally Initiated Connections Externally Initiated Connections Implementing NAT 44 over ISM Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 4
Configuring the Infrastructure Service Virtual Interface Configuring the Application Service Virtual Interface Configuring the Service Type Keyword Definition Configuring an Inside and Outside Address Pool Map Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 5
Line Card Upgrade UPGRADE FROM_ UBOOT to 559 & MANS FPGA to 0.41014 Configuring IPv6 Rapid Development Ping to BR Anycast Address Enable Additional 6rd Features Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 6
External Logging C H A P T E R 3 Bulk Port Allocation Restrictions for Bulk Port Allocation Session logging Syslog Logging Restrictions for Syslog Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 7
Contents Syslog Message Format Header Structured Data Netflow v9 Support NetFlow Record Format Frequently Asked Questions (FAQs) Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 8
Contents Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x viii OL-32659-01...
Subscribe to What's New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation, as an RSS feed and deliver content directly to your desktop using a reader application. The RSS feeds are a free service.
Page 10
Preface Obtaining Documentation and Submitting a Service Request Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
New and Changed Carrier Grade NAT Feature Information This table summarizes the new and changed information for the Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, and tells you where the features are documented. •...
C H A P T E R Implementing Carrier Grade NAT on Cisco IOS XR Software This chapter provides an overview of the implementation of Carrier Grade NAT on Cisco IOS XR Software. • Carrier Grade NAT Overview and Benefits, page 3 •...
Network address and port mapping can be reused to map new sessions to external endpoints after establishing a first mapping between an internal address and port to an external address. These NAT mapping definitions are defined from RFC 4787: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Note The CGN service package was termed as hfr-cgn-p.pie or hfr-cgn-px.pie for releases prior to Cisco IOS XR Software Release 4.2.0. The CGN service package is referred as hfr-services-p.pie or hfr-services-px.pie in Cisco IOS XR Software Release 4.2.0 and later.
AAA administrator for assistance. CGSE PLIM A Carrier-Grade Services Engine (CGSE) is a physical line interface module (PLIM) for the Cisco CRS-1 Router. When the CGSE is attached to a single CRS modular service card (forwarding engine), it provides the hardware system running applications such as NAT44, XLAT, Stateful NAT64 and DS-Lite.
It also supports services redundancy and QoS for service applications. CGSE Plus is brought up in two modes: • CGN mode — The Cisco IOS XR and Linux software are tuned to host CGN applications such as NAT44 and 6RD.
Implementing NAT 44 over ISM These sections provide the information about implementation of NAT. The following figure illustrates the implementation of NAT 44 over ISM Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 19
The following figure illustrates the path of the data packet from a private network to a public network in a NAT implementation. The packet goes through the following steps when it travels from the private network to the public network: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 20
The following figure illustrates the path of the packet coming from the public network to the private network. The packet goes through the following steps when it travels from the public network to the private network: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
This section explains how NAT64 is implemented over ISM. The figure illustrates the implementation of NAT64 over ISM. The components of this implementation are as follows: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 22
The private address has to be mapped to the public address by NAT64 that is implemented in ISM. 2 The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 3. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 23
NAT64 that is implemented in ISM. 2 The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 3. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
IPv4-only endpoint that is situated in an IPv4-only network, to communicate with an IPv6-only end-point that is situated in an IPv6-only network. This like-to-unlike address family connectivity paradigm provides backwards compatibility between IPv6 and IPv4. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
A Stateless XLAT (SL-XLAT) does not create or maintain any per-session or per-flow data structures. It is an algorithmic operation performed on the IP packet headers that results in the translation of an IPv4 packet to an IPv6 packet, and vice-versa. SL-XLAT requires Cisco IOS XR Software Release 3.9.3 or 4.0.1 or 4.1.0 or later.
CGN supports the Real Time Streaming Protocol (RTSP), an application-level protocol for control over the delivery of data with real-time properties. RTSP provides an extensible framework to enable controlled, Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
CGSEs are reloaded together or the router is reloaded. There are remote chances that after a reboot, this association might change. This feature helps in cases where server applications running on the private network needs access from public internet. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
From this release onwards, you can create multiple pools of address for each inside VRF. This configuration currently supports 8 address pools that do not overlap with each other. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Hence it becomes very important to measure the throughput for a service card. From this release onwards, the Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
• In the current release, the high availability configuration is supported only for V4 and V6 ServiceApps of 6rd application. • In case of a failure, the syslog message is generated irrespective of the shutdown of the SVI instance. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
In Cisco IOS XR Software Release 4.2.1 and later, the DS Lite and NAT44 features support Syslog as an alternative to Netflow. Syslog uses ASCII format and hence can be read by users. However, the log data volume is higher in Syslog than Netflow.
Implementing Carrier Grade NAT on Cisco IOS XR Software Implementing Carrier Grade NAT on Cisco IOS XR Software This chapter provides an overview of the implementation of Carrier Grade NAT on Cisco IOS XR Software. Getting Started with the Carrier Grade NAT Perform these tasks to get started with the CGN configuration tasks.
Do not remove or modify service infra interface configuration when the card is in Active state. The Note configuration is service affecting and the line card must be reloaded for the changes to take effect. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 35
EXEC mode. ◦ Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Perform this task to configure the service type key definition. SUMMARY STEPS 1. configure 2. service cgn instance-name 3. service-type nat44 nat1 4. end or commit Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Perform this task to configure an inside and outside address pool map with the following scenarios: • The designated address pool is used for CNAT. • One inside VRF is mapped to only one outside VRF. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 39
[outside-vrf outside-vrf-name] address-pool Configures an inside VRF to an outside VRF and address pool address/prefix mapping. Example: RP/0/RP0/CPU0:router(config-cgn-invrf)# map outside-vrf outside vrf1 address-pool 10.10.0.0/16 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Perform this task to restrict the number of ports used by an IPv6 address. SUMMARY STEPS 1. configure 2. service cgn instance-name 3. service-type nat64 stateful instance-name 4. portlimit value 5. end or commit Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 41
◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. • Use the commit command to save the configuration changes to the running Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configuring the Timeout Value for the TCP Session Perform this task to configure the timeout value for either the active or initial sessions for TCP. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 44
• When you issue the end command, the system prompts you to Example: commit changes: RP/0/RP0/CPU0:router(config-cgn-proto)# Uncommitted changes found, commit them before exiting (yes/no/cancel)? RP/0/RP0/CPU0:router(config-cgn-proto)# commit [cancel]: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Step 2 service cgn instance-name Configures the instance named cgn1 for the CGN application and enters CGN configuration mode. Example: RP/0/RP0/CPU0:router(config)# service cgn cgn1 RP/0/RP0/CPU0:router(config-cgn)# Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configuring the FTP ALG for NAT44 Instance Perform this task to configure the FTP ALG for the specified NAT44 instance. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 47
EXEC mode. ◦ Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configuring the PPTP ALG for a NAT44 Instance SUMMARY STEPS 1. configure 2. service cgn instance-name 3. service-type nat44 nat1 4. alg pptpAlg 5. end or commit Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 50
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Perform this task to configure the NAT mapping refresh direction as outbound for TCP and UDP traffic. SUMMARY STEPS 1. configure 2. service cgn instance-name 3. service-type nat44 nat1 4. refresh-direction Outbound 5. end or commit Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 53
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configures the inside VRF for the CGN instance named cgn1 and enters CGN inside VRF configuration mode. Example: RP/0/RP0/CPU0:router(config-cgn-nat44)# inside-vrf insidevrf1 RP/0/RP0/CPU0:router(config-cgn-invrf)# Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 55
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configuring Multiple Public Address Pools Perform the following steps to configure multiple public address pools for an inside VRF. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 59
• When you issue the end command, the system prompts you Example: to commit changes: RP/0/RP0/CPU0:router(config-cgn-invrf-afi)# Uncommitted changes found, commit them before exiting (yes/no/cancel)? Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
5. inside-vrf vrf-name 6. portlimit value 7. end or commit DETAILED STEPS Command or Action Purpose Step 1 configure Enters global configuration mode. Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 61
EXEC mode without committing the configuration changes. ◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Step 2 service cgn cgn1 Configures the instance named cgn1 for the CGN application and enters CGN configuration mode. Example: RP/0/RP0/CPU0:router(config)# service cgn cgn1 RP/0/RP0/CPU0:router(config-cgn)# Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 63
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Step 7 configure Enters global configuration mode. Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 64
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
[cancel]: ◦ Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 66
Specifies the ServiceApp on which IPv6 traffic enters and leaves. Example: RP/0/RP0/CPU0:router(config-cgn-6rd)# datapath-test Step 11 end or commit Saves configuration changes. Example: RP/0/RP0/CPU0:router(config-cgn-tunnel-v6rd)# Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
6. server 7. path-mtu value 8. end or commit DETAILED STEPS Command or Action Purpose Step 1 configure Enters global configuration mode. Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 70
EXEC mode. ◦ Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Step 2 service cgn instance-name Configures the instance named cgn1 for the CGN application and enters CGN configuration mode. Example: RP/0/RP0/CPU0:router(config)# service cgn cgn1 RP/0/RP0/CPU0:router(config-cgn)# Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 72
EXEC mode without committing the configuration changes. ◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configures the service type keyword definition for NAT44 or DS-Lite application. Example: RP/0/RP0/CPU0:router(config-cgn)# service-type nat44 nat1 RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite ds-lite1 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 74
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 OL-32659-01...
RP/0/RP0/CPU0:router(config)# service cgn cgn1 RP/0/RP0/CPU0:router(config-cgn)# Step 3 Configures the service type keyword definition for service-type nat44 nat1 NAT44 application. Example: RP/0/RP0/CPU0:router(config-cgn)# service-type nat44 nat1 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 76
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
0.559 fpga3 0.559 fpga4 0.559 fpga5 0.559 fpga1 0.41014 rommonA 0 1.52 rommon 1.52 Latest uboot version is 559 & MANS is 0.41 Note Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 78
You need to reload the card. It takes about 15minutes. router# hw-module location 0/0/CPU0 reload WARNING: This will take the requested node out of service. Do you wish to continue?[confirm(y/n)] y Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
◦ This value can be overridden based on the configured Traffic Class value • IPv4 DF override ◦ When translating a IPv6 packet when the no Fragment Header IPv4 DF bit is set to 1. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Plim moved to uboot-mode and ready for UBOOT upgrade Step 4 Go to admin mode on the node and upgrade the FPGA MANS. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
• Configure 6rd instance (string “6rd1” in this example). There can be 64 6rd instances per CGSE/Chassis. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
This default behavior MAY be overridden by above configuration. ◦ tos value is in decimal service cgn demo service-type tunnel v6rd 6rd1 tos 160 ttl 100 commit Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 86
◦ Basic Transition Mechanisms for IPv6 Hosts and Routers", RFC 4213, October 2005. • "An Anycast Prefix for 6to4 Relay Routers", RFC 3068, June 2001. • “Security Considerations for 6to4", RFC 3964, December 2004. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
21. address A.B.C.D port port-number 22. end or commit DETAILED STEPS Command or Action Purpose Step 1 Enters global configuration mode. configure Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 88
Enters the address family IPv4 configuration mode. Example: RP/0/RP0/CPU0:router(config-cgn-ds-lite)# address-family ipv4 Step 10 Specifies the ServiceApp on which IPv4 traffic enters interface ServiceApp41 and leaves. Example: RP/0/RP0/CPU0:router(config-cgn-ds-lite-afi)# interface ServiceApp41 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 89
Configures the netflow server address and port number to use for netflow version 9 based external logging facility for DS LITE instance. Example: RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# address 90.1.1.1 port 99 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 90
• Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Configuring PCP Server for DS-Lite Instance Perform this task to configure PCP server for a DS-Lite instance: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 93
• When you issue the end command, the system prompts you to Example: commit changes: RP/0/RP0/CPU0:router(config-cgn-invrf)# Uncommitted changes found, commit them before exiting (yes/no/cancel)? 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...
This example shows how to configure the predefined NAT for NAT44: service cgn cgn1 service-location preferred-active 0/2/CPU0 service-type nat44 nat1 inside-vrf Inside_1 map address-pool 192.12.0.0/24 nat-mode predefined private-pool 192.1.106.0/24 Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
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 OL-32659-01...
100.1.1.0/24 High Availability on data Path SVI: Example service cgn cgn1 service-type tunnel v6rd 6rd1 address-family ipv4 interface ServiceApp 100 datapath-test shut-down-on-failure Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 104
Implementing Carrier Grade NAT on Cisco IOS XR Software High Availability on data Path SVI: Example Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
• The value for the size of bulk allocation can be 16, 32, 64, 128, 256, 512, 1024, 2048 and 4096. For optimum results, it is recommended that you set this size to half of the port limit. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
In general, the syslog message is made up of header, structured data, and msg fields. However, in the CGv6 applications, the structured data is not used. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
• This field identifies the type of the syslog message. • In the ASCII format, the values for NAT44 and DS Lite messages are NAT44 and DS LITE respectively. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
• UserbasedW: User-based port withdrawal • SessionbasedW: Session-based port withdrawal • SessionbasedWD: Session-based port withdrawal with destination information • Portblockrunout: Ports exhausted Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 109
Let us look at an example for NAT444 user-based UDP port translation mapping: [UserbasedA - 10.0.0.1 Broadband - 100.1.1.1 - 2048 3071 - -] The description for this example is as follows: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
All the fields of the header follow the format prescribed in RFC 3954. The source ID field is composed of the IPv4 address of ServiceInfra interface (of the card) and specific CPU-core that is generating the record. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 111
0. For more information on Options template, see RFC3954. Events The events and the corresponding template details are described in the following table: Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 112
N APTSourceT ransport P ort Post ( t r a n s l a t e d ) source port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 113
D e s t i n a t i o n address destinationTransportPort D e s t i n a t i o n port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 114
TPortBlockStart Start Post ( t r a n s l a t e d ) source port block postNATPortBlockEnd Post source port block Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 115
( t r a n s l a t e d ) source port destinationTransportPort D e s t i n a t i o n port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 116
( t r a n s l a t e d ) source port block. Note this is defined IANA yet. DS-Lite Disabled Disabled ingressVRFID ID of translation create Ingress event egressVRFID ID of Egress Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 117
Original source port post N APTSourceT ransport P ort Post ( t r a n s l a t e d ) source port Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 118
D e s t i n a t i o n address destinationTransportPort D e s t i n a t i o n port protocolIdentifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 119
- l o g g i n g enabled. Else, it will reported as 0 sourceIPv6Address IPv6 address of the element (Tunnel source) Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 120
TPortBlockStart Start Post ( t r a n s l a t e d ) source port block postNATPortBlockEnd Post source port block Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 121
Ingress event sourceIPv4Address Original source IPV4 address sourceIPv6Address IPv6 address of the element (Tunnel source) sourceTransportPort Original source port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 122
(with sourceIPv4Address Original destination) source IPV4 address sourceIPv6Address IPv6 address of the element (Tunnel source) sourceTransportPort Original source port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 123
N APTSourceT ransport P ort Post ( t r a n s l a t e d ) source port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 124
( t r a n s l a t e d ) source port destinationTransportPort D e s t i n a t i o n port protocolIdentifier protocol identifier Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
This section provides answers to the following frequently asked questions on external logging. Q: How to trace a subscriber by using the NAT logs? Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 126
Hence, bulk port allocation significantly reduces log data volume and hence the demand on storage space needed for the translation logs. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Page 127
IP address to public IP address and a certain port range by using an algorithm. Hence there is no need to keep track of NAT entries. Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x OL-32659-01...
Need help?
Do you have a question about the GRS and is the answer not in the manual?
Questions and answers