Cisco ASR 9000 Series Aggregation
Services Router Carrier Grade IPv6 (CGv6)
Configuration Guide
Cisco IOS XR Software Release 4.3.x
Cisco Systems, Inc.
www.cisco.com
Cisco has more than 200 offices worldwide.
Addresses, phone numbers, and fax numbers
are listed on the Cisco website at
www.cisco.com/go/offices.
Customer Order Number: OL-28376-02
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public
domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this
URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the
document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
© 2013 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface
CGC-v
Changes to This Document
CGC-v
Obtaining Documentation and Submitting a Service Request
CGC-v
New and Changed Information in Cisco IOS XR Release 4.3.x
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Contents
CGC-1
CGC-3
CGC-3
CGv6 Overview and Benefits CGC-4
CGv6 Overview CGC-4
Benefits of CGv6 CGC-5
Prerequisites for Implementing the CGv6
CGC-5
Cisco Integrated Service Module CGC-5
Solution Components CGC-5
Support for Multiple ISM Line Cards CGC-6
CGN as Default Application on ISM CGC-6
Information About CGv6 CGC-7
Implementing NAT with ICMP CGC-7
Implementing NAT with TCP CGC-8
Double NAT 444 CGC-8
Address Family Translation CGC-8
CGv6 Applications CGC-9
Policy Functions CGC-15
High Availability CGC-16
External Logging CGC-17
Configuring CGv6 on Cisco IOS XR Software CGC-18
Installing Carrier Grade IPv6 on ISM CGC-18
Configuring the Service Role for the Carrier Grade IPv6 CGC-22
Configuring the Service Instance and Location for the Carrier Grade IPv6 CGC-23
Configuring the Infrastructure Service Virtual Interface for the Carrier Grade IPv6 CGC-24
Configuring Different CGv6 Applications on ISM CGC-26
Configuring NAT44 on ISM CGC-26
Configuring DS-Lite on ISM CGC-69
Configuring Stateful NAT64 on ISM CGC-106
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
iii
Contents
Configuring MAP-T on ISM CGC-150
Configuring 6RD on ISM CGC-170
Configuring MAP-E on ISM CGC-190
Configuring High Availability on ISM CGC-207
Configuring Active or Standby ISM CGC-207
Enabling Failure Detection CGC-209
Configuration Examples for Implementing CGv6 CGC-211
Configuring a Different Inside VRF Map to a Different Outside VRF for NAT44: Example
NAT44 Configuration: Example CGC-212
DS Lite Configuration: Example CGC-214
Stateful NAT64 Configuration: Example CGC-215
MAP-T Configuration: Example CGC-218
DBL Configuration: Example CGC-219
Services Redundancy Configuation (Active/Standby ISM): Example CGC-219
6RD Configuration: Example CGC-220
MAP-E Configuration: Example CGC-221
PPTP ALG Configuration: Example CGC-222
CGC-211
Additional References CGC-223
Related Documents CGC-223
Standards CGC-223
MIBs CGC-223
RFCs CGC-223
Technical Assistance CGC-224
Index
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
iv
OL-28376-02
Preface
The Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration
Guide preface contains the following sections:
•
Changes to This Document, page 1
•
Obtaining Documentation and Submitting a Service Request, page 1
Changes to This Document
Table 1 lists the technical changes made to this document since it was first printed.
Table 1
Changes to This Document
Revision
Date
Change Summary
OL-28376-02
September 2013
Re-published with documentation updates for Cisco IOS XR
Release 4.3.2 features.
OL-28376-02
May 2013
Re-published with documentation updates for Cisco IOS XR
Release 4.3.1 features.
OL-28376-01
December 2012
Initial release of this document.
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional
information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and
revised Cisco technical documentation, at:
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed
and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free
service and Cisco currently supports RSS version 2.0.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
2
OL-28376-02
New and Changed Information in Cisco IOS XR
Release 4.3.x
This table summarizes the new and changed information for the Cisco ASR 9000 Series Aggregation
Services Router CGv6 Configuration Guide, and tells you where the features are documented.
For a complete list of new and changed features in Cisco IOS XR Software, Release 4.3.x, see the New
and Changed Features in Cisco IOS XR Software, Release 4.3.x for Cisco ASR 9000 Series Aggregation
Services Router document.
Table 1
New and Changed Features
Introduced/Changed
in Release
Feature
Description
Many-to-one
mapping limit
This feature was
introduced.
Release 4.3.2
Where Documented
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
Private-to-Public Address Mapping Limit
•
Configuring Many-to-One Mapping Limit for
NAT44 over ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the many-to-one mapping limit command.
IPv6 Rapid
Deployment (6RD)
This feature was
introduced.
Release 4.3.1
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
IPv6 Rapid Deployment
•
Configuring 6RD on ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure 6RD on
ISM.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1
Chapter
Table 1
New and Changed Information in Cisco IOS XR Release 4.3.x
New and Changed Features
Feature
Description
Mapping of Address
and
Port-Encapsulation
Mode (MAP-E)
This feature was
introduced.
Introduced/Changed
in Release
Release 4.3.1
Where Documented
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
Mapping of Address and Port-Encapsulation Mode
•
Configuring MAP-E on ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure MAP-E
on ISM.
This feature was
Point-to-Point
introduced.
Tunneling
Protocol-Application
Level Gateway
(PPTP-ALG)
Release 4.3.1
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
PPTP-ALG
•
Configuring PPTP ALG
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure
PPTP-ALG on NAT44.
Real-Time Streaming This feature was
Protocol-Application introduced.
Level Gateway
(RTSP-ALG)
Release 4.3.1
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
RTSP-ALG
•
Configuring RTSP ALG
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure
RTSP-ALG on Stateful NAT64.
Stateful NAT64
This feature was
introduced.
Release 4.3.0
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
Stateful NAT64
•
Configuring Stateful NAT64 on ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure Stateful
NAT64 on ISM.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
2
OL-28376-02
Chapter
New and Changed Information in Cisco IOS XR Release 4.3.x
Table 1
New and Changed Features
Introduced/Changed
in Release
Feature
Description
Mapping of Address
and Port-Translation
Mode (MAP-T)
This feature was
introduced.
Release 4.3.0
Where Documented
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
Mapping of Address and Port-Translation Mode
•
Configuring MAP-T on ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure MAP-T
on ISM.
High Availability
(HA)
This feature was
introduced.
Release 4.3.0
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
High Availability
•
Configuring High Availability on ISM
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to enable HA on ISM.
Destination-Based
Logging (DBL)
This feature was
introduced.
Release 4.3.0
Implementing the Carrier Grade IPv6 on Cisco IOS XR
Software chapter
•
Destination-Based Logging
•
Destination-Based Logging for NAT44
•
Destination-Based Logging for DS-Lite
Refer Carrier Grade NAT Commands on Cisco IOS XR
Software chapter in Cisco ASR 9000 Series Aggregation
Services Router CGv6 Command Reference for
information on the commands used to configure DBL on
ISM.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
3
Chapter
New and Changed Information in Cisco IOS XR Release 4.3.x
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
4
OL-28376-02
Implementing the Carrier Grade IPv6 on
Cisco IOS XR Software
This module describes how to implement the Carrier Grade IPv6 (CGv6) on Cisco IOS XR software.
Contents
•
CGv6 Overview and Benefits, page 4
•
Cisco Integrated Service Module, page 5
•
Information About CGv6, page 7
•
Configuring CGv6 on Cisco IOS XR Software, page 25
•
Configuring Different CGv6 Applications on ISM, page 34
•
Configuring High Availability on ISM, page 220
•
Configuration Examples for Implementing CGv6, page 224
•
Additional References, page 236
The following table lists changes made to the document.
Table 1
Feature History for Implementing CGv6 on ASR 9000 Router
Release
Modification
Release 4.2.0
Initial release of this document.
CGv6 applications such as CGN or NAT44 are supported.
Release 4.2.1
Release 4.2.3
These features were introduced:
•
DS-Lite.
•
Syslog and Bulk Port Allocation for NAT44 and DS-Lite.
Support for multiple ISM line cards.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
13
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
CGv6 Overview and Benefits
Table 1
Feature History for Implementing CGv6 on ASR 9000 Router
Release
Modification
Release 4.3.0
These features were introduced:
Release 4.3.1
Release 4.3.2
•
Stateful NAT64
•
Mapping of Address and Port-Translation Mode
•
High Availability
•
Destination-Based Logging
These features were introduced:
•
IPv6 Rapid Deployment
•
Mapping of Address and Port-Encapsulation Mode
•
Point-to-Point Tunneling Protocol-Application Level Gateway on
NAT44
•
Real-Time Streaming Proocol-Application Level Gateway on
Stateful NAT64
Support for limit to many-to-one address mapping for NAT44 was
introduced.
CGv6 Overview and Benefits
To implement the CGv6, you should understand the following concepts.
•
CGv6 Overview, page 4
•
Benefits of CGv6, page 5
•
Prerequisites for Implementing the CGv6, page 5
CGv6 Overview
Internet Protocol version 4 (IPv4) has reached exhaustion at the international level (IANA). But service
providers must maintain and continue to accelerate growth. Billions of new devices such as mobile
phones, portable multimedia devices, sensors, and controllers are demanding Internet connectivity at an
increasing rate. The Cisco Carrier Grade IPv6 Solution (CGv6) is designed to help address these
challenges. With Cisco CGv6, you can:
•
Preserve investments in IPv4 infrastructure, assets, and delivery models.
•
Prepare for the smooth, incremental transition to IPv6 services that are interoperable with IPv4.
•
Prosper through accelerated subscriber, device, and service growth that are enabled by the
efficiencies that IPv6 can deliver.
Cisco CGv6 extends the already wide array of IPv6 platforms, solutions, and services. Cisco CGv6 helps
you build a bridge to the future of the Internet with IPv6.
Cisco ASR 9000 Series Aggregation Services Router is part of the Cisco CGv6 solution portfolio and
therefore different CGv6 solutions or applications are implemented on this platform (specifically on ISM
service card).
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
14
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Cisco Integrated Service Module
Benefits of CGv6
CGv6 offers these benefits.
•
Enables service providers to execute orderly transitions to IPv6 through mixed IPv4 and IPv6
networks.
•
Provides address family translation but not limited to just translation within one address family.
•
Delivers a comprehensive solution suite for IP address management and IPv6 transition.
IPv4 Address Shortage
A fixed-size resource such as the 32-bit public IPv4 address space will run out in a few years. Therefore,
the IPv4 address shortage presents a significant and major challenge to all service providers who depend
on large blocks of public or private IPv4 addresses for provisioning and managing their customers.
Service providers cannot easily allocate sufficient public IPv4 address space to support new customers
that need to access the public IPv4 Internet.
Prerequisites for Implementing the CGv6
The following prerequisites are required to implement CGv6.
•
You must be running Cisco IOS XR software Release 4.2.0 and above.
•
You must have installed the CGv6 service package, asr9k-services-p.pie (to be used with RSP2) or
asr9k-services-px.pie (to be used with RSP3).
•
You must be in a user group associated with a task group that includes the proper task IDs. The
command reference guides include the task IDs required for each command.
Note
All the error conditions result in a syslog message. On observation of Heartbeat failure messages, contact
Cisco Technical Support with show tech-support services cgn information.
Note
If you suspect user group assignment is preventing you from using a command, contact your AAA
administrator for assistance.
Cisco Integrated Service Module
Cisco Integrated Service Module (ISM) is a physical line interface module (PLIM) that provides a highly
scalable modular services delivery platform for delivering multiple types of services. ISM is designed to
deliver flexible and highly scalable service integration that allows operational efficiency, service
flexibility, and faster time to market. The module offers the architectural advantages of integration with
the routing system.
Solution Components
These are the solution components of the Cisco Integrated Service Module (ISM).
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
15
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Cisco Integrated Service Module
•
ASR 9000 with IOS XR
– High-capacity, carrier-class SP platform with Cisco IOS XR Software
– Leverages XR infrastructure to divert packets to ISM
– Uniform, integrated configuration and management
•
Integrated Service Module
– Flexible Linux-based development & test environment
– Supports required CGv6
– First IPv6 Transition Strategy
•
Integrated Service Module
– Hardware•
CGv6 function residing on ISM
•
Intel x86 with 12 CPU cores
– Software-
•
•
IOS-XR on LC, Linux on Intel CPUs
•
Integrated configuration and management through Cisco IOS XR Software
Service Virtual Interface (SVI)
– Two types of Service Virtual Interfaces are used in ISM
•
ServiceInfra SVI
•
ServiceApp SVI
There can be only one ServiceInfra SVI per ISM Slot. This is used for the management plane and is
required to bring up ISM. This is of local significance within the chassis.
ServiceApp SVI is used to forward the data traffic to the Application. Scale of ISM 244 ServiceApp per
chassis is validated. These interfaces can be advertised in IGP/EGP.
Support for Multiple ISM Line Cards
Cisco IOS XR Software Release 4.2.3 and onwards supports a maximum of six ISM line cards in each
Cisco ASR 9000 Series Aggregation Services Router chassis. For applications such as NAT44 and
DS-Lite, the configuration can be independently applied to each ISM line card.
For NAT-44, a maximum of ten million sessions are supported by each ISM line card.
For DS-Lite, a maximum of twenty million sessions are supported by each ISM line card.
Note
No additional configuration is required to support multiple ISM line cards.
CGN as Default Application on ISM
ISM supports CGN as the default application.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
16
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Configuring CGN as Default Application on ISM
To configure CGN as the default application, perform these steps.
Step 1
Install CGN services.pie.
Step 2
Configure the CGN role using hw-module service cgn location <node_id> command.
Step 3
Load the CGN Linux image as the default image instead of CDS-IS.
Step 4
Reload ISM.
Information About CGv6
These sections provide the information about implementation of NAT using ICMP and TCP.
•
Implementing NAT with ICMP, page 7
•
Implementing NAT with TCP, page 8
•
Implementing NAT 44 over ISM, page 8
•
Implementing NAT 64 over ISM, page 11
•
Double NAT 444, page 14
•
Address Family Translation, page 16
•
CGv6 Applications, page 16
•
Policy Functions, page 22
•
High Availability, page 24
•
External Logging, page 25
Implementing NAT with ICMP
This section explains how the Network Address Translation (NAT) devices work in conjunction with
Internet Control Message Protocol (ICMP).
The implementations of NAT varies in terms of how they handle different traffic.
ICMP Query Session Timeout
RFC 5508 provides ICMP Query Session timeouts. A mapping timeout is maintained by NATs for ICMP
queries that traverse them. The ICMP Query Session timeout is the period during which a mapping will
stay active without packets traversing the NATs. The timeouts can be set as either Maximum Round Trip
Time (Maximum RTT) or Maximum Segment Lifetime (MSL). For the purpose of constraining the
maximum RTT, the Maximum Segment Lifetime (MSL) is considered a guideline to set packet lifetime.
If the ICMP NAT session timeout is set to a very large duration (240 seconds) it can tie up precious NAT
resources such as Query mappings and NAT Sessions for the whole duration. Also, if the timeout is set
to very low it can result in premature freeing of NAT resources and applications failing to complete
gracefully. The ICMP Query session timeout needs to be a balance between the two extremes. A
60-second timeout is a balance between the two extremes.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
17
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Implementing NAT with TCP
This section explains various NAT behaviors that are applicable to TCP connection initiation. The
detailed NAT with TCP functionality is defined in RFC 5382.
Address and Port Mapping Behavior
A NAT translates packets for each TCP connection using the mapping. A mapping is dynamically
allocated for connections initiated from the internal side, and potentially reused for certain connections
later.
Internally Initiated Connections
A TCP connection is initiated by internal endpoints through a NAT by sending SYN packet. All the
external IP address and port used for translation for that connection are defined in the mapping.
Generally for the client-server applications where an internal client initiates the connection to an
external server, to translate the outbound SYN, the resulting inbound SYN-ACK response mapping is
used, the subsequent outbound ACK, and other packets for the connection.
The 3-way handshake corresponds to method of connection initiation.
Externally Initiated Connections
For the first connection that is initiated by an internal endpoint NAT allocates the mapping. For some
situations, the NAT policy may allow reusing of this mapping for connection initiated from the external
side to the internal endpoint.
Implementing NAT 44 over ISM
The following figure illustrates the implementation of NAT 44 over ISM.
Inside
VRF
Outside
VRF
Interface
Interface
Private IPv6
Subscribers
App SV
ISM on
ASR9K
App SV
VLAN
Public IPv4
VLAN
361060
VLAN
The components of this illustration are as follows:
•
Private IP4 subscribers: It denotes a private network.
•
Interface/VLAN: It denotes a designated interface or VLAN which is associated with the VRF.
•
Inside VRF: It denotes the VRF that handles packets coming from the subscriber network. It is
known as inside VRF as it forwards packets from the private network.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
18
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
•
App SVI: It denotes an application interface that forwards the data packet to and from the ISM. The
data packet may be sent from another line card through a backplane. Because the ISM card does not
have a physical interface, the APP SVI acts as a logical entry into it.
The inside VRF is bound to an App SVI. There are 2 App SVIs required; one for the inside VRF and
the other one for the outside VRF. Each App SVI pair will be associated with a unique "inside VRF"
and a unique public IP address pool. The VRF consists of a static route for forwarding packets to
App SVI1.
•
Outside VRF: It denotes the VRF that handles packets going out to the public network. It is known
as outside VRF as it forwards packets from the public network.
•
Public IPV4: It denotes a public network.
The following figure illustrates the path of the data packet from a private network to a public network in
a NAT implementation.
PVT
NW
Slot 3
ISM
s: 10.222.5.55 : 5000
d: 50.12.13.8 : 5000
s: 10.222.5.55 : 5000
d: 50.12.13.8 : 5000
Default static route (VRF:InsideCustomer1)
to send traffic to ServiceApp1
Via FIB look-up (VRF:OutsideCustomer1),
sends traffic to egress port on Slot 6 GE LC
s: 100.0.0.192 : 23156
d: 50.12.13.8 : 5000
PUB
NW
s: 100.0.0.192 : 23156
d: 50.12.13.8 : 5000
G0/6/5/1.1
50.12.13.2/24
50.12.13.8
ServiceApp2
ipv4 addr 2.1.1.1/24
App N: SRC IP/Port: 10.222.5.55 : 5000
--> (after NAT) 100.0.0.192 : 23156
G0/6/5/0.1
10.222.5.2/24
10.222.5.22
Slot 6
GigE
The packet goes through the following steps when it travels from the private network to the public
network:
Step 1
In the network shown in this figure, the packet travels from the host A (having the IP address
10.222.5.55) in the private network to host B (having the IP address 5.5.5.2) in the public network. The
private address has to be mapped to the public address by NAT44 that is implemented in ISM.
Step 2
The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 0. While using
NAT44, it is mandatory that the packet enters through VRF.
Step 3
Once the packet reaches the designated interface or VLAN on ASR9K, it is forwarded to the inside VRF
either through static routing or ACL-based forwarding (ABL). After the inside VRF determines that the
packet needs address translation, it is forwarded to the App SVI that is bound to the VRF.
Step 4
The packet is forwarded by AppSVI1 through a default static route (ivrf1). The destination address and
the port get translated because of the CGN configuration applied on ISM.
Step 5
The ISM applies NAT44 to the packet and a translation entry is created. The CGN determines the
destination address from the FIB Look Up. It pushes the packet to the egress port.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
19
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Step 6
The packet is then forwarded to the egress port on the interface through App SVI2. An inside VRF is
mapped to an outside VRF. The outside VRF is associated with this interface. The packet is forwarded
by App SVI2 through the default static route (ovrf1). Then the packet is sent to the public network.
Step 7
The packets that do not need the address translation can bypass the App SVI and can be forwarded to
the destination through a different static route and a different egress port.
The following figure illustrates the path of the packet coming from the public network to the private
network.
Traffic: outside --> inside
ServiceApp1
ipv4 addr 1.1.1.1/24
s: 50.12.13.8 : 5000
d: 10.222.5.55 : 5000
s: 50.12.13.8 : 5000
d: 10.222.5.55 : 5000
Via FIB look-up (VRF:InsideCustomer1),
sends traffic to Slot 6 GE port
Static route (VRF:OutsideCustomer1)
sends traffic to ServiceApp2
s: 50.12.13.8 : 5000
d: 100.0.0.192 : 23156
PUB
NW
s: 50.12.13.8 : 5000
d: 100.0.0.192 : 23156
G0/6/5/1.1
50.12.13.2/24
50.12.13.8
ServiceApp2
ipv4 addr 2.1.1.1/24
Viking with 2 or 3 LCs (ingessand
egress GE LCs could be different)
361061
PVT
NW
Slot 3
ISM
App N: DST IP: 100.0.0.192 : 23156
--> (Reverse NAT) eth1: 10.222.5.55 : 5000
G0/6/5/0.1
10.222.5.2/24
10.222.5.22
Slot 6
GigE
The packet goes through the following steps when it travels from the public network to the private
network:
Step 1
In the network shown in this figure, the packet travels from the host A (having the IP address
10.222.5.55) in the public network to host B (having the IP address 5.5.5.2) in the private network. The
public address has to be mapped to the private address by NAT44 that is implemented in ISM.
Step 2
The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 0.
Step 3
Once the packet reaches the designated interface or VLAN on ASR9K, it is forwarded to the outside VRF
either through static routing or ACL-based forwarding (ABL).
Step 4
The packet is forwarded by App SVI2 through a default static route. The destination address and the port
are mapped to the translated address.
Step 5
The ISM applies NAT44 to the packet. The CGN determines the destination address from the FIB Look
Up. It pushes the packet to the egress port.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
110
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Step 6
The packet is then forwarded to the egress port on the interface through App SVI2. Then the packet is
sent to the private network through the inside VRF.
Step 7
The packets that do not need the address translation can bypass the App SVI and can be forwarded to
the destination through a different static route and a different egress port.
Implementing NAT 64 over ISM
This section explains how NAT64 is implemented over ISM. The figure illustrates the implementation
of NAT64 over ISM.
Stateful NAT64
Ipv6 destination prefix
(eg: 3301:db8::/32)
Interface
Interface
App SV
ISM
Public IPv4
App SV
VLAN
VLAN
Ipv6 Prefix
3301:db8::/32
Ipv4 map pool
52.52.52.0/24
3001:DB8:E0E:E03::
52.52.52.187
3301:DB8:a0a:102::
10.10.1.2
UDP port 3000, 3000
UDP port 10546, 3000
Payload
Payload
361059
Private IPv6
Subscribers
The components of this implementation are as follows:
•
Private IP6 subscribers – It denotes a private network.
•
Interface/VLAN- It denotes a designated interface or VLAN which is associated with the VRF.
•
Inside VRF – It denotes the VRF that handles packets coming from the subscriber network. It is
known as inside VRF as it forwards packets from the private network.
•
App SVI- It denotes an application interface that forwards the data packet to and from the ISM. The
data packet may be sent from another line card through a backplane. Because the ISM card does not
have a physical interface, the APP SVI acts as a logical entry into it.
The inside VRF is bound to an App SVI. There are 2 App SVIs required; one for the inside VRF and
the other one for the outside VRF. Each App SVI pair will be associated with a unique "inside VRF"
and a unique public IP address pool. The VRF consists of a static route for forwarding packets to
App SVI1.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
111
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
•
Outside VRF- It denotes the VRF that handles packets going out to the public network. It is known
as outside VRF as it forwards packets from the public network.
•
Public IPV4- It denotes a public network.
The following figure illustrates the path of the data packet from a private network to a public network in
a NAT64 implementation.
routerstatic
address-family ipv6 unicast
3301:db8::/32 ServiceApp612001:202:2
Traffic: Inside - Outside
Port 3 (HTTP V6 Client)
3001:DB8:E0E:E03::
Private IPv6
subscribers
Gi0/3/1/3
3001:db8:e0e:e01::
Slot 3
GigE
ServiceApp61
2001.202::/32
Slot 2
CGSE
NAT64 Prefix: 3301:0db8::/40
IPV4 pool map : 52.52.52.0/24
U-bit not reserved
Port 3 (HTTP V4 Server)
11.11.11.2
Gi0/3/1/1
11.11.11.1/24
ServiceApp41
41.1.1.1/30
361058
Public IPv4
The packet goes through the following steps when it travels from the private network to the public
network:
Step 1
In the network shown in this figure, the packet travels from the host A (having the IP address
3001:DB8:E0E:E03::/40) in the private network to host B (having the IP address 11.11.11.2) in the
public network. The private address has to be mapped to the public address by NAT64 that is
implemented in ISM.
Step 2
The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 3.
Step 3
Once the packet reaches the designated interface or VLAN on ASR9K, it is forwarded to the inside VRF
either through static routing or ACL-based forwarding (ABL). Based on this routing decision, the packet
that needs address translation is determined and is forwarded to the App SVI that is bound to the VRF.
Step 4
The packet is forwarded by AppSVI1 through a default static route. The destination address and the port
get translated because of the CGN configuration applied on ISM.
Step 5
The ISM applies NAT64 to the packet and a translation entry is created. The CGN determines the
destination address from the FIB Look Up. It pushes the packet to the egress port.
Step 6
The packet is then forwarded to the egress port on the interface through App SVI2. The packet is
forwarded by App SVI2 through the default static route. Then the packet is sent to the public network.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
112
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Step 7
The packets that do not need the address translation can bypass the App SVI and can be forwarded to
the destination through a different static route and a different egress port.
The following figure illustrates the path of the packet coming from the public network to the private
network.
routerstatic
address-family ipv6 unicast
3301:db8::/32 ServiceApp612001:202:2
Traffic: Outside - Inside
Port 3 (HTTP V6 Client)
3001:DB8:E0E:E03::
Gi0/3/1/3
3001:db8:e0e:e01::
Private IPv6
subscribers
Dest V4
address
Port
11.11.11.2
80
Slot 3
GigE
ServiceApp61
2001.202::/32
Slot 2
CGSE
s: 3301 : DB8:B0B:B02::
80
d: 3001 : DB8:E0E:B03::
80
s: 11.11.11.2-->3301 : DB8:B0B:B02::
80
d: 52.52.52.123-->3001 : DB8:E0E:B03::63209-->80
Port 3 (HTTP V4 Server)
11.11.11.2
Gi0/3/1/1
11.11.11.1/24
ServiceApp41
41.1.1.1/30
361062
Public IPv4
routerstatic
address-family ipv4 unicast
52.52.52.0/24 ServiceApp41 41.1.1.2
The packet goes through the following steps when it travels from the public network to the private
network:
Step 1
In the network shown in this figure, the packet travels from the host A (having the IP address 11.11.11.2)
in the public network to host B (having the IP address 3001:DB8:E0E:E03::) in the private network. The
public address has to be mapped to the private address by NAT64 that is implemented in ISM.
Step 2
The packet enters through the ingress port on the Gigabit Ethernet (GigE) interface at Slot 3.
Step 3
Once the packet reaches the designated interface or VLAN on ASR9K, it is forwarded to the outside VRF
either through static routing or ACL-based forwarding (ABL). Based on this routing decision, the packet
is forwarded to the App SVI that is bound to the VRF.
Step 4
The packet is forwarded by App SVI2 through a default static route. The destination address and the port
are mapped to the translated address.
Step 5
The ISM applies NAT64 to the packet. The CGN determines the destination address from the FIB Look
Up. It pushes the packet to the egress port.
Step 6
The packet is then forwarded to the egress port on the interface through App SVI2. Then the packet is
sent to the private network through the inside VRF.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
113
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Step 7
Table 2
The packets that do not need the address translation can bypass the App SVI and can be forwarded to
the destination through a different static route and a different egress port.
Supported Interfaces and Forwarding Features on CGv6
4.3.x
5.1.x
5.2.x
5.3.x
Physical Interface
Yes
Yes
Yes
Yes
VLAN Sub-interface
Yes
Yes
Yes
Yes
Bundle Interface
Yes
Yes
Yes
Yes
Bundle Sub-interface
Yes
Yes
Yes
Yes
BVI Interface
No
No
No
No
BNG
IP-Sub-interface/PPPoE
No
Yes
Yes
Yes
Ethernet Attachment
Circuit or Pseudowire
No
No
No
No
GRE Tunnel
No
No
No
No
Basic IPv4 IGP Forwarding Yes
Yes
Yes
Yes
BGP Traffic
Yes
Yes
Yes
Yes
Forwarding in VRF
Yes
Yes
Yes
Yes
Recursive Routes
Yes
Yes
Yes
Yes
uRPF
No
No
No
No
BGP-PA
No
No
No
No
Egress Interfaces
L3 Unicast Forwarding Features
MPLS and Fast Reroute (FRR) Support
Note: The ISM card does not generate label for packets. It only processes unlabeled
packets.
MPLS-TE Paths
No
Yes
Yes
Yes
Basic Labeled Path
Yes
Yes
Yes
Yes
MPLS-TE Tunnel
No
Yes
Yes
Yes
MPLS-TP Tunnel
No
No
No
No
TE-FRR
No
Yes
Yes
Yes
IP-FRR
No
No
No
No
LFA-FRR
No
No
No
No
IP Multicast
No
No
No
No
MVPN
No
No
No
No
Label Switched Multicast
No
No
No
No
Multicast
ServiceApp Interfaces
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
114
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
4.3.x
5.1.x
5.2.x
5.3.x
ABF to ServiceApp
Interface
Yes
Yes
Yes
Yes
ABF from ServiceApp
Interface
No
No
No
No
ACL to ServiceApp
Interface
No
No
No
No
QOS on ServiceApp
Interface
No
No
No
No
Lawful Intercept (LI) on
ServiceApp Interface
No
No
No
No
IPv4 Enable/Disable (Per
Interface)
No
No
No
No
MPLS Enable/Disable (Per No
Interface)
No
No
No
MTU Setting (Per
Interface)
No
No
No
No
Statistics on ServiceApp
Interface
Partial.
Partial.
Yes
Yes
Per-interface
per-protocol
packet/byte
count is
supported
Per-interface
per-protocol
packet/byte
count is
supported
No
No
Pre-Label Tunnel Interface No
Note
No
•
The table refers to packet handling after CGv6 processing (from ingress to egress).
•
The CGv6 application processes only L3 unicast traffic. Other traffic types such as L2 and L3
multicast are not supported.
•
The forwarding features that are supported are only those where traffic is injected from CGv6
application as an IPv4 or IPv6 packet.
Double NAT 444
The Double NAT 444 solution offers the fastest and simplest way to address the IPv4 depletion problem
without requiring an upgrade to IPv6 anywhere in the network. Service providers can continue offering
new IPv4 customers access to the public IPv4 Internet by using private IPv4 address blocks, if the service
provider is large enough; However, they need to have an overlapping RFC 1918 address space, which
forces the service provider to partition their network management systems and creates complexity with
access control lists (ACL).
Double NAT 444 uses the edge NAT and CGv6 to hold the translation state for each session. For example,
both NATs must hold 100 entries in their respective translation tables if all the hosts in the residence of
a subscriber have 100 connections to hosts on the Internet). There is no easy way for a private IPv4 host
to communicate with the CGv6 to learn its public IP address and port information or to configure a static
incoming port forwarding.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
115
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Address Family Translation
The IPv6-only to IPv4-only protocol is referred to as address family translation (AFT). The AFT
translates the IP address from one address family into another address family. For example, IPv6 to IPv4
translation is called NAT 64 or IPv4 to IPv6 translation is called NAT 46.
CGv6 Applications
These applications are deployed on the ISM line card.
•
Network Address Translation (NAT44), page 16
•
Dual-Stack Lite, page 18
•
Stateful NAT64, page 19
•
Mapping of Address and Port-Translation Mode, page 21
•
IPv6 Rapid Deployment, page 21
•
Mapping of Address and Port-Encapsulation Mode, page 22
Network Address Translation (NAT44)
Network Address Translation (NAT44) or Carrier Grade Network Address Translation (CGN) is a large
scale NAT that is capable of providing private IPv4 to public IPv4 address translation in the order of
millions of translations to support a large number of subscribers, and at least 10 Gbps full-duplex
bandwidth throughput.
CGN is a workable solution to the IPv4 address completion problem, and offers a way for service
provider subscribers and content providers to implement a seamless transition to IPv6. CGN employs
network address and port translation (NAPT) methods to aggregate many private IP addresses into fewer
public IPv4 addresses. For example, a single public IPv4 address with a pool of 32 K port numbers
supports 320 individual private IP subscribers assuming each subscriber requires 100 ports. For example,
each TCP connection needs one port number.
A Network Address Translation (NAT) box is positioned between private and public IP networks that are
addressed with non-global private addresses and a public IP addresses respectively. A NAT performs the
task of mapping one or many private (or internal) IP addresses into one public IP address by employing
both network address and port translation (NAPT) techniques. The mappings, otherwise referred to as
bindings, are typically created when a private IPv4 host located behind the NAT initiates a connection
(for example, TCP SYN) with a public IPv4 host. The NAT intercepts the packet to perform these
functions:
•
Rewrites the private IP host source address and port values with its own IP source address and port
values
•
Stores the private-to-public binding information in a table and sends the packet. When the public IP
host returns a packet, it is addressed to the NAT. The stored binding information is used to replace
the IP destination address and port values with the private IP host address and port values.
Traditionally, NAT boxes are deployed in the residential home gateway (HGW) to translate multiple
private IP addresses. The NAT boxes are configured on multiple devices inside the home to a single
public IP address, which are configured and provisioned on the HGW by the service provider. In
enterprise scenarios, you can use the NAT functions combined with the firewall to offer security
protection for corporate resources and allow for provider-independent IPv4 addresses. NATs have made
it easier for private IP home networks to flourish independently from service provider IP address
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
116
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
provisioning. Enterprises can permanently employ private IP addressing for Intranet connectivity while
relying on a few NAT boxes, and public IPv4 addresses for external public Internet connectivity. NAT
boxes in conjunction with classic methods such as Classless Inter-Domain Routing (CIDR) have slowed
public IPv4 address consumption.
Private-to-Public Address Mapping Limit
The private-to-public address mapping can be classified into the following:
•
One-to-one: This method maps one private address to one public address. Multiple ports can be used
in this type of mapping.
•
Many-to-one: This method maps many private addresses to a single public address. In many-to-one
address mapping, you can specify the maxiumum limit for the number of private addresses to be
mapped to a single public address. This limit is termed as many-to-one mapping limit. The range for
this limit is 1 to 65,535. This limit parameter is optional and can be used whenever required.
The public addresses are evenly distributed among the Carrier-Grade NAT applications. Sometimes,
only one application might have reached this many-to-one mapping limit. In such cases, no new NAT
address mapping is allowed on the process, where the maximum limit is reached as well, as on the
CGN instance.
Note
In one-to-one address mapping, the limit for the number of private addresses to be
mapped to a public address is 1. Ensure that you do not configure both one-to-one
address mapping and many-to-one address mapping at a time.
Note
If the limit for the number of private addresses to be mapped is specified as 1, the
address mapping becomes one-to-one address mapping.
Note
It is recommended that you use many-to-one mapping (with the many-to-one mapping
limit set to 1) instead of one-to-one mapping as one-to-one mapping might become
obsolete in future releases.
Note
The many-to-one mapping limits the number of subscribers to the configured value.
Ensure that you free up all the subscribers before applying this mapping limit. This step
needs to be done in order to ensure that there is no discrepancy if there are subscribers
using the configuration already. Ensure that all ports are free while freeing up the
subscribers by stopping the traffic and waiting till the maximum timeout. And then
verify by using the sh cgn nat44 nat1 statistics command where nat1 is one of the
configured CGN instances.
Network Address and Port Mapping
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:
•
Endpoint-independent mapping—Reuses the port mapping for subsequent packets that are sent
from the same internal IP address and port to any external IP address and port.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
117
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
•
Note
Address-dependent mapping—Reuses the port mapping for subsequent packets that are sent from
the same internal IP address and port to the same external IP address, regardless of the external port.
CGN on ISM implements Endpoint-Independent Mapping.
Translation Filtering
RFC 4787 provides translation filtering behaviors for NATs. These options are used by NAT to filter
packets originating from specific external endpoints:
Note
•
Endpoint-independent filtering—Filters out only packets that are not destined to the internal
address and port regardless of the external IP address and port source.
•
Address-dependent filtering—Filters out packets that are not destined to the internal address. In
addition, NAT filters out packets that are destined for the internal endpoint.
•
Address and port-dependent filtering—Filters out packets that are not destined to the internal
address. In addition, NAT filets out packets that are destined for the internal endpoint if the packets
were not sent previously.
CGN on ISM implements Endpoint-Independent Filtering.
Dual-Stack Lite
The DS-Lite (DS-Lite) feature enables legacy IPv4 hosts and server communication over both IPv4 and
IPv6 networks. Also, IPv4 hosts may need to access IPv4 internet over an IPv6 access network. The IPv4
hosts will have private addresses which need to have network address translation (NAT) completed
before reaching the IPv4 internet.
The DS-Lite application has these two components:
•
Basic Bridging BroadBand Element (B4): This is a Customer Premises Equipment (CPE) router that
is attached to the end hosts. The IPv4 packets entering B4 are encapsulated using a IPv6 tunnel and
sent to the Address Family Transition Router (AFTR).
•
Address Family Transition Router(AFTR): This is the router that terminates the tunnel from the B4.
It decapsulates the tunneled IPv4 packet, translates the network address and routes to the IPv4
network. In the reverse direction, IPv4 packets coming from the internet are reverse network address
translated and the resultant IPv4 packets are sent the B4 using a IPv6 tunnel.
The Dual Stack Lite feature helps in these functions:
•
Tunnelling IPv4 packets from CE devices over IPv6 tunnels to the ISM blade.
•
Decapsulating the IPv4 packet and sending the decapsulated content to the IPv4 internet after
completing network address translation.
•
In the reverse direction completing reverse-network address translation and then tunnelling them
over IPv6 tunnels to the CPE device.
IPv6 traffic from the CPE device is natively forwarded.
Note
The number of DS-Lite instances supported on the Integrated Service Module (ISM) line card is 64.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
118
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Scalability and Performance of DS Lite
The DS-Lite feature pulls translation entries from the same pool as the NAT44.
•
Supports a total of 20 million sessions.
•
Number of unique users behind B4 router, basically IPv6 and IPv4 Source tuple, can scale to 1
million.
There is no real limit to the number of B4 routers and their associated tunnels connecting to the AFTR,
except the session limit, which is 20 million B4 routers (assuming each router has only one session). In
reality, a maximum of 1 million B4 routers can connect to an AFTR at any given time.
The performance of DS-Lite traffic, combined IPv4 and IPv6, is 10 Gbps.
Stateful NAT64
Stateful NAT64 provides a translation mechanism that translates IPv6 packets into IPv4 packets, and
vice versa.
Stateful NAT64 supports Internet Control Message Protocol (ICMP), TCP, and UDP traffic. Packets that
are generated in an IPv6 network and destined for an IPv4 network are routed within the IPv6 network
towards the Stateful NAT64 translator. Stateful NAT64 translates the packets and forwards them as IPv4
packets through the IPv4 network. The process is reversed for traffic that is generated by hosts connected
to the IPv4 network and destined for an IPv6 receiver.
The Stateful NAT64 translation is not symmetric, because the IPv6 address space is larger than the IPv4
address space and a one-to-one address mapping is not possible. Before it can perform an IPv6 to an IPv4
translation, Stateful NAT64 requires a state that binds the IPv6 address and the TCP or UDP port to the
IPv4 address. The binding state is either statically configured or dynamically created when the first
packet that flows from the IPv6 network to the IPv4 network is translated. After the binding state is
created, packets flowing in both directions are translated. In dynamic binding, Stateful NAT64 supports
communication initiated by the IPv6-only node toward an IPv4-only node. Static binding supports
communication initiated by an IPv4-only node to an IPv6-only node, and vice versa. Stateful NAT64
with port overloading provides a 1:n mapping between IPv4 and IPv6 addresses.
Each NAT64 instance configured is associated with two serviceApps for the following purposes:
•
One serviceApp is used to carry traffic from IPv6 side
•
Another serviceApp is used to carry traffic from IPv4 side of the NAT64.
NAT64 instance parameters are configured using the CGN CLI. The NAT64 application in the octeons
updates its NAT64 instance and serviceApp databases, which are used to perform the translation between
IPv6 and IPv4 and vice versa.
Active CGN instance configuration is replicated in the standby CGN instance through the XR control
plane. Translations that are established on the Active CGN instance are exported to the Standby CGN
instance as the failure of the Active CGN affects the service until translations are re-established through
normal packet flow. Service interruption is moderate for the given fault detection time and translation
learning rate in terms of seconds or tens of seconds for a large translation database.
Note
A maximum of 64 NAT64 instances are supported in the NAT64 configuration.
Prefix Format
A set of bits at the start of an IPv6 address is called the format prefix. Prefix length is a decimal value
that specifies the number of the left-most contiguous bits of an address.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
119
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
When packets flow from the IPv6 to the IPv4 direction, the IPv4 host address is derived from the
destination IP address of the IPv6 packet that uses the prefix length. When packets flow from the IPv4
to the IPv6 direction, the IPv6 host address is constructed using the stateful prefix.
According to the IETF address format, a u-bit (bit 70) defined in the IPv6 architecture should be set to
zero. The reserved octet, also called u-octet, is reserved for compatibility with the host identifier format
defined in the IPv6 addressing architecture. When constructing an IPv6 packet, the translator has to
make sure that the u-bits are not tampered, and are set to the value suggested by RFC 2373. The suffix
will be set to all zeros by the translator. IETF recommends that the 8 bits of the u-octet (bit range 64-71)
be set to zero.
Well Known Prefix (WKP)
Well Known Prefix (WKP) 64:FF9B::/96 is supported for Stateful NAT64. During stateful translation, if
no stateful prefix is configured (either on the interface or globally), the WKP prefix is used to translate
the IPv4 host addresses.
Stateful IPv4-to-IPv6 Packet Flow
The packet flow of IPv4-initiated packets for Stateful NAT64:
•
The destination address is routed to a NAT Virtual Interface (NVI). A virtual interface is created
when Stateful NAT64 is configured. For Stateful NAT64 translation to work, all packets must get
routed to the NVI. When you configure an address pool, a route is automatically added to all IPv4
addresses in the pool. This route automatically points to the NVI.
•
The IPv4-initiated packet hits static or dynamic binding. Dynamic address bindings are created by
the Stateful NAT64 translator when you configure dynamic Stateful NAT64. A binding is
dynamically created between an IPv6 and an IPv4 address pool. Dynamic binding is triggered by
the IPv6-to-IPv4 traffic and the address is dynamically allocated. Based on your configuration, you
can have static or dynamic binding.
•
The IPv4-initiated packet is protocol-translated and the destination IP address of the packet is set to
IPv6 based on static or dynamic binding. The Stateful NAT64 translator translates the source IP
address to IPv6 by using the Stateful NAT64 prefix (if a stateful prefix is configured) or the Well
Known Prefix (WKP) (if a stateful prefix is not configured).
•
A session is created based on the translation information.
All subsequent IPv4-initiated packets are translated based on the previously created session.
Stateful IPv6-to-IPv4 Packet Flow
Stateful IPv6-initiated packet flow:
•
The first IPv6 packet is routed to the NAT Virtual Interface (NVI) based on the automatic routing
setup that is configured for the stateful prefix. Stateful NAT64 performs a series of lookups to
determine whether the IPv6 packet matches any of the configured mappings based on an access
control list (ACL) lookup. Based on the mapping, an IPv4 address (and port) is associated with the
IPv6 destination address. The IPv6 packet is translated and the IPv4 packet is formed by using these
methods:
– Extracting the destination IPv4 address by stripping the prefix from the IPv6 address. The
source address is replaced by the allocated IPv4 address (and port).
– Translating the rest of the fields from IPv6-to-IPv4 to form a valid IPv4 packet.
•
Creating a new NAT64 translation in the session database and in the bind database. The pool and
port databases are updated depending on the configuration. The return traffic and the subsequent
traffic of the IPv6 packet flow will use this session database entry for translation.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
120
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Note
Static port forwarding is not supported over StatefulNAT64 on ISM.
IP Packet Filtering
Stateful NAT64 filters IPv6 and IPv4 packets. All IPv6 packets that are transmitted into the stateful
translator are filtered because statefully translated IPv6 packets consume resources in the translator.
These packets consume processor resources for packet processing, memory resources (always session
memory) for static configuration, IPv4 address resources for dynamic configuration, and IPv4 address
and port resources for Port Address Translation (PAT).
Stateful NAT64 utilizes configured access control lists (ACLs) and prefix lists to filter IPv6-initiated
traffic flows that are allowed to create the NAT64 state. Filtering of IPv6 packets is done in the
IPv6-to-IPv4 direction because dynamic allocation of mapping between an IPv6 host and an IPv4
address can be done only in this direction.
Stateful NAT64 supports endpoint-dependent filtering for the IPv4-to-IPv6 packet flow with PAT
configuration. In a Stateful NAT64 PAT configuration, the packet flow originates from the IPv6 realm
and creates the state information in NAT64 state tables. Packets from the IPv4 side that do not have a
previously created state are dropped. Endpoint-independent filtering is supported with static NAT and
non-PAT configurations.
Mapping of Address and Port-Translation Mode
Mapping of Address and Port-Translation Mode (MAP-T) is a CGN solution that enables IPv4-only
clients to communicate with IPv6-only resources using address and packet translation. MAP-T is also
referred to as Dual IVI (dIVI) or Stateless NAT46. This enables a service provider to offer IPv4 services
to IPv6 enabled (customer) sites to which it provides customer premise equipment (CPE). This approach
utilizes stateless IPv4 to IPv6 translation (that is NAT64) to transit IPv6-enabled network infrastructure.
The provider access network can now be on IPv6, while customers use IPv6 and IPv4 services
simultaneously. MAP-T keeps the stateful NAT44 on CPE, as usual, to handle IPv4 address exhaustion,
in addition to stateless NAT64 on CPE and Border Router.
MAP-T is attractive to those SPs who have deployed, or are planning to deploy IPv6 end-to-end services,
and want to manage IPv4 address exhaustion with utmost predictability.
MAP-T is a preferred alternate to DS-Lite in a sevice provider network when there is no tunneling
needed.
Note
MAP-T is offered in stateless mode only.
IPv6 Rapid Deployment
IPv6 Rapid Deployment (6RD) is a mechanism that allows service providers to provide a unicast IPv6
service to customers over their IPv4 network. This approach utilizes stateless IPv6 in IPv4 encapsulation
to transit IPv4-only network infrastructure. 6RD encapsulates an IPv6 packet with an IPv4 header for
transport over an IPv4 network. The mapping between an IPv6 destination address in the inner packet,
and the IPv4 destination address of the outer packet is computed at the time of packet forwarding.
The encapsulation must be supported by the Customer Premise Equipment (CPE), while the CGv6
solution (6RD Border Relay) must support tunnel termination to route packets to Internet hosts on IPv6.
The provider access network continues to be on IPv4, while customers experience IPv6 and IPv4 service
simultaneously.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
121
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
6RD Concepts
•
6RD Customer Edge: The 6RD Customer Edge (CE) router sits between an IPv6-enabled site and
an IPv4-enabled SP network. In the context of residential broadband deployment, this is the
Residential Gateway (RG) or Customer Premises Equipment (CPE) or Internet Gateway Device
(IGD). This router has a 6RD tunnel interface acting as an endpoint for the IPv6 in IPv4
encapsulation and forwarding, with at least one 6RD CE LAN side interface and 6RD CE WAN side
interface, respectively.
•
6RD Border Relay: The 6RD Border Relay (BR) router is located at the service provider's premises.
It has at least one IPv4 interface, a 6RD tunnel interface for multi-point tunneling, and at least one
IPv6 interface that is reachable through the IPv6 Internet or IPv6-enabled part of the SP network.
•
6RD Delegated Prefix: The 6RD Delegated Prefix (DP) is an IPv6 prefix, determined by the 6RD
CE device, for use by hosts within the customer site.
•
6RD Service Provider Prefix: The 6RD Service Provider Prefix (SP Prefix) is an IPv6 prefix selected
by the service provider for use by a 6RD domain. There is only one 6RD prefix for a given 6RD
domain.
•
Customer Edge LAN side: The functionality of a 6RD Customer Edge (CE) that serves the LAN or
customer-facing side of the CE. The CE LAN side interface is only IPv6-enabled.
•
Customer Edge WAN side: The functionality of a 6RD Customer Edge (CE) that serves the WAN or
service provider-facing side of the CE. The CE WAN side is only IPv4-enabled.
•
Border Relay IPv4 address: The IPv4 address of the 6RD Border Relay (BR) for a given 6RD
domain. This IPv4 address is used by the CE to send packets to a BR in order to reach IPv6
destinations outside the 6RD domain.
•
Customer Edge IPv4 address: The IPv4 address assigned to the CE as part of normal IPv4 Internet
access (configured through DHCP, PPP, or otherwise). This address may be global or private within
the 6RD domain. This address is used by a 6RD CE to create the 6RD delegated prefix, and to send
and receive IPv4-encapsulated IPv6 packets.
Mapping of Address and Port-Encapsulation Mode
Mapping of Address and Port-Encapsulation Mode (MAP-E) is a CGN solution that allows a service
provider to enable IPv4 services at IPv6 (customer) sites to which it provides Customer Premise
Equipment (CPE). This approach utilizes stateless IPv4-in-IPv6 encapsulation to transit IPv6-enabled
network infrastructure. The encapsulation must be supported by the CPE and MAP-E Gateway/Border
Relay, which removes the IPv6 encapsulation from IPv4 packets while forwarding them to the Internet.
The provider access network can now be on IPv6, while customers see IPv6 and IPv4 service
simultaneously.
MAP-E also helps manage IPv4 address exhaustion by keeping the stateful NAT44 on CPE.
Policy Functions
These are the policy functions used to configure CGv6 applications.
•
Application Level Gateway, page 23
•
TCP Maximum Segment Size Adjustment, page 23
•
Static Port Forwarding, page 24
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
122
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Application Level Gateway
The Application Level Gateway (ALG) deals with the applications that are embedded in the IP address
payload. Active File Transfer Protocol (FTP), Point-to-Point Tunneling Protocol (PPTP), and Real Time
Streaming Protocol (RTSP) are supported.
FTP-ALG
CGN supports both passive and active FTP. FTP clients are supported with inside (private) address and
servers with outside (public) addresses. Passive FTP is provided by the basic NAT function. Active FTP
is used with the ALG.
RTSP-ALG
CGN supports the RTSP, an application-level protocol for control over the delivery of data with real-time
properties. RTSP provides an extensible framework to enable controlled, on-demand delivery of
real-time data, such as audio and video. Sources of data can include both live data feeds and stored clips.
PPTP-ALG
CGN supports the PPTP, a network protocol that enables secure transfer of data from a remote client to
a private enterprise server by creating a Virtual Private Network (VPN). It is used to provide IP security
at the network layer.
PPTP-ALG allows traffic from all clients to pass through a single PPTP tunnel.
PPTP uses a control channel over TCP, and a GRE tunnel operating to encapsulate Point-to-Point
Protocol (PPP) packets.
A PPTP tunnel is instantiated on a TCP port. This TCP connection is then used to initiate and manage a
second GRE tunnel to the same peer.
Components of PPTP:
PPTP uses an access controller and a network server to establish the connection.
Note
•
PPTP Access Controller (PAC)- A device attached to one or more PSTN or ISDN lines capable of
Point-to-Point Protocol operation and handling the PPTP protocol. It terminates the PPTP tunnel
and provides VPN connectivity to a remote client.
•
PPTP Network Server (PNS)-A device which provides the interface between the PPP (encapsulated
in the PPTP protocol) and a LAN or WAN. The PNS uses the PPTP protocol to support tunneling
between a PAC and the PNS. It requests to establish a VPN connectivity using PPTP tunnel.
•
Control Connection-A control connection is established between a PAC and a PNS for TCP.
•
Tunnel-A tunnel carries GRE encapsulated PPP datagrams between a PAC and a PNS.
Active FTP, PPTP ALG, and RTSP ALG are supported on NAT44 applications. Active FTP and RTSP
ALG are supported on DS-Lite and Stateful NAT64 applications.
TCP Maximum Segment Size Adjustment
When a host initiates a TCP session with a server, the host negotiates the IP segment size by using the
maximum segment size (MSS) option. The value of the MSS option is determined by the maximum
transmission unit (MTU) that is configured on the host.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
123
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Information About CGv6
Static Port Forwarding
Static port forwarding configures a fixed, private (internal) IP address and port that are associated with
a particular subscriber while CGv6 allocates a free public IP address and port. Therefore, the inside IP
address and port are associated to a free outside IP address and port.
High Availability
High Availability (HA) or 1:1 redundancy enables network-wide protection by providing fast recovery
from faults that may occur in any part of the network. With Cisco High Availability on ISM, the network
hardware and software work together and enable rapid recovery from disruption, to ensure fault
transparency to users and network applications. It provides continuous access to applications, data, and
content anywhere, anytime by addressing potential causes of downtime with functionality, design, and
best practices.
ISM HA supports:
•
1:1 active or standby redundancy infrastructure for the services running on the ISM
– Intra-chassis redundancy
– Cold standby redundancy
•
Replication of CGN-related configuration into a standby card
•
Failure detection
– Punt path - Channel between the ISM line card CPU and CGv6 application processes
– Data path - Channel through which CGV6 application data packets traverse
– CPU health monitoring
– Control path
– Crashed processes
The following commands are supported for failure detection:
– Punt Path
RP/0/RP0/CPU0:router(config)# service-cgv6-ha location location-name puntpath-test
– Data Path
RP/0/RP0/CPU0:router(config)# service-cgv6-ha location location-name datapath-test
Note
By default, failure detection for punt path, data path is not triggered unless the above commands are
configured.These commands can be configured only when ISM role is CGN and ISM in “App-Ready”
state.
•
Failure reporting and recovery
– If redundant ISM card is configured, then switch-over the stand by ISM to active and reload the
active ISM.
– If redundant ISM card is not configured, then reload the ISM. This comes up again as an active
ISM.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
124
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
External Logging
External logging configures the export and logging of the NAT table entries, private bindings that are
associated with a particular global IP port address, and to use Netflow to export the NAT table entries.
•
Netflow v9 Support, page 25
•
Syslog Support, page 25
•
Bulk Port Allocation, page 25
•
Destination-Based Logging, page 25
Netflow v9 Support
The NAT44 and DS Lite features support Netflow for logging of the translation records. Logging of the
translation records can be mandated by for Lawful Intercept. The Netflow uses binary format and hence
requires software to parse and present the translation records.
Syslog Support
The DS Lite and NAT44 features support Syslog as an alternative to Netflow. Syslog uses ASCII format,
which can be read by users. However, the log data volume is higher in Syslog than Netflow.
Attributes of Syslog Collector
•
Syslog is supported in ASCII format only.
•
Logging to multiple syslog collectors (or relay agents) is not supported.
Bulk Port Allocation
The creation and deletion of NAT sessions need to be logged and these create huge amount of data. These
are stored on Syslog collector which is supported over UDP. In order to reduce the volume of data
generated by the NAT device, bulk port allocation can be enabled. When bulk port allocation is enabled
and when a subscriber creates the first session, a number of contiguous outside ports are pre-allocated.
A bulk allocation message is logged indicating this allocation. Subsequent session creations will use one
of the pre-allocated port and hence does not require logging.
Destination-Based Logging
Destination-Based Logging (DBL) includes the destination IPv4 address and port number in the Netflow
create and delete records for NAT44, Stateful NAT64, and DS-Lite applications. It is also known as
Session-Logging.
Note
Session-Logging and Bulk Port Allocation are mutually exclusive.
Configuring CGv6 on Cisco IOS XR Software
These configuration tasks are required to implement CGv6 on Cisco IOS XR software.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
125
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
•
Installing Carrier Grade IPv6 on ISM, page 26
•
Configuring the Service Role for the Carrier Grade IPv6, page 30
•
Configuring the Service Instance and Location for the Carrier Grade IPv6, page 31
•
Configuring the Infrastructure Service Virtual Interface for the Carrier Grade IPv6, page 32
Installing Carrier Grade IPv6 on ISM
This section provides instructions on installing CGv6 on the ISM line card, removing CGv6 on the ISM
line card, and reinstalling the CDS TV application support.
Hardware
•
ISM hardware in chassis
•
asr9k-mini-p.vm or asr9k-mini-px.vm
•
asr9k-services-p.pie or asr9k-services-px.pie
•
asr9k-fpd-p.pie or asr9k-fpd-px.pie
Software
FPGA UPGRADE
The installation is similar to an FPGA upgrade on any other ASR 9000 cards.
Step 1
Load the fpd pie.
Step 2
Run the show hw-module fpd location <> command in admin mode.
RP/0/RP0/CPU0:#admin
RP/0/RSP1/CPU0:LHOTSE#show hw-module fpd location 0/1/CPU0
===================================== ================================================
Existing Field Programmable Devices
================================================
HW
Current SW Upg/
Location
Card Type
Version Type Subtype Inst
Version
Dng?
============ ======================== ======= ==== ======= ==== =========== ==== =====
-------------------------------------------------------------------------------------0/1/CPU0
A9K-ISM-100
1.0 lc
fpga1
0
0.29
No
1.0 lc
cbc
0
18.04
Yes
1.0 lc
cpld1
0
0.01
No
1.0 lc
fpga7
0
0.17
No
1.0 lc
cpld3
0
0.16
No
1.0 lc
fpga2
0
0.01
Yes
--------------------------------------------------------------------------------------
If one or more FPD needs an upgrade (can be identified from the Upg/Dng column in the output) then
this can be accomplished using the following steps.
Step 3
Upgrade the identified FPGAs using the relevant commands:
upgrade hw-module fpd fpga1 location <>
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
126
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
upgrade
upgrade
upgrade
upgrade
upgrade
hw-module
hw-module
hw-module
hw-module
hw-module
fpd
fpd
fpd
fpd
fpd
cbc location <>
cpld1 location <>
fpga7 location <>
cpld3 location <>
fpga2 location <>
To upgrade all FPGA using a single command, type:
upgrade hw-module fpd all location <>
Step 4
If one or more FPGAs were upgraded, reload the ISM card after all the upgrade operation completes
successfully.
hw-module location <> reload
Step 5
After the ISM card comes up, check for the FPGA version. This can be done using the following
command from the admin mode.
show hw-module fpd location <>
Accessing CPU consoles on ISM Card
This output shows ISM card in slot1:
RP/0/RSP0/CPU0 #show platform
0/RSP0/CPU0
A9K-RSP-4G(Active)
0/1/CPU0
A9K-ISM-100(LCP)
0/1/CPU1
A9K-ISM-100(SE)
IOS XR RUN
IOS XR RUN
SEOS-READY
PWR,NSHUT,MON
PWR,NSHUT,MON
To access LC CPU console:
RP/0/RSP0/CPU0#run attach 0/1/CPU0
#
To return to RSP console:
#exit
To access X86 CPU console:
RP/0/RSP0/CPU0:CRANE#run attachCon 0/0/cpu1 115200
attachCon: Starting console session to node 0/0/cpu1
attachCon: To quit console session type 'detach'
Current Baud 115200
Setting Baud to 115200
localhost.localdomain login: root
Password: rootroot
[root@localhost ~]#
To return to RSP console:
[root@localhost]# detach
Installing CGv6 Application on an ISM for Cisco IOS XR Software Release 4.2.0
If the card is in CDS-IS mode, then it must be converted to CDS-TV before installing CGv6. For
installation instructions, see the Cisco ASR 9000 Series Aggregation Services Router ISM Line Card
Installation Guide.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
127
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
Note
With kernel.rpm, the "kernel.rpm" or "kernel-4.2.0.rpm" file is referred and with "ism_infra.tgz", the
"ism_infra.tgz" or "ism_infra-4.2.0.tgz" file is referred.
Step 1
Manually remove the non-CGv6 (CDS TV) configuration.
Step 2
Install the Cisco IOS XR Software Release 4.2.0 image on the ASR 9000 router.
Step 3
To handle version incompatibility between APIs of Cisco IOS XR and Linux software, run these
commands as soon as the ISM LCP is in IOS XR RUN state.
RP/0/RSP0/CPU0#proc mandatory OFF fib_mgr location <ism_node_location>
RP/0/RSP0/CPU0#proc SHUTDOWN fib_mgr location <ism_node_location>
RP/0/RP0/CPU0:#admin
RP/0/RSP0/CPU0(admin)#debug sim reload-disable location<ism_node_location>
Caution
Step 4
Any delay may result in card reload due to API mismatch.
Extract the ism_infra.tgz and kernel.rpm image from the tar file (available in the Download Software
page in Cisco.com) and copy the content to the disk on the RSP console.
RP/0/RSP0/CPU0#copy tftp://<tftp_addr><image_location>/ism_infra.tgz disk0:/
RP/0/RSP0/CPU0#copy tftp://<tftp_addr><image_location>/kernel.rpm disk0:/
Step 5
Copy kernel.rpm and ism_infra.tgz to X86 location.
a.
Log into X86 CPU console and start the se_mbox_server process:
[root@localhost]# se_mbox_server -d
b.
Log into ISM LC CPU and upload the images to X86:
#avsm_se_upload
#avsm_se_upload
c.
Step 6
/disk0:/kernel.rpm
/disk0:/ism_infra.tgz
After successful upload, the images should be available under /tmp directory in the X86 CPU.
Install the images on X86:
[root@localhost /] cd /tmp
[root@localhost tmp]# rpm -i --force kernel.rpm
[root@localhost tmp]# avsm_install ism_infra.tgz
Step 7
Run the following Cisco IOS XR Software Release 4.2.0 commands in admin mode, on RSP to install
the Services PIE:
RP/0/RSP0/CPU0#admin
(admin)#install add tftp://<tftp_addr>/<image_location>/asr9k-services-p.pie synchronous
activate
. . . . . . . . . . .
(admin)#exit
Step 8
Run the following Cisco IOS XR Software Release 4.2.0 commands on the RSP to set the service role
as cgn.
RP/0/RSP0/CPU0#config
(config)#hw-module service cgn location <ism_node_location>
(config)#commit
(config)#exit
Step 9
Revert the changes made in Step 3
RP/0/RSP0/CPU0#proc mandatory ON fib_mgr location <ism_node_location>
RP/0/RSP0/CPU0#proc START fib_mgr location <ism_node_location>
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
128
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
RP/0/RP0/CPU0:#admin
RP/0/RSP0/CPU0:(admin)#no debug sim reload-disable location <ism_node_location>
Step 10
Reload the ISM line card.
RP/0/RSP0/CPU0#hw-module location <ism_node_location> reload
Step 11
Wait for the card to return to SEOS-READY and proceed with ServiceInfra interface configuration.
Installing CGv6 Application on an ISM for Cisco IOS XR Software Release 4.2.1 and later
From Cisco IOS XR Software Release 4.2.1 onwards, the CGv6 application can be installed on an ISM
line card directly without changing from CDS-IS to CDS-TV and then CGv6.
Step 1
Manually remove the non-CGv6 configuration, if any.
Step 2
Install the Cisco IOS XR Software Release 4.2.1 image(asr9k-mini-p/px.vm/pie) on the router.
Step 3
To handle version incompatibility between APIs of Cisco IOS XR and Linux software, run the following
commands in admin mode. Enter into maintenance mode by using the following command.
RP/0/RP0/CPU0:#admin
RP/0/RSP0/CPU0(admin)#debug sim reload-disable location<ism_node_location>
The card must be in the following state:
RP/0/RSP0/CPU0# show platform
Node
Type
State
Config State
___________________________________________________________________________
0/5/CPU0
A9K-ISM-100(LCP)
IOS XR RUN
PWR,NSHUT,MON
0/5/CPU1
A9K-ISM-100(SE)
RECOVERY MODE
Sometimes, the card goes into IN-RESET state due to multiple resets or if you miss to execute the step
for a long time.
Reload the card using the following command to get out of the state:
RP/0/RSP0/CPU0(admin)# hw-module location <ism_node_location> reload
Note
Step 4
The command must be executed in admin mode.
To install the Services PIE on RSP, run the commands in admin mode:
RP/0/RSP0/CPU0#admin
(admin)#install add tftp://<tftp_addr>/<image_location>/asr9k-services-p.pie synchronous
activate
. . . . . . . . . . .
(admin)#exit
Step 5
To set the service role as cgn on RSP, run the following commands.
RP/0/RSP0/CPU0#config
(config)#hw-module service cgn location <ism_node_location>
(config)#commit
(config)#exit
Step 6
To install Linux Install-Kit from RSP, run the commands in admin mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
129
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
RP/0/RSP0/CPU0#admin
RP/0/RSP0/CPU0(admin)# download install-image <install_kit_name_and_location> from
<rsp_where_kit_present> to <ism_node_location>
Note
Step 7
For Cisco IOS XR Release 4.2.1, you can download the Install-Kit from the File Exchage Server
https://upload.cisco.com/cgi-bin/swc/fileexg/main.cgi?CONTYPES=IOS-XR
Wait for around 12-14 minutes for the card to come at SEOS-READY. Proceed with ServiceInfra
interface configuration.
Configuring the Service Role for the Carrier Grade IPv6
Perform this task to configure the service role on the specified location to start the CGv6 service.
Note
Removal of service role is strictly not recommended while the card is active. This puts the card into
FAILED state, which is service impacting.
SUMMARY STEPS
1.
configure
2.
hw-module service cgn location node-id
3.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
130
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
hw-module service cgn location node-id
Configures a CGv6 service role (cgn) on location
0/1/CPU0.
Example:
RP/0/RP0/CPU0:router(config)# hw-module service
cgn location 0/1/CPU0
Step 3
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Service Instance and Location for the Carrier Grade IPv6
Perform this task to configure the service instance and location for the CGv6 application.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-location preferred-active node-id
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
131
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-location preferred-active node-id
Configures the active locations for the CGv6 application.
Note
Example:
preferred-standby option is supported in Cisco
IOS XR Release 4.3.0 onwards for redundancy.
RP/0/RP0/CPU0:router(config-cgn)#
service-location preferred-active 0/1/CPU0
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Infrastructure Service Virtual Interface for the Carrier Grade
IPv6
Perform this task to configure the infrastructure service virtual interface (SVI) to forward the control
traffic. The subnet mask length must be at least 30 (denoted as /30).
Note
Do not remove or modify service infra interface configuration when the card is in Active state. The
configuration is service affecting and the line card must be reloaded for the changes to take effect.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
132
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring CGv6 on Cisco IOS XR Software
SUMMARY STEPS
1.
configure
2.
interface ServiceInfra value
3.
service-location node-id
4.
ipv4 address address/mask
5.
end
or
commit
6.
reload
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceInfra value
Configures the infrastructure service virtual interface (SVI)
as 1 and enters CGv6 configuration mode.
Example:
Note
RP/0/RP0/CPU0:router(config)# interface
ServiceInfra 1
RP/0/RP0/CPU0:router(config-if)#
Step 3
service-location node-id
Only one service infrastructure SVI can be
configured for a CGv6 instance.
Configures the location of the CGv6 service for the
infrastructure SVI.
Example:
RP/0/RP0/CPU0:router(config-if)#
service-location 0/1/CPU0
Step 4
ipv4 address address/mask
Sets the primary IPv4 address for an interface.
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address
1.1.1.1/30
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
133
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Step 6
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Once the configuration is complete, the card must be
reloaded for changes to take effect.
reload
Example:
RP/0/RP0/CPU0:Router#hw-mod location 0/3/cpu0
reload
WARNING: This will take the requested node out
of service.
Do you wish to continue?[confirm(y/n)] y
Configuring Different CGv6 Applications on ISM
These CGv6 applications are configured on ISM.
•
Configuring NAT44 on ISM, page 34
•
Configuring DS-Lite on ISM, page 82
•
Configuring Stateful NAT64 on ISM, page 119
•
Configuring MAP-T on ISM, page 163
•
Configuring 6RD on ISM, page 183
•
Configuring MAP-E on ISM, page 203
Configuring NAT44 on ISM
Perform these tasks to configure NAT44 on ISM.
•
Configuring the Application Service Virtual Interface, page 35
•
Configuring a NAT44 Instance, page 36
•
Configuring Many-to-One Mapping Limit for NAT44 over ISM, page 38
•
Configuring the Policy Functions, page 41
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
134
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring One-to-One Mapping for NAT44 over ISM, page 58
Configuring the Application Service Virtual Interface
The following section lists guidelines for selecting serviceapp interfaces for NAT44.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that
the ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with
ServiceApp2 or ServiceApp3 with ServiceApp4
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. However, maintaining a track of these associations can be error prone. For example,
ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10, ServiceApp3 with
ServiceApp8, or ServiceApp3 with ServiceApp12
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6. Although such
ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and Outside-to-Inside traffic
for the ServiceApp pair is halved.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
One ServiceApp pair can be used as inside and the other as outside.
Perform the following tasks to configure the application service virtual interface (SVI) to forward data
traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
service cgn instance-name service-type nat44
4.
vrf vrf-name
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
135
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI as 1 and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Step 3
service cgn instance-name service-type nat44
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config-if)# service cgn
cgn1
Step 4
vrf vrf-name
Configures the VPN routing and forwarding (VRF) for the
Service Application interface
Example:
RP/0/RP0/CPU0:router(config-if)# vrf insidevrf1
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a NAT44 Instance
Perform this task to configure a NAT44 instance.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
136
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 instance-name
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn nat44 instance-name
Configures the instance named cgn1 for the CGv6 NAT44
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
137
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring Many-to-One Mapping Limit for NAT44 over ISM
Perform this task to configure many-to-one mapping limit for private addresses in NAT44 over ISM.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
map ip many-to-one many-to-one limit
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
inside-vrf vrf-name
Configures an inside VRF named insidevrf1 and enters
CGv6 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 ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
138
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
map ip many-to-one many-to-one limit value
Configures many-to-one mapping limit for a CGv6 NAT44
instance. Specify the limit for the number of private
addresses to be mapped to a single public address. The
range for the value of this limit is 1 to 65,535.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# map ip
many-to-one 16
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring an Inside and Outside Address Pool Map
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.
•
Multiple non-overlapping address pools can be used in a specified outside VRF mapped to different
inside VRF.
•
Max Outside public pool per ISM/CGv6 instance is 64 K or 65536 addresses. That is, if a /16 address
pool is mapped, then we cannot map any other pool to that particular ISM.
•
Multiple inside vrf cannot be mapped to same outside address pool.
•
While Mapping Outside Pool Minimum value for prefix is 16 and maximum value is 30.
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
SUMMARY STEPS
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
139
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
5.
map [outside-vrf outside-vrf-name] address-pool address/prefix
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
inside-vrf vrf-name
Configures an inside VRF named insidevrf1 and enters
CGv6 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 ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
140
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
map [outside-vrf outside-vrf-name] address-pool
address/prefix
Configures an inside VRF to an outside VRF and address
pool mapping.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# map
outside-vrf outside vrf1 address-pool
10.10.0.0/16
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions.
•
Configuring the Port Limit Per Subscriber, page 41
•
Configuring the Timeout Value for the Protocol, page 43
•
Configuring FTP ALG, page 48
•
Configuring PPTP ALG, page 49
•
Configuring RTSP ALG, page 50
•
Configuring the TCP Adjustment Value for the Maximum Segment Size, page 52
•
Configuring the Refresh Direction for the Network Address Translation, page 54
•
Configuring Static Port Forwarding for Port Numbers, page 55
•
Configuring the Dynamic Port Ranges, page 57
Configuring the Port Limit Per Subscriber
Perform this task to configure the port limit per subscriber for the system that includes TCP, UDP, and
ICMP.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
141
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
portlimit value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
142
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
portlimit value
Limits the number of entries per address for each subscriber
of the system
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
portlimit 10
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout Value for the Protocol
•
Configuring the Timeout Value for the ICMP Protocol, page 43
•
Configuring the Timeout Value for the TCP Session, page 45
•
Configuring the Timeout Value for the UDP Session, page 46
Configuring the Timeout Value for the ICMP Protocol
Perform this task to configure the timeout value for the ICMP type for the CGv6 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
protocol icmp
5.
timeout seconds
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
143
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
protocol icmp
Example:
Configures the ICMP protocol session. The example shows
how to configure the ICMP protocol for the CGv6 instance
named cgn1.
RP/0/RP0/CPU0:router(config-cgn-nat44)#
protocol icmp
RP/0/RP0/CPU0:router(config-cgn-proto)#
Step 5
timeout seconds
Configures the timeout value as 908 for the ICMP session
for the CGv6 instance named cgn1.
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# timeout
908
Step 6
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-proto)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
144
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
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.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
protocol tcp
5.
session {active | initial} timeout seconds
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the TCP protocol session. The example shows
how to configure the TCP protocol for the CGv6 instance
named cgn1.
protocol tcp
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-proto)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
145
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
session {active | initial} timeout seconds
Configures the timeout value as 90 for the TCP session. The
example shows how to configure the initial session timeout.
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# session
initial timeout 90
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-proto)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout Value for the UDP Session
Perform this task to configure the timeout value for either the active or initial sessions for UDP.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
protocol udp
5.
session {active | initial} timeout seconds
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
146
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the UDP protocol sessions. The example shows
how to configure the TCP protocol for the CGv6 instance
named cgn1.
protocol udp
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
protocol udp
RP/0/RP0/CPU0:router(config-cgn-proto)#
Step 5
session {active | initial} timeout seconds
Configures the timeout value as 90 for the UDP session. The
example shows how to configure the active session timeout.
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# session
active timeout 90
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-proto)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
147
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring FTP ALG
Perform this task to configure FTP as the ALG for the specified NAT44 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 instance-name
4.
alg activeFTP
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for NAT44
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
148
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
alg activeFTP
Configures the FTP ALG on the NAT44 instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)# alg
activeFTP
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring PPTP ALG
Perform this task to configure PPTP as the ALG for the specified NAT44 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 instance-name
4.
alg pptpAlg
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
149
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for NAT44
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures PPTP as the ALG for the NAT44 instance.
alg pptpAlg
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)# alg
pptpAlg
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring RTSP ALG
Perform this task to configure RTSP as the ALG for the specified NAT44 instance. RTSP packets are
usually destined to port 554. But this is not always true because RTSP port value can be configured.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
150
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 instance-name
4.
alg rtsp server-port value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for NAT44
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
151
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
alg rtsp [server-port] value
Configures the rtsp ALG on the NAT44 instance for server
port 5000. The range is from 1 to 65535. The default port is
554.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)# alg
rtsp server-port 5000
Caution
Step 5
The option of specifying a server
port) is currently not supported. Even
if you configure some port, RTSP
works only on the default port (554).
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the TCP Adjustment Value for the Maximum Segment Size
Perform this task to configure the adjustment value for the maximum segment size (MSS) for the VRF.
You can configure the TCP MSS adjustment value on each VRF.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
protocol tcp
6.
mss size
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
152
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)#
service-location preferred-active 0/1/CPU0
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 inside VRF configuration mode.
inside-vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 5
Configures the TCP protocol session and enters CGv6
inside VRF AFI protocol configuration mode.
protocol tcp
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-invrf-proto)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
153
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
mss size
Configures the adjustment MSS value as 1100 for the inside
VRF.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi-proto
)# mss 1100
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-proto)# e
nd
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-proto)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Refresh Direction for the Network Address Translation
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 ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
154
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
refresh-direction Outbound
Configures the NAT mapping refresh direction as outbound
for the CGv6 instance named cgn1.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-proto)#refreshdirection Outbound
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Static Port Forwarding for Port Numbers
Perform this task to configure static port forwarding for reserved or nonreserved port numbers.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
155
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
protocol tcp
6.
static-forward inside
7.
address address port number
8.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
inside-vrf vrf-name
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 inside VRF configuration mode.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 5
protocol tcp
Configures the TCP protocol session and enters CGv6
inside VRF AFI protocol configuration mode.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-invrf-proto)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
156
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
static-forward inside
Configures the CGv6 static port forwarding entries on
reserved or nonreserved ports and enters CGv6 inside static
port inside configuration mode.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-proto)#
static-forward inside
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)#
Step 7
address address port number
Configures the CGv6 static port forwarding entries for the
inside VRF.
Example:
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)# address 1.2.3.4 port 90
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Dynamic Port Ranges
Perform this task to configure dynamic port ranges for TCP, UDP, and ICMP ports. The default value
range of 0 to 1023 is preserved and not used for dynamic translations. Therefore, if the value of dynamic
port range start is not configured explicitly, the dynamic port range value starts at 1024.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
dynamic port range start value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
157
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
dynamic port range start value
Example:
Configures the value of dynamic port range start for a
CGv6 NAT 44 instance. The value can range from 1 to
65535.
RP/0/RP0/CPU0:router(config-cgn-nat44)# dynamic
port range start 1024
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ivrf-sport-insi
de)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring One-to-One Mapping for NAT44 over ISM
Perform this task to configure one-to-one mapping for private addresses in NAT44 over ISM.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
158
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
map ip one-to-one
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures an inside VRF named insidevrf1 and enters
CGv6 inside VRF configuration mode.
inside-vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
159
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
map ip one-to-one
Configures one-to-one mapping for a CGv6 NAT44
instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# map ip
one-to-one
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Many-to-One Mapping Limit for NAT44 over ISM
Perform this task to configure many-to-one mapping limit for private addresses in NAT44 over ISM.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
map ip many-to-one many-to-one limit
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
160
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures an inside VRF named insidevrf1 and enters
CGv6 inside VRF configuration mode.
inside-vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44)#
inside-vrf insidevrf1
RP/0/RP0/CPU0:router(config-cgn-invrf)#
Step 5
map ip many-to-one many-to-one limit
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)# map ip
many-to-one 16
Step 6
Configures many-to-one mapping limit for a CGv6 NAT44
instance. Specify the limit for the number of private
addresses to be mapped to a single public address. The
range for the value of this limit is 1 to 65,535.
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-invrf-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
161
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring External Logging for the NAT Table Entries
Perform the following to configure external logging for NAT table entries.
•
Netflow Logging, page 62
•
Syslog Logging, page 70
•
Bulk Port Allocation, page 76
•
Destination-Based Logging for NAT44, page 78
Netflow Logging
Perform the following tasks to configure Netflow Logging for NAT table entries.
•
Configuring the Server Address and Port for Netflow Logging, page 62
•
Configuring the Path Maximum Transmission Unit for Netflow Logging, page 64
•
Configuring the Refresh Rate for Netflow Logging, page 66
•
Configuring the Timeout for Netflow Logging, page 68
Configuring the Server Address and Port for Netflow Logging
Perform this task to configure the server address and port to log network address translation (NAT) table
entries for Netflow logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging netflow version 9
6.
server
7.
address address port number
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
162
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
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 CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
163
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
address address port number
Configures the IPv4 address and port number 45 to log
Netflow entries for the NAT table.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# address 2.3.4.5 port 45
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Path Maximum Transmission Unit for Netflow Logging
Perform this task to configure the path maximum transmission unit (MTU) for the netflowv9-based
external-logging facility for the inside VRF.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging netflow version 9
6.
server
7.
path-mtu value
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
164
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
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 CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
165
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
path-mtu value
Configures the path MTU with the value of 200 for the
netflowv9-based external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# path-mtu 200
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Refresh Rate for Netflow Logging
Perform this task to configure the refresh rate at which the Netflow-v9 logging templates are refreshed
or resent to the Netflow-v9 logging server.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging netflow version 9
6.
server
7.
refresh-rate value
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
166
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
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 and enters CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
167
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
refresh-rate value
Configures the refresh rate value of 50 to log Netflow-based
external logging information for an inside VRF.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# refresh-rate 50
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout for Netflow Logging
Perform this task to configure the frequency in minutes at which the Netflow-V9 logging templates are
to be sent to the Netflow-v9 logging server.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging netflow version 9
6.
server
7.
timeout value
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
168
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging netflowv9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
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 CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
169
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
timeout value
Configures the timeout value of 50 for Netflow logging of
NAT table entries for an inside VRF.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# timeout 50
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Syslog Logging
Perform the following tasks to configure Syslog Logging for NAT table entries.
•
Configuring the Server Address and Port for Syslog Logging, page 70
•
Configuring the Host-Name for Syslog Logging, page 72
•
Configuring the Path Maximum Transmission Unit for Syslog Logging, page 74
Configuring the Server Address and Port for Syslog Logging
Perform this task to configure the server address and port to log NAT table entries for Syslog logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging syslog
6.
server
7.
address address port number
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
170
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
8.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
171
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
address address port number
Configures the IPv4 address and port number 45 to log
Netflow entries for the NAT table.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# address 2.3.4.5 port 45
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Host-Name for Syslog Logging
Perform this task to configure the host name to be filled in the Netflow header for the syslog logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging syslog
6.
server
7.
host-name name
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
172
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
173
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
host-name name
Configures the host name for the syslog-based
external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# host-name host1
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Path Maximum Transmission Unit for Syslog Logging
Perform this task to configure the path maximum transmission unit (MTU) for the syslog-based
external-logging facility for the inside VRF.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging syslog
6.
server
7.
path-mtu value
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
174
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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 5
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 inside VRF address
family external logging configuration mode.
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
inside VRF address family external logging server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
configuration mode.
)# server
server
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
175
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
path-mtu value
Configures the path MTU with the value of 200 for the
syslog-based external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# path-mtu 200
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Bulk Port Allocation
Perform this task to configure bulk port allocation to reduce Netflow or Syslog data volume.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-instance
5.
bulk-port-alloc size number of ports
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
176
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for CGv6
NAT44 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
Configures the inside VRF for the CGv6 instance named
cgn1 and enters CGv6 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)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
177
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
bulk-port-alloc size number of ports
Allocate ports in bulk to reduce Netflow/Syslog data
volume.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44-invrf-)#
bulk-port-alloc size 64
RP/0/RP0/CPU0:router(config-cgn-nat44-invrf)
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat44-invrf)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat44-invrf)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Destination-Based Logging for NAT44
Perform these tasks to configure destination-based logging for NAT table entries.
•
Configuring the Session-Logging for Netflow Logging, page 78
•
Configuring the Session-Logging for Syslog Logging, page 80
Configuring the Session-Logging for Netflow Logging
Perform this task to configure session-logging if destination IP and Port information needs to logged in
the Netflow records.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging netflow version 9
6.
server
7.
session-logging
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
178
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
8.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for NAT44
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
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 5
external-logging netflowv9
Configures the external-logging facility for the NAT44
instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
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)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
179
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
session-logging
Configures the session logging for a NAT44 instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# session-logging
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Session-Logging for Syslog Logging
Perform this task to configure session-logging if destination IP and Port information needs to logged in
the Netflow records.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat44 nat1
4.
inside-vrf vrf-name
5.
external-logging syslog
6.
server
7.
session-logging
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
180
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type nat44 nat1
Configures the service type keyword definition for NAT44
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat44 nat1
Step 4
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 5
external-logging syslog
Configures the external-logging facility for the NAT44
instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
)#
Step 6
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-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)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
181
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 7
Command or Action
Purpose
session-logging
Configures the session logging for a NAT44 instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# session-logging
Step 8
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-invrf-af-extlog
-server)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring DS-Lite on ISM
Perform these tasks to configure DS-Lite on ISM.
•
Configuring the Application Service Virtual Interface, page 82
•
Configuring a DS Lite Instance, page 84
•
Configuring the Policy Functions, page 85
•
Configuring External Logging, page 101
Configuring the Application Service Virtual Interface
The following section lists guidelines for selecting serviceapp interfaces for DS-Lite.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that
the ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with
ServiceApp2 or ServiceApp3 with ServiceApp4
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. However, maintaining a track of these associations can be error prone. For example,
ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10, ServiceApp3 with
ServiceApp8, or ServiceApp3 with ServiceApp12
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
182
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6. Although such
ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and Outside-to-Inside traffic
for the ServiceApp pair is halved.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
One ServiceApp pair can be used as inside and the other as outside.
Perform the following tasks to configure the application service virtual interface (SVI) to forward data
traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
service cgn instance-name service-type ds-lite
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI as 1 and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
183
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 3
Command or Action
Purpose
service cgn instance-name service-type ds-lite
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config-if)# service cgn
cgn1 service-type ds-lite ds-lite1
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a DS Lite Instance
Perform this task to configure an instance of the DS-Lite application.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance name
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
184
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions:
•
Configuring IPv6 Tunnel Endpoint Address, page 86
•
Configuring the FTP ALG, page 87
•
Configuring the RTSP ALG, page 88
•
Configuring an Address Pool Map, page 90
•
Configuring the Path Maximum Transmission Unit, page 91
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
185
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring the Port Limit Per Subscriber, page 93
•
Configuring the Timeout Value for the Protocol, page 94
•
Configuring the TCP Adjustment Value for the Maximum Segment Size, page 99
Configuring IPv6 Tunnel Endpoint Address
Perform this task to configure the IPv6 tunnel endpoint address:
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance name
4.
aftr-tunnel-endpoint-address X:X::X IPv6 address
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
186
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
aftr-tunnel-endpoint-address X:X::X IPv6
address
Configures an IPv6 tunnel endpoint address.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
aftr-tunnel-endpoint-address 10:2::10
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the FTP ALG
Perform this task to configure the FTP ALG for the specified DS-Lite instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
alg ftp
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
187
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for DS-Lite
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
Configures the FTP ALG on the DS-Lite instance.
alg ftp
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# alg
ftp
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the RTSP ALG
Perform this task to configure the ALG for the rtsp for the specified DS-Lite instance. RTSP packets are
usually destined to port 554. But this is not always true because RTSP port value is configurable.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
188
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
alg rtsp {server-port} value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for DS-Lite
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
189
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
alg rtsp [server-port] value
Configures the rtsp ALG on the DS-Lite instance for server
port 5000. The range is from 1 to 65535. The default port is
554.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# alg
rtsp server-port 5000
Caution
Step 5
The option of specifying a server
port) is currently not supported. Even
if you configure some port, RTSP
works only on the default port (554).
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring an Address Pool Map
Perform this task to configure an address pool map.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance name
4.
map address-pool address/prefix
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
190
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
map address-pool address/prefix
Configures an address pool mapping.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# map
address-pool 10.10.0.0/16
or
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# map
address-pool 100.1.0.0/16
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Path Maximum Transmission Unit
Perform this task to configure the path maximum transmission unit (MTU):
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
191
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance name
4.
path-mtu value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
192
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
path-mtu value
Configures the path MTU with the value of 2000 for the
ds-lite instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
path-mtu 2000
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Port Limit Per Subscriber
Perform this task to configure the port limit per subscriber for the system that includes TCP, UDP, and
ICMP.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
port-limit value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
193
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 4
port-limit value
Configures the port value that restricts the number of
translations for the ds-lite instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
port-limit 65
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout Value for the Protocol
•
Configuring the Timeout Value for the ICMP Protocol, page 95
•
Configuring the Timeout Value for the TCP Session, page 96
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
194
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring the Timeout Value for the UDP Session, page 98
Configuring the Timeout Value for the ICMP Protocol
Perform this task to configure the timeout value for the ICMP type.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
protocol icmp
5.
timeout seconds
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 4
Configures the ICMP protocol session.
protocol icmp
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
protocol icmp
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
195
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
timeout seconds
Configures the timeout value for the ICMP session.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
timeout 90
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
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.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
protocol tcp
5.
session {active | init} timeout seconds
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
196
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 4
Configures the TCP protocol session.
protocol tcp
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
Step 5
session {active | initial} timeout seconds
Configures the timeout value for the TCP session. The
example shows how to configure the initial session timeout.
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# session
initial timeout 90
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
197
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring the Timeout Value for the UDP Session
Perform this task to configure the timeout value for either the active or initial sessions for UDP.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
protocol udp
5.
session {active | init} timeout seconds
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 4
protocol udp
Configures the UDP protocol session.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
protocol icmp
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
198
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
session {active | initial} timeout seconds
Configures the timeout value for the UDP session. The
example shows how to configure the initial session timeout.
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# session
initial timeout 90
Step 6
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the TCP Adjustment Value for the Maximum Segment Size
Perform this task to configure the adjustment value for the maximum segment size (MSS).
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
protocol tcp
5.
mss size
6.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
199
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 4
protocol tcp
Configures the TCP protocol session.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
protocol tcp
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)
Step 5
mss size
Configures maximum segment size value for TCP sessions
for a ds-lite instance
Example:
RP/0/RP0/CPU0:router(config-cgn-proto)# mss 90
Step 6
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-proto)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1100
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring External Logging
Perform the following to configure external logging for DS-Lite entries.
•
Netflow Logging, page 101
•
Syslog Logging, page 108
•
Bulk Port Allocation, page 114
•
Destination-Based Logging for DS-Lite, page 115
Netflow Logging
Perform these tasks to configure Netflow Logging for DS-Lite entries.
•
Configuring the Server Address and Port for Netflow Logging, page 101
•
Configuring the Path Maximum Transmission Unit for Netflow Logging, page 103
•
Configuring the Refresh Rate for Netflow Logging, page 104
•
Configuring the Timeout for Netflow Logging, page 106
Configuring the Server Address and Port for Netflow Logging
Perform this task to configure the server address and port for Netflow logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging netflow9
5.
server
6.
address address port number
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1101
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 3
Command or Action
Purpose
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
Step 4
external-logging netflow9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
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 CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Step 6
address address port number
Configures the IPv4 address and port number to log Netflow
entries for the DS-Lite instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# address 10.3.20.130 port 45
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)
Step 7
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1102
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring the Path Maximum Transmission Unit for Netflow Logging
Perform this task to configure the path maximum transmission unit (MTU) for the netflow9-based
external-logging facility.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging netflow9
5.
server
6.
path-mtu value
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
Step 4
external-logging netflow9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1103
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Command or Action
Step 5
Purpose
Configures the logging server information for the IPv4
address and port for the server that is used for the
netflow9-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Step 6
Configures the path MTU with the value of 200 for the
netflowv9-based external-logging facility.
path-mtu value
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# path mtu 200
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Refresh Rate for Netflow Logging
Perform this task to configure the refresh rate at which the Netflow-9 logging templates are refreshed or
resent to the Netflow-9 logging server:
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging netflow9
5.
server
6.
refresh-rate value
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1104
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
Step 4
external-logging netflowv9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
Configures the logging server information for the IPv4
address and port for the server that is used for the
netflow9-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1105
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
refresh-rate value
Configures the refresh rate value of 200 to log
Netflow-based external logging information.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# refresh-rate 200
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout for Netflow Logging
Perform this task to configure the frequency in minutes at which the Netflow-9 logging templates are to
be sent to the Netflow-9 logging server:
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging netflow9
5.
server
6.
timeout value
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1106
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite instance-name
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
Step 4
external-logging netflow9
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
Configures the logging server information for the IPv4
address and port for the server that is used for the
netflow9-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1107
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
timeout value
Configures the timeout value of 200 for Netflow logging of
the DS-Lite instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# timeout 200
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Syslog Logging
Perform the following tasks to configure Syslog Logging for DS-Lite entries.
•
Configuring the Server Address and Port for Syslog Logging, page 108
•
Configuring the Host-Name for Syslog Logging, page 110
•
Configuring the Path Maximum Transmission Unit for Syslog Logging, page 112
Configuring the Server Address and Port for Syslog Logging
Perform this task to configure the server address and port to log DS-Lite entries for Syslog logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging syslog
5.
server
6.
address address port number
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1108
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1109
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
address address port number
Configures the IPv4 address and port number 45 to log
Netflow entries.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# address 2.3.4.5 port 45
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Host-Name for Syslog Logging
Perform this task to configure the host name to be filled in the Netflow header for the syslog logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging syslog
5.
server
6.
host-name name
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1110
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1111
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
host-name name
Configures the host name for the syslog-based
external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# host-name host1
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Path Maximum Transmission Unit for Syslog Logging
Perform this task to configure the path maximum transmission unit (MTU) for the syslog-based
external-logging facility.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging syslog
5.
server
6.
path-mtu value
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1112
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
external-logging syslog
Example:
Configures the external-logging facility for the CGv6
instance named cgn1 and enters CGv6 external logging
configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility and enters CGv6
Example:
external logging server configuration mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
server
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1113
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
path-mtu value
Configures the path MTU with the value of 200 for the
syslog-based external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# path-mtu 200
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Bulk Port Allocation
Perform this task to configure bulk port allocation to reduce Netflow or Syslog data volume.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite ds-lite1
4.
bulk-port-alloc size number of ports
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1114
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for CGv6
DS-Lite application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
bulk-port-alloc size number of ports
Allocate ports in bulk to reduce Netflow/Syslog data
volume.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
bulk-port-alloc size 64
RP/0/RP0/CPU0:router(config-cgn-ds-lite)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Destination-Based Logging for DS-Lite
Perform these tasks to configure destination-based logging for DS-Lite entries.
•
Configuring Session-Logging for Netflow Logging, page 116
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1115
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring the Session-Logging for Syslog Logging, page 117
Configuring Session-Logging for Netflow Logging
Perform this task to configure session-logging if destination IP and Port information needs to logged in
the Netflow records.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite ds-lite1
4.
external-logging netflow9
5.
server
6.
session-logging
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for DS-Lite
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
external-loging netflow9
Configures the external-logging facility for the DS-Lite
instance.
Example:
RP/0/RP0/CPU0:router(config-cgn)#
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1116
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 5
Command or Action
Purpose
server
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow-9
based external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Step 6
Configures the session logging for a DS-Lite instance.
session-logging
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# session-logging
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Session-Logging for Syslog Logging
Perform this task to configure session-logging if destination IP and Port information needs to logged in
the Netflow records.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type ds-lite instance-name
4.
external-logging syslog
5.
server
6.
session-logging
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1117
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
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)#
Step 3
service-type ds-lite ds-lite1
Configures the service type keyword definition for DS-Lite
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
ds-lite ds-lite1
Step 4
external-logging syslog
Configures the external-logging facility for the DS-Lite
instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite)#
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
#
Step 5
server
Example:
Configures the logging server information for the IPv4
address and port for the server that is used for the
syslog-based external-logging facility.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)
# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1118
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
session-logging
Configures the session logging for a DS-Lite instance.
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# session-logging
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlogserver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Stateful NAT64 on ISM
Perform these tasks to configure Stateful NAT64 on ISM.
•
Configuring the Application Service Virtual Interface, page 119
•
Configuring a Stateful NAT64 Instance, page 121
•
Configuring the Policy Functions, page 122
•
Configuring External Logging, page 153
Configuring the Application Service Virtual Interface
The following section lists guidelines for selecting serviceapp interfaces for Stateful NAT64.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that
the ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with
ServiceApp2 or ServiceApp3 with ServiceApp4
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. However, maintaining a track of these associations can be error prone. For example,
ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10, ServiceApp3 with
ServiceApp8, or ServiceApp3 with ServiceApp12
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1119
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6. Although such
ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and Outside-to-Inside traffic
for the ServiceApp pair is halved.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
One ServiceApp pair can be used as inside and the other as outside.
Perform the following tasks to configure the application service virtual interface (SVI) to forward data
traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
service cgn instance-name service-type nat64 stateful
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI as 1 and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1120
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 3
Command or Action
Purpose
service cgn instance-name service-type nat64
stateful
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config-if)# service cgn
cgn1 service-type nat64 stateful nat1
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a Stateful NAT64 Instance
Perform this task to configure a stateful NAT64 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1121
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions.
•
Configuring Address Family, page 123
•
Configuring RTSP ALG, page 135
•
Configuring Dynamic Port Range, page 137
•
Configuring Filter-Policy, page 138
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1122
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring Fragment-Timeout, page 139
•
Configuring an IPv4 Address Pool, page 141
•
Configuring an IPv6-Prefix, page 142
•
Configuring Portlimit per Subscriber, page 144
•
Configuring the Timeout Value for ICMP, TCP and UDP Sessions, page 146
•
Configuring the Timeout Value for ICMP, TCP and UDP Sessions per Address and Port, page 147
•
Configuring the Timeout Value for IPv4 Initiated Sessions, page 149
•
Configuring TCP Policy, page 150
•
Configuring Ubit-Reserved, page 151
Configuring Address Family
•
Configuring IPv4 Address Family, page 123
•
Configuring IPv6 Address Family, page 128
Configuring IPv4 Address Family
•
Configuring an IPv4 Interface, page 123
•
Configuring IPv4 TCP Maximum Segment Size (MSS), page 125
•
Configuring IPv4 Type of Service (ToS), page 126
Configuring an IPv4 Interface
Perform this task to configure an IPv4 interface for a stateful NAT64 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv4 interface ServiceApp number
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1123
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
address-family ipv4 interface ServiceApp number
Configures the IPv4 interface to divert Ipv4 nat64 traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv4 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1124
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring IPv4 TCP Maximum Segment Size (MSS)
Perform this task to configure the MSS for TCP in bytes.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv4 tcp mss value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1125
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv4 tcp mss value
Configures the MSS for TCP in bytes.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv4 tcp mss 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv4 Type of Service (ToS)
Perform this task to configure the configure ToS value to be used when translating a packet from IPv6
to IPv4.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv4 tos value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1126
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
address-family ipv4 tos value
Configures the ToS value.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv4 tos 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1127
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring IPv6 Address Family
•
Configuring IPv6 Do not Fragment (DF) Override, page 128
•
Configuring an IPv6 Interface, page 129
•
Configuring IPv6 Reset Maximum Transmission Unit (MTU) for an ICMP Protocol, page 131
•
Configuring IPv6 TCP Maximum Segment Size (MSS), page 132
•
Configuring IPv6 Traffic-Class, page 134
Configuring IPv6 Do not Fragment (DF) Override
Perform this task to enable DF override configuration.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv6 df-override
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1128
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 df-override
Configures the DF-Override.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv6 df-override
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring an IPv6 Interface
Perform this task to configure an IPv6 interface for a stateful NAT64 instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv6 interface ServiceApp number
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1129
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
address-family ipv6 interface ServiceApp number
Configures the IPv6 interface to divert IPv6 nat64 traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv6 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1130
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring IPv6 Reset Maximum Transmission Unit (MTU) for an ICMP Protocol
Perform this task to reset the MTU for an ICMP protocol.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv6 protocol icmp reset-mtu
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1131
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 protocol icmp reset-mtu
Resets the MTU value of the ICMP protocol packet.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv6 protocol icmp reset-mtu
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 TCP Maximum Segment Size (MSS)
Perform this task to configure the MSS for TCP in bytes.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv6 tcp mss value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1132
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
address-family ipv6 tcp mss value
Configures the MSS for TCP in bytes.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv6 tcp mss 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1133
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring IPv6 Traffic-Class
Perform this task to configure a traffic-class.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
address-family ipv6 traffic-class value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1134
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 traffic-class value
Configures the traffic class to be set.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#address-family ipv6 traffic-class 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring RTSP ALG
Perform this task to configure RTSP as the ALG for the specified Stateful NAT64 instance. RTSP packets
are usually destined to port 554. But this is not always true because RTSP port value can be configured.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
alg rtsp server-port value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1135
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
alg rtsp server-port value
Configures the server port for RTSP. The default port is 554.
The range is from 1 to 65535.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#alg rtsp server-port 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stful-afi
)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1136
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring Dynamic Port Range
Perform this task to configure a dynamic port range.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
dynamic-port-range start port number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1137
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
dynamic-port-range start port number
Configures the port range from 1 to 65535.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#dynamic-port-range start 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Filter-Policy
Perform this task to configure the filter policy.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
filter-policy
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1138
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
Configures the address-dependent filtering policy.
filter-policy
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#filter-policy
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Fragment-Timeout
Perform this task to configure the time interval to store packet fragments.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1139
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
fragment-timeout value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1140
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
fragment-timeout value
Configures the time interval, in seconds, to store packet
fragments.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#fragment-timeout 6
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring an IPv4 Address Pool
Perform this task to configure an IPv4 address pool.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
ipv4 address-pool address/prefix
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1141
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
ipv4 address-pool address/prefix
Configures an IPv4 address pool.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#ipv4 address-pool 10.2.2.24/32
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring an IPv6-Prefix
Perform this task to configure an IPv6 prefix.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1142
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
ipv6-prefix address/prefix
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1143
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
ipv6-prefix address/prefix
Configures the IPv6 prefix that is used to convert
destination IPv6 address to an external destination IPv4
address.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#ipv6-prefix 2001:db8::/32
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Portlimit per Subscriber
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 ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1144
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
Configures a value to restict the number of ports used by an
IPv6 address.
portlimit value
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#portlimit 66
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1145
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring the Timeout Value for ICMP, TCP and UDP Sessions
Perform this task to configure the timeout value for ICMP, TCP or UDP sessions for a stateful NAT64
instance:
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
protocol tcp session {active | initial} timeout value
protocol {icmp | udp} timeout value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1146
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
protocol tcp session {active | initial} timeout
value
Configures the timeout value, in seconds, for ICMP and
UDP.
or
protocol {icmp | udp} timeout value
Configures the initial and active session timeout values for
TCP.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#protocol tcp session active timeout 90
or
protocol icmp timeout 90
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout Value for ICMP, TCP and UDP Sessions per Address and Port
Perform this task to configure the timeout value for ICMP, TCP or UDP sessions for any given IPv4
address and port.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
protocol {icmp | tcp | udp} address IPv4 address port port number timeout value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1147
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
protocol {icmp | tcp | udp} address IPv4
address port port number timeout value
Configures the timeout value, in seconds, for the specified
address and port.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#protocol icmp address 10.2.2.24 port 66
timeout 777
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1148
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring the Timeout Value for IPv4 Initiated Sessions
Perform this task to configure the timeout value for IPv4 sessions:
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
protocol {icmp | tcp | udp} v4-init-timeout value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1149
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
protocol {icmp | tcp | udp} v4-init-timeout
value
Configures the timeout value, in seconds, for IPv4 sessions.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#protocol icmp v4-init-timeout 777
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring TCP Policy
Perform this task to enable or disable IPv4 initiated sessions.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
tcp-policy
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1150
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
Enables or disables IPv4 initiated sessions.
tcp-policy
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#tcp-policy
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Ubit-Reserved
Perform this task to enable reserving ubits in IPv6 addresses.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1151
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
ubit-reserved
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6
Stateful NAT64 application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1152
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
ubit-reserved
Enables reserving ubits in IPv6 addresses.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#ubit-reserved
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring External Logging
Perform these tasks to configure external logging for Stateful NAT64 entries.
•
Configuring the Server Address and Port for Netflow Logging, page 153
•
Configuring the Path Maximum Transmission Unit for Netflow Logging, page 155
•
Configuring the Refresh Rate for Netflow Logging, page 157
•
Configuring Session Logging for Netflow Logging, page 159
•
Configuring the Timeout for Netflow Logging, page 161
Configuring the Server Address and Port for Netflow Logging
Perform this task to configure the server address and port.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
external-logging netflowversion 9
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1153
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
5.
server
6.
address ipv4 address port number
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance and enters CGv6 external logging configuration
mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
Step 5
server
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
server
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)#
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow
version 9-based external-logging facility and enters CGv6
external logging server configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1154
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
address ipv4 address port number
Configures the IPv4 address and port number to log Netflow
entries.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# address 10.3.20.130 port 45
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Path Maximum Transmission Unit for Netflow Logging
Perform this task to configure the path maximum transmission unit (MTU).
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
external-logging netflow version 9
5.
server
6.
path-mtu value
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1155
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance and enters CGv6 external logging configuration
mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
Step 5
server
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
server
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)#
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow
version 9-based external-logging facility and enters CGv6
external logging server configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1156
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
path-mtu value
Configures the path MTU for the netflow version 9-based
external-logging facility.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# path-mtu 120
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Refresh Rate for Netflow Logging
Perform this task to configure the refresh rate.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
external-logging netflow version 9
5.
server
6.
refresh-rate value
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1157
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance and enters CGv6 external logging configuration
mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
Step 5
server
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
server
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)#
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow
version 9-based external-logging facility and enters CGv6
external logging server configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1158
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
refresh-rate value
Configures the refresh rate value netflow-based external
logging information.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# refresh-rate 120
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Session Logging for Netflow Logging
Perform this task to configure session logging.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
external-logging netflow version 9
5.
server
6.
session-logging
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1159
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance and enters CGv6 external logging configuration
mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
Step 5
server
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
server
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)#
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow
version 9-based external-logging facility and enters CGv6
external logging server configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1160
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
session-logging
Configures session-logging.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# session-logging
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Timeout for Netflow Logging
Perform this task to configure the frequency in minutes at which the Netflow-version 9 logging templates
are to be sent to the Netflow-v9 logging server.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type nat64 stateful instance-name
4.
external-logging netflow
5.
server
6.
timeout value
7.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1161
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type nat64 stateful instance-name
Configures the service type keyword definition for CGv6.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
nat64 stateful nat64-inst
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
#
Step 4
external-logging netflow version 9
Example:
Configures the external-logging facility for the CGv6
instance and enters CGv6 external logging configuration
mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-stateful)
# external-logging netflow version 9
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
Step 5
server
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog)#
server
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)#
Configures the logging server information for the IPv4
address and port for the server that is used for the netflow
version 9-based external-logging facility and enters CGv6
external logging server configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1162
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 6
Command or Action
Purpose
timeout value
Configures the timeout value in minutes. The range is from
1 to 3600.
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# timeout 660
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)
Step 7
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-nat64-extlog-se
rver)# commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring MAP-T on ISM
Perform these tasks to configure MAP-T on ISM.
•
Configuring the Application Service Virtual Interface, page 163
•
Configuring a MAP-T Instance, page 165
•
Configuring the Policy Functions, page 166
Configuring the Application Service Virtual Interface
The following section lists guidelines for selecting serviceapp interfaces for MAP-T.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that
the ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with
ServiceApp2 or ServiceApp3 with ServiceApp4
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. However, maintaining a track of these associations can be error prone. For example,
ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10, ServiceApp3 with
ServiceApp8, or ServiceApp3 with ServiceApp12
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1163
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6. Although such
ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and Outside-to-Inside traffic
for the ServiceApp pair is halved.
•
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped becasue traffic flows in the wrong dispatcher and core.
Perform this task to configure the application service virtual interface (SVI) to forward data traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
service cgn instance-name service-type map-t
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI as 1 and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1164
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 3
Command or Action
Purpose
service cgn instance-name service-type map-t
Configures the instance named cgn1 for the CGv6
application and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config-if)# service cgn
cgn1 service-type map-t map1
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a MAP-T Instance
Perform this task to configure a MAP-T instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1165
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions.
•
Configuring Address Family, page 167
•
Configuring Contiguous Ports, page 177
•
Configuring Customer Premise Equipment Domain Parameters, page 178
•
Configuring External Domain Parameters, page 180
•
Configuring Port Sharing Ratio, page 181
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1166
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring Address Family
Perform these tasks to configure address family.
•
Configuring IPv4 Address Family, page 167
•
Configuring IPv6 Address Family, page 171
Configuring IPv4 Address Family
Perform these tasks configure IPv4 address family for a MAP-T instance.
•
Configuring an IPv4 Interface, page 167
•
Configuring IPv4 TCP Maximum Segment Size (MSS), page 168
•
Configuring IPv4 Type of Service (ToS), page 169
Configuring an IPv4 Interface
Perform this task to configure an IPv4 interface for a MAP-T instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv4 interface ServiceApp number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1167
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv4 interface ServiceApp number
Configures the IPv4 interface to divert IPv4 map-t traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv4 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv4 TCP Maximum Segment Size (MSS)
Perform this task to configure the MSS for TCP in bytes.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv4 tcp mss value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1168
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
address-family ipv4 tcp mss value
Configures the MSS for TCP in bytes.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv4 tcp mss 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv4 Type of Service (ToS)
Perform this task to configure the configure ToS value to be used when translating a packet from IPv6
to IPv4.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1169
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv4 tos value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1170
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv4 tos value
Configures the ToS value.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv4 tos 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 Address Family
Perform these tasks configure an IPv6 address family.
•
Configuring IPv6 Do not Fragment (DF) Override, page 171
•
Configuring an IPv6 Interface, page 173
•
Configuring IPv6 TCP Maximum Segment Size (MSS), page 174
•
Configuring IPv6 Traffic-Class, page 175
Configuring IPv6 Do not Fragment (DF) Override
Perform this task to enable DF override configuration.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv6 df-override
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1171
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
address-family ipv6 df-override
Configures the DF-Override.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv6 df-override
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1172
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring an IPv6 Interface
Perform this task to configure an IPv6 interface.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv6 interface ServiceApp number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1173
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 interface ServiceApp number
Configures the IPv6 interface to divert IPv6 nat64 traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv6 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 TCP Maximum Segment Size (MSS)
Perform this task to configure the MSS for TCP in bytes.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv6 tcp mss value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1174
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
address-family ipv6 tcp mss value
Configures the MSS for TCP in bytes.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv6 tcp mss 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 Traffic-Class
Perform this task to configure a traffic-class.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1175
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
address-family ipv6 traffic-class value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1176
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 traffic-class value
Configures the traffic class to be set.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#address-f
amily ipv6 traffic-class 66
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Contiguous Ports
Perform this task to configure contiguous ports.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
contiguous-ports number
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1177
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
contiguous-ports number
Configures the number of ports and the value is expressed
in powers of 2. The range is from 1 to 65536.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#contiguou
s-ports 14
RP/0/RP0/CPU0:router(config-cgn-mapt)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Customer Premise Equipment Domain Parameters
Perform this task to configure Customer Premise Equipment (CPE) domain parameters.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1178
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
cpe-domain ipv4 prefix ipv4 address/prefix
cpe-domain ipv6 prefix ipv6 address/prefix
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1179
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
cpe-domain ipv4 prefix ipv4 address/prefix
Configures the cpe domain parameters.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#cpe-domai
n ipv4 prefix 10.2.2.24/2
RP/0/RP0/CPU0:router(config-cgn-mapt)
or
cpe-domain ipv6 prefix ipv6 address/prefix
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#cpe-domai
n ipv6 prefix 10:2::2/24
RP/0/RP0/CPU0:router(config-cgn-mapt)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring External Domain Parameters
Perform this task to configure external domain parameters.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
external-domain ipv6 prefix ipv6 address/prefix
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1180
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Step 4
external-domain ipv6 prefix ipv6 address/prefix
Configures the external domain parameters.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#externaldomain ipv6 prefix 10:2::2/24
RP/0/RP0/CPU0:router(config-cgn-mapt)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Port Sharing Ratio
Perform this task to configure port sharing ratio.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1181
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-t instance-name
4.
sharing-ratio number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-t instance-name
Configures the service type keyword definition for CGv6
MAP-T application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-t map-t-inst
RP/0/RP0/CPU0:router(config-cgn-mapt)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1182
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
sharing-ratio number
Configures the port sharing ratio and the value is expressed
in powers of 2. The range is from 1 to 32768.
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)#sharing-r
atio 14
RP/0/RP0/CPU0:router(config-cgn-mapt)
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-mapt)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-mapt)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring 6RD on ISM
Perform these tasks to configure 6RD on ISM.
•
Configuring the Application Service Virtual Interface, page 183
•
Configuring a 6RD Instance, page 185
•
Configuring the Policy Functions, page 186
Configuring the Application Service Virtual Interface
This section lists the guidelines for selecting service application interfaces for 6RD.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that the
ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with ServiceApp2
or ServiceApp3 with ServiceApp4.
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. For example, ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10,
ServiceApp3 with ServiceApp8, or ServiceApp3 with ServiceApp12.
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1183
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Warning
Caution
Although ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and
Outside-to-Inside traffic for the ServiceApp pair is halved.
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped because traffic flows in the incorrect dispatcher and core.
Perform this task to configure the application service virtual interface (SVI) to forward data traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
service cgn instance-name
4.
service-type tunnel v6rd instance-name
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI to 1, and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Step 3
service cgn instance-name
Configures the instance named cgn1 for the CGv6
application, and enters CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config-if)# service cgn
cgn1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1184
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
service-type tunnel v6rd instance-name
Configures the service-type as tunnel v6rd, and the instance
name as 6rd1.
Example:
RP/0/RSP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RSP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-v6rd)# e
nd
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-v6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a 6RD Instance
Perform this task to configure a 6RD instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1185
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Configures the service type keyword definition for CGv6
6RD application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions.
•
Configuring Address Family, page 187
•
Configuring Border Relay, page 189
•
Configuring Maximum Transmission Unit, page 195
•
Configuring Reassembly-Enable, page 197
•
Configuring Reset-df-bit, page 198
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1186
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring Type of Service, page 200
•
Configuring Time to Live, page 201
Configuring Address Family
Perform these tasks to configure address family for a 6RD instance.
•
Configuring IPv4 Address Family, page 187
•
Configuring IPv6 Address Family, page 188
Configuring IPv4 Address Family
Perform this task to configure IPv4 address family for a 6RD instance.
•
Configuring IPv4 Interface, page 187
Configuring IPv4 Interface
Perform this task to configure an IPv4 interface for a 6RD instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
address-family ipv4 interface ServiceApp number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1187
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv4 interface ServiceApp number
Configures the IPv4 interface to divert IPv4 6RD traffic.
The range is from 1 to 2000.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
address-family ipv4 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 Address Family
Perform this task to configure an IPv6 address family for a 6RD instance.
•
Configuring IPv6 Interface, page 188
Configuring IPv6 Interface
Perform this task to configure an IPv6 interface for a 6RD instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
address-family ipv6 interface ServiceApp number
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1188
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
address-family ipv6 interface ServiceApp number
Configures the IPv6 interface to divert IPv4 6RD traffic.
The range is from 1 to 2000.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
address-family ipv6 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Border Relay
Perform these tasks to configure a border relay router for a 6RD instance.
•
Configuring IPv4 Interface, page 190
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1189
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring IPv6 Prefix, page 191
•
Configuring Source Address, page 192
•
Configuring Unicast Address, page 194
Configuring IPv4 Interface
Perform this task to configure an IPv4 interface for a border relay router.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
br ipv4 prefix | suffix length value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1190
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
br ipv4 prefix | suffix length value
Configures the IPv4 interface for a border relay router. The
IPv4 prefix or suffix length is used to derive delegated IPv6
prefix.
Example:
Step 5
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# br
ipv4 prefix length 20
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
The prefix or suffix value range is from 0 to 31.
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 Prefix
Perform this task to configure IPv6 address and prefix for a border relay router.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
br ipv6-prefix address
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1191
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
br ipv6-prefix address
Configures the IPv6 address and prefix for a border relay
router.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# br
ipv6-prefix 2001:db8::/32
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Source Address
Perform this task to configure IPv4 source address for a tunnel.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1192
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
br source-address address
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1193
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
br source-address address
Configures the IPv4 source address for a tunnel.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# br
source-address 22.23.24.26
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Unicast Address
Perform this task to configure IPv6 unicast address.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
br unicast address address
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1194
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
br unicast address address
Configures the IPv6 address that is unicast from the IPv6
network.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# br
unicast address 3001:db8:1617:181a::1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)# en
d
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Maximum Transmission Unit
Perform this task to configure the Maximum Transmission Unit (MTU) of the tunnel for a 6RD instance.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1195
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
path-mtu value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1196
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
path-mtu value
Configures the path mtu of the tunnel. The range is from
1280 to 9216.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
path-mtu 1282
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Reassembly-Enable
Perform this task to assemble the fragmented packets for a 6RD instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
reassembly-enable
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1197
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
reassembly-enable
Assembles the fragmented packets after forwarding is
complete.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
reassembly-enable
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Reset-df-bit
Perform this task to reset the df bit and enable the anycast feature for a 6RD instance.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1198
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
reset-df-bit
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1199
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
reset-df-bit
Resets the df bit and enables the anycast feature.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
reset-df-bit
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Type of Service
Perform this task to configure the Type of Service (ToS) to be used for the IPv4 tunnel for a 6RD
instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
tos value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1200
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 4
Configures the type of service to be used for the IPv4
tunnel. The range is from 0 to 255.
tos value
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
tos 66
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Time to Live
Perform this task to configure Time to Live (TTL) value to be used for the IPv4 tunnel for a 6RD
instance.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1201
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type tunnel v6rd instance-name
4.
ttl value
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application, and enters the
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type tunnel v6rd instance-name
Defines the service type keyword definition for CGv6 6RD
application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
tunnel v6rd 6rd1
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1202
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
ttl value
Configures the time-to-live value, in seconds, to be used for
the IPv4 tunnel. The range is from 1 to 255.
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
ttl 220
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
end
or
– Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
RP/0/RP0/CPU0:router(config-cgn-tunnel-6rd)#
commit
– 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring MAP-E on ISM
Perform these tasks to configure MAP-E on ISM.
•
Configuring the Application Service Virtual Interface, page 203
•
Configuring a MAP-E Instance, page 205
•
Configuring the Policy Functions, page 206
Configuring the Application Service Virtual Interface
This section lists the guidelines for selecting service application interfaces for MAP-E.
•
Pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an odd integer. This is to ensure that the
ServiceApp pairs works with a maximum throughput. For example, ServiceApp1 with ServiceApp2
or ServiceApp3 with ServiceApp4.
•
Pair ServiceApp<n> with ServiceApp<n+5> or ServiceApp<n+9>, and so on, where <n> is an odd
integer. For example, ServiceApp1 with ServiceApp6, ServiceApp1 with ServiceApp10,
ServiceApp3 with ServiceApp8, or ServiceApp3 with ServiceApp12.
•
Pair ServiceApp<n> with ServiceApp<n+4>, where <n> is an integer (odd or even integer). For
example, ServiceApp1 with ServiceApp5, or ServiceApp2 with ServiceApp6.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1203
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Warning
Caution
Although ServiceApp pairs work, the aggregate throughput for Inside-to-Outside and
Outside-to-Inside traffic for the ServiceApp pair is halved.
Do not pair ServiceApp<n> with ServiceApp<n+1>, where <n> is an even integer. When used,
Outside-to-Inside traffic is dropped because traffic flows in the incorrect dispatcher and core.
Perform this task to configure the application service virtual interface (SVI) to forward data traffic.
SUMMARY STEPS
1.
configure
2.
interface ServiceApp value
3.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1204
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters the global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
interface ServiceApp value
Configures the application SVI to 1, and enters interface
configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceApp 1
RP/0/RP0/CPU0:router(config-if)#
Step 3
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring a MAP-E Instance
Perform this task to configure a MAP-E instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1205
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Configures the instance for the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Configures the service type keyword definition for CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring the Policy Functions
Perform these tasks to configure the policy functions.
•
Configuring Address Family, page 207
•
Configuring AFTR Endpoint Address, page 213
•
Configuring Contiguous Ports, page 214
•
Configuring CPE Domain Parameters, page 216
•
Configuring Path MTU of the Tunnel, page 217
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1206
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring Port Sharing Ratio, page 218
Configuring Address Family
Perform these tasks to configure address family.
•
Configuring IPv4 Address Family, page 207
•
Configuring IPv6 Address Family, page 209
Configuring IPv4 Address Family
Perform these tasks configure IPv4 address family for a MAP-E instance.
•
Configuring IPv4 Interface, page 207
•
Configuring TCP Maximum Segment Size, page 208
Configuring IPv4 Interface
Perform this task to configure an IPv4 interface for a MAP-E instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
address-family ipv4 interface ServiceApp number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1207
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv4 interface ServiceApp number
Configures the IPv4 interface to divert IPv4 map-e traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# address
-family ipv4 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring TCP Maximum Segment Size
Perform this task to configure the Maximum Segment Size (MSS) for TCP.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
address-family ipv4 tcp mss value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1208
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 4
address-family ipv4 tcp mss value
Configures the MSS to be used, in bytes. The range is from
28 to 1500.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# address
-family ipv4 tcp mss 300
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring IPv6 Address Family
Perform these tasks configure an IPv6 address family.
•
Configuring IPv6 Interface, page 210
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1209
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
•
Configuring TCP Maximum Segment Size, page 211
Configuring IPv6 Interface
Perform this task to configure an IPv6 interface.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
address-family ipv6 interface ServiceApp number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1210
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
address-family ipv6 interface ServiceApp number
Configures the IPv6 interface to divert IPv6 map-e traffic.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# address
-family ipv6 interface serviceApp 66
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring TCP Maximum Segment Size
Perform this task to configure the Maximum Segment Size (MSS) to be used for TCP.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
address-family ipv6 tcp mss value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1211
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 4
address-family ipv6 tcp mss value
Configures the MSS to be used, in bytes. The range is from
28 to 1500.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# address
-family ipv6 tcp mss 300
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
Step 5
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e-afi)#
commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1212
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring AFTR Endpoint Address
Perform this task to configure the Address Family Transition Router (AFTR) endpoint address.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
aftr-endpoint-address ipv6 address
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1213
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
aftr-endpoint-address IPv6 address
Configures the AFTR endpoint address.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# aftr-en
dpoint-address 2001:db8::32
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Contiguous Ports
Perform this task to configure the number of contiguous ports for a MAP-E instance.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
contiguous-ports number
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1214
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 4
contiguous-ports number
Configures the number of contiguous ports. The range is
from 1 to 65536.
Example:
Note
The value is expressed in powers of 2.
RP/0/RP0/CPU0:router(config-cgn-map_e)# contigu
ous-ports 16
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1215
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Configuring CPE Domain Parameters
Perform this task to configure Customer Premise Equipment (CPE) domain parameters.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
cpe-domain ipv4 prefix ipv4 address/prefix
or
cpe-domain ipv6 prefix ipv6 address/prefix
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1216
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
Step 4
Command or Action
Purpose
cpe-domain ipv4 prefix ipv4 address/prefix
Configures the IPv4 or IPv6 prefixes of the CPE domain.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# cpe-dom
ain ipv4 prefix 10.2.2.24/2
RP/0/RP0/CPU0:router(config-cgn-map_e)#
or
cpe-domain ipv6 prefix ipv6 address/prefix
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# cpe-dom
ain ipv6 prefix 2001:da8:a464::/48
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Path MTU of the Tunnel
Perform this task to configure the path Maximum Transmission Unit (MTU) of the tunnel.
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
path-mtu value
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1217
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 4
path-mtu value
Configures the path MTU of the tunnel. The range is from
1280 to 9216.
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)#
path-mtu 1300
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring Port Sharing Ratio
Perform this task to configure the sharing ratio of the port.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1218
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring Different CGv6 Applications on ISM
SUMMARY STEPS
1.
configure
2.
service cgn instance-name
3.
service-type map-e instance-name
4.
sharing-ratio number
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service cgn instance-name
Creates an instance of the CGv6 application and enters
CGv6 configuration mode.
Example:
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
Step 3
service-type map-e instance-name
Defines the service type keyword definition for the CGv6
MAP-E application.
Example:
RP/0/RP0/CPU0:router(config-cgn)# service-type
map-e m1
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1219
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring High Availability on ISM
Step 4
Command or Action
Purpose
sharing-ratio number
Configures the port sharing ratio. The range is from 1 to
32768.
Example:
Note
The value is expressed in powers of 2.
RP/0/RP0/CPU0:router(config-cgn-map_e)#
sharing-ratio 64
RP/0/RP0/CPU0:router(config-cgn-map_e)#
Step 5
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-cgn-map_e)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-cgn-map_e)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Configuring High Availability on ISM
ISM supports high availability or 1:1 redundancy on different CGv6 applications.
Perform these tasks to configure HA on ISM.
•
Configuring Active or Standby ISM, page 220
•
Enabling Failure Detection, page 222
Configuring Active or Standby ISM
Perform this task to configure active or standby ISM.
SUMMARY STEPS
1.
configure
2.
hw-module service cgn location node-id
3.
interface ServiceInfra value
4.
service-location preferred-active node-id [preferred-standby node-id]
5.
ipv4 address address/mask
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1220
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring High Availability on ISM
6.
end
or
commit
7.
reload
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
hw-module service cgn location node-id
Configures role as CGN on both the ISM locations.
Example:
RP/0/RP0/CPU0:router(config)# hw-module service
cgn location 0/1/CPU0
Step 3
interface ServiceInfra value
Configures the infrastructure service virtual interface (SVI)
for both the ISM locations.
Example:
RP/0/RP0/CPU0:router(config)# interface
ServiceInfra 1
RP/0/RP0/CPU0:router(config-if)#
Step 4
service-location preferred-active node-id
[preferred-standby node-id]
Configures the preferred active and preferred standby
nodes.
Example:
RP/0/RP0/CPU0:router(config-if)#
service-location preferred-active 0/1/CPU0
preferred-standby 0/4/CPU0
Step 5
ipv4 address address/mask
Sets the primary IPv4 address and netmask.
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address
1.1.1.1/30
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1221
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring High Availability on ISM
Step 6
Command or Action
Purpose
end
or
commit
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]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Step 7
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Once the configuration is complete, reload both the cards
for changes to take effect and wait till in ‘APP READY’
state.
reload
Example:
RP/0/RP0/CPU0:Router#hw-mod location 0/1/CPU0
reload
Enabling Failure Detection
Perform this task to enable failure detection.
SUMMARY STEPS
1.
configure
2.
service-cgv6-ha location node-id puntpath-test
3.
service-cgv6-ha location node-id datapath-test
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1222
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuring High Availability on ISM
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Enters global configuration mode.
Example:
RP/0/RP0/CPU0:router# configure
Step 2
service-cgv6-ha location node-id puntpath-test
Configures role as CGv6 and failure detection for puntpath
tests.
Example:
RP/0/RP0/CPU0:router(config)# service-cgv6-ha
location 0/1/CPU0 puntpath-test
Step 3
service-cgv6-ha location node-id datapath-test
Configures role as CGv6 and failure detection for datapath
tests.
Example:
RP/0/RP0/CPU0:router(config)# service-cgv6-ha
location 0/1/CPU0 datapath-test
Step 4
Saves configuration changes.
end
or
commit
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
Example:
RP/0/RP0/CPU0:router(config-if)# end
or
– Entering yes saves configuration changes to the
RP/0/RP0/CPU0:router(config-if)# commit
running configuration file, exits the 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 exiting or
committing the configuration changes.
•
Note
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
By default, failure detection for punt path, data path is not triggered unless the above commands are
configured.These commands can be configured only when ISM role is CGN and ISM in “App-Ready”
state.
To disable failure detection, use the no form of the commands:
•
no service-cgv6-ha location node-id puntpath-test
•
no service-cgv6-ha location node-id datapath-test
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1223
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
Configuration Examples for Implementing CGv6
This section provides the following configuration examples for CGv6:
•
Configuring a Different Inside VRF Map to a Different Outside VRF for NAT44: Example, page 224
•
Configuring Different Inside VRF Maps to Identical Outside VRF maps for NAT44: Example,
page 225
•
NAT44 Configuration: Example, page 225
•
DS Lite Configuration: Example, page 228
•
Stateful NAT64 Configuration: Example, page 229
•
MAP-T Configuration: Example, page 232
•
DBL Configuration: Example, page 233
•
Services Redundancy Configuation (Active/Standby ISM): Example, page 233
•
6RD Configuration: Example, page 234
•
MAP-E Configuration: Example, page 235
•
PPTP ALG Configuration: Example, page 236
Configuring a Different Inside VRF Map to a Different Outside VRF for NAT44:
Example
This example shows how to configure a different inside VRF map to a different outside VRF and
different outside address pools:
service cgn cgn1
inside-vrf insidevrf1
map outside-vrf outsidevrf1 address-pool 100.1.1.0/24
!
!
inside-vrf insidevrf2
map outside-vrf outsidevrf2 address-pool 100.1.2.0/24
!
service-location preferred-active 0/2/cpu0
!
interface ServiceApp 1
vrf insidevrf1
ipv4 address 210.1.1.1 255.255.255.0
service cgn cgn1
!
router static
vrf insidevrf1
0.0.0.0/0 serviceapp 1
!
!
interface ServiceApp 2
vrf outsidevrf1
ipv4 address 211.1.1.1 255.255.255.0
service cgn cgn1
service-type nat44 nat1
!
router static
vrf outsidevrf1
100.1.1.0/24 serviceapp 2
!
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1224
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
!
interface ServiceApp 3
vrf insidevrf2
ipv4 address 1.1.1.1 255.255.255.0
service cgn cgn1
service-type nat44 nat1
!
router static
vrf insidevrf2
0.0.0.0/0 serviceapp 3
!
!
interface ServiceApp 4
vrf outsidevrf2
ipv4 address 2.2.2.1 255.255.255.0
service cgn cgn1
service-type nat44 nat1
!
router static
vrf outsidevrf2
100.1.2.0/24 serviceapp 4
Configuring Different Inside VRF Maps to Identical Outside VRF maps for NAT44:
Example
This example shows how to configure different inside VRF maps to identical outside VRF maps:
Note
Configure onutsideServiceApp in the CGN configuration for the following ServiceApp pair:
•
Two different inside vrf
•
Two identical outside vrf
service cgn cgn-service-kykwifi
service-location preferred-active 0/0/CPU0
service-type nat44 kykwifi-nat44
portlimit 512
alg ActiveFTP
alg rtsp
alg pptpAlg
inside-vrf INTERNET_PRIVATE_CGNAT
map outside-vrf INTERNET outsideServiceApp ServiceApp2 address-pool 81.213.32.0/22
external-logging syslog
server
address 10.106.61.20 port 514
!
!
inside-vrf INTERNET_PRIVATE_CGNAT2
map outside-vrf INTERNET outsideServiceApp ServiceApp4 address-pool 81.213.36.0/22
external-logging syslog
server
address 10.106.61.20 port 514
!
NAT44 Configuration: Example
This example shows a NAT44 sample configuration:
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1225
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
interface Loopback40
description IPv4 Host for NAT44
ipv4 address 40.22.22.22 255.255.0.0
!
interface Loopback41
description IPv4 Host for NAT44
ipv4 address 41.22.22.22 255.255.0.0
!
interface GigabitEthernet0/3/0/0.1
description Connected to P2_ASR9000-8 GE 0/6/5/0.1
ipv4 address 10.222.5.22 255.255.255.0
encapsulation dot1q 1
!
router static
address-family ipv4 unicast
180.1.0.0/16 10.222.5.2
181.1.0.0/16 10.222.5.2
!
!
Hardware Configuration for ISM
!
vrf InsideCustomer1
address-family ipv4 unicast
!
!
vrf OutsideCustomer1
address-family ipv4 unicast
!
!
hw-module service cgn location 0/3/CPU0
!
!
interface GigabitEthernet0/6/5/0.1
vrf InsideCustomer1
ipv4 address 10.222.5.2 255.255.255.0
encapsulation dot1q 1
!
interface GigabitEthernet0/6/5/1.1
vrf OutsideCustomer1
ipv4 address 10.12.13.2 255.255.255.0
encapsulation dot1q 1
!
interface ServiceApp1
vrf InsideCustomer1
ipv4 address 1.1.1.1 255.255.255.252
service cgn cgn1 service-type nat44
!
interface ServiceApp2
vrf OutsideCustomer1
ipv4 address 2.1.1.1 255.255.255.252
service cgn cgn1 service-type nat44
!
interface ServiceInfra1
ipv4 address 75.75.75.75 255.255.255.0
service-location 0/3/CPU0
!
!
router static
!
vrf InsideCustomer1
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1226
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
0.0.0.0/0 ServiceApp1
40.22.0.0/16 10.222.5.22
41.22.0.0/16 10.222.5.22
181.1.0.0/16 vrf OutsideCustomer1 GigabitEthernet0/6/5/1.1 10.12.13.1
!
!
vrf OutsideCustomer1
address-family ipv4 unicast
40.22.0.0/16 vrf InsideCustomer1 GigabitEthernet0/6/5/0.1 10.222.5.22
41.22.0.0/16 vrf InsideCustomer1 GigabitEthernet0/6/5/0.1 10.222.5.22
100.0.0.0/24 ServiceApp2
180.1.0.0/16 10.12.13.1
181.1.0.0/16 10.12.13.1
!
!
!
ISM Configuration
service cgn cgn1
service-location preferred-active 0/3/CPU0
service-type nat44 nat44
portlimit 200
alg ActiveFTP
inside-vrf InsideCustomer1
map outside-vrf OutsideCustomer1 address-pool 100.0.0.0/24
protocol tcp
static-forward inside
address 41.22.22.22 port 80
!
!
protocol icmp
static-forward inside
address 41.22.22.22 port 80
!
!
external-logging netflow version 9
server
address 172.29.52.68 port 2055
refresh-rate 600
timeout 100 !
!
!
!
!
IPv4: 180.1.1.1/16
!
interface Loopback180
description IPv4 Host for NAT44
ipv4 address 180.1.1.1 255.255.0.0
!
interface Loopback181
description IPv4 Host for NAT44
ipv4 address 181.1.1.1 255.255.0.0
!
interface GigabitEthernet0/6/5/1.1
ipv4 address 10.12.13.1 255.255.255.0
encapsulation dot1q 1
!
router static
address-family ipv4 unicast
40.22.0.0/16 10.12.13.2
41.22.0.0/16 10.12.13.2
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1227
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
100.0.0.0/24 10.12.13.2 !
!
Bulk Port Allocation and Syslog Configuration: Example
service cgn cgn2
service-type nat44 natA
inside-vrf broadband
map address-pool 100.1.2.0/24
external-logging syslog
server
address 20.1.1.2 port 514
!
!
bulk-port-alloc size 64
!
!
DS Lite Configuration: Example
IPv6 ServiceApp and Static Route Configuration
conf
int serviceApp61
service cgn cgn1 service-type ds-lite
ipv6 address 2001:202::/32
commit
exit
router static
address-family ipv6 unicast
3001:db8:e0e:e01::/128 ServiceApp61 2001:202::2
commit
exit
end
IPv4 ServiceApp and Static Route Configuration
conf
int serviceApp41
service cgn cgn1 service-type ds-lite
ipv4 add 41.41.41.1/24
commit
exit
router static
address-family ipv4 unicast
52.52.52.0/24 ServiceApp41 41.1.1.2
commit
exit
end
DS Lite Configuration
service cgn cgn1
service-location preferred-active 0/2/CPU0 preferred-standby 0/4/CPU0
service-type ds-lite dsl1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1228
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
portlimit 200
bulk-port-alloc size 128
map address-pool 52.52.52.0/24
aftr-tunnel-endpoint-address 3001:DB8:E0E:E01::
address-family ipv4
interface ServiceApp41
address-family ipv6
interface ServiceApp61
protocol tcp
session init timeout 300
session active timeout 400
mss 1200
external-logging netflow9
server
address 90.1.1.1 port 99
external-logging syslog
server
address 90.1.1.1 port 514
private-pool 192.1.116.0/24
private-pool 192.1.117.64/26
private-pool 192.1.117.192/26
Stateful NAT64 Configuration: Example
service cgn cgn1
service-type nat64 stateful stful1
!
!
service cgn cgn1
service-type nat64 stateful stful1
ipv6-prefix 2001:db8::/32
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
ipv4 address-pool 200.20.30.0/24
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
ipv4 address-pool 200.20.30.0/24
ipv4 address-pool 300.20.30.0/24
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
Ubit-reserved
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
portlimit 1000
!
!
!
service cgn cgn1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1229
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
service-type nat64 stateful stful1
dynamic-port-range start 1010
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol icmp
timeout 900
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol tcp
session active timeout 90
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol tcp
session initial timeout 90
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol udp
timeout 1800
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol udp
timeout 90
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol icmp
address 123.33.4.4
port 1234 timeout 908
port 1235 timeout 1000
!
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol tcp
address 123.33.4.4
timeout 908
timeout 1000
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1230
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
!
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol udp
port 1234 timeout 908
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv4
tcp mss 600
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv6
tcp mss 600
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv4
tos 100
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv6
traffic class 100
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv6
protocol icmp
reset-mtu
!
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
address-family ipv6
df-override
!
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1231
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
filtering-policy
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
tcp-policy
!
!
!
service cgn cgn1
service-type nat64 stateful stful1
protocol tcp
v4-init-timeout 20
!
!
!
!
MAP-T Configuration: Example
hw-module service cgn location 0/0/CPU0
interface ServiceApp4
ipv4 address 30.30.30.1 255.255.255.0
service cgn test service-type map-t
!
interface ServiceApp6
ipv4 address 19.1.1.1 255.255.255.252
ipv6 address 2001:101::/32
service cgn test service-type map-t
!
interface ServiceInfra1
ipv4 address 200.1.1.1 255.255.255.0
service-location 0/0/CPU0
!
router static
address-family ipv4 unicast
202.38.102.0/24 ServiceApp4 30.30.30.2
!
address-family ipv6 unicast
2001:da8:a464:ffff::/64 ServiceApp6 2001:101::2
!
service cgn test
service-location preferred-active 0/0/CPU0
service-type map-t xlat1
cpe-domain ipv6 prefix 2001:da8:a464::/48
cpe-domain ipv4 prefix 202.38.102.0/24
external-domain ipv6 prefix 2001:da8:a464:ffff::/64
sharing-ratio 64
contiguous-ports 128
address-family ipv4
interface ServiceApp4
tcp mss 235
tos 100
!
address-family ipv6
interface ServiceApp6
tcp mss 1154
traffic-class 100
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1232
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
df-override
;
!
!
DBL Configuration: Example
NAT44 Instance
service cgn cgn1
service-type nat44 nat1
inside-vrf ivrf
external-logging netflow version 9
server
address x.x.x.x port x
session-logging
DS-Lite Instance
service cgn cgn1
service-type ds-lite ds-lite1
external-logging netflow9
server session-logging
Services Redundancy Configuation (Active/Standby ISM): Example
Active ISM 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 ISM 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 <cgn name>
service-location preferred-active 0/1/CPU0 preferred-standby 0/2/CPU0
commit
exit
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1233
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
6RD Configuration: Example
This example shows a sample 6RD configuration:
vrf ivrf
!
hw-module service cgn location 0/0/CPU0
hw-module service cgn location 0/2/CPU0
interface ServiceApp41
vrf ivrf
ipv4 address 5.5.5.1 255.255.0.0
service cgn cgn1 service-type tunnel v6rd
!
interface ServiceApp42
ipv4 address 6.6.6.1 255.255.255.0
service cgn cgn1 service-type tunnel v6rd
!
interface ServiceApp61
ipv6 address 2001:db8:1617:1819::2/64
service cgn cgn1 service-type tunnel v6rd
!
interface ServiceApp62
ipv6 address 3001:db8:1617:181a::2/64
service cgn cgn1 service-type tunnel v6rd
!
interface ServiceInfra1
ipv4 address 1.1.1.1 255.255.255.0
service-location 0/0/CPU0
!
interface ServiceInfra2
ipv4 address 2.2.2.2 255.255.255.0
service-location 0/2/CPU0
!
router static
address-family ipv4 unicast
8.37.0.0/16 8.36.0.1
8.42.25.0/24 8.36.5.2
10.1.2.0/24 GigabitEthernet0/3/0/2
10.64.83.49/32 8.36.0.1
22.23.24.26/32 6.6.6.2
102.2.0.0/16 ServiceApp3
192.168.3.0/24 GigabitEthernet0/3/0/3
192.168.3.0/24 GigabitEthernet0/3/0/4
202.153.144.0/24 8.36.0.1
!
address-family ipv6 unicast
2001:db8::/32 ServiceApp61
2001:db8:1617:1819::/64 Null0
2001:db8:1617:1819::/128 ServiceApp61
2001:db8:1617:1819::1/128 ServiceApp61
3001:db8::/32 ServiceApp62
3001:db8:1617:181a::/64 Null0
3001:db8:1617:181a::/64 ServiceApp62
3001:db8:1617:181a::1/128 ServiceApp62
!
vrf ivrf
address-family ipv4 unicast
0.0.0.0/0 5.6.5.2
22.23.24.25/32 5.5.5.2
192.168.3.5/32 10.1.2.3
!
!
!
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1234
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Configuration Examples for Implementing CGv6
service cgn cgn1
service-location preferred-active 0/2/CPU0 preferred-standby 0/0/CPU0
service-type tunnel v6rd 6rd1
ttl 255
path-mtu 1480
br
ipv6-prefix 2001:db8::/32
source-address 22.23.24.25
unicast address 2001:db8:1617:1819::1
!
address-family ipv4
interface ServiceApp41
!
address-family ipv6
interface ServiceApp61
!
!
service-type tunnel v6rd 6rd2
br
ipv6-prefix 3001:db8::/32
source-address 22.23.24.26
unicast address 3001:db8:1617:181a::1
!
address-family ipv4
interface ServiceApp42
!
address-family ipv6
interface ServiceApp62
!
!
!
MAP-E Configuration: Example
This example shows a sample MAP-E configuration:
hw-module service cgn location 0/0/CPU0
interface ServiceApp1
ipv4 address 30.30.30.1 255.255.255.0
service cgn cgn1 service-type map-e m1
!
interface ServiceApp2
ipv4 address 19.1.1.1 255.255.255.252
ipv6 address 2001:101::/32
service cgn cgn1 service-type map-e m1
!
interface ServiceInfra1
ipv4 address 200.1.1.1 255.255.255.0
service-location 0/0/CPU0
!
router static
address-family ipv4 unicast
202.38.102.0/24 ServiceApp1 30.30.30.2
!
address-family ipv6 unicast
2001:da8:a464:ffff::/64 ServiceApp2 2001:101::2
!
service cgn cgn1
service-location preferred-active 0/0/CPU0
service-type map-e m1
cpe-domain ipv6 prefix 2001:da8:a464::/48
cpe-domain ipv4 prefix 202.38.102.0/24
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1235
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Additional References
aftr-endpoint-address 2001:da8:a464:ffff::/128
sharing-ratio 16
contiguous-ports 32
path-mtu 1300
address-family ipv4
interface ServiceApp1
tcp mss 235
!
address-family ipv6
interface ServiceApp2
tcp mss 1154
!
!
PPTP ALG Configuration: Example
NAT44 Instance
service cgn cgn1
service-location preferred-active 0/1/CPU0
service-type nat44 inst1
alg pptpAlg
Additional References
For additional information related to Implementing the Carrier Grade IPv6, see the following references:
Related Documents
Related Topic
Document Title
Cisco IOS XR Carrier Grade IPv6 commands
Cisco IOS XR Carrier Grade IPv6 (CGv6) Command Reference for
the Cisco CRS-1 Router.
Cisco CRS-1 Router Getting Started material
Cisco IOS XR Getting Started Guide
Information about user groups and task IDs
Configuring AAA Services on Cisco IOS XR Software module of the
Cisco IOS XR System Security Configuration Guide
Standards
Standards1
Title
No new or modified standards are supported by this feature, and
support for existing standards has not been modified by this
feature.
—
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1236
OL-28376-02
Chapter
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Additional References
1. Not all supported standards are listed.
MIBs
MIBs
MIBs Link
—
To locate and download MIBs using Cisco IOS XR software, use the
Cisco MIB Locator found at the following URL and choose a
platform under the Cisco Access Products menu:
http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
RFCs1
Title
RFC 4787
Network Address Translation (NAT) Behavioral Requirements for
Unicast UDP
RFC 5382
NAT Behavioral Requirements for TCP
RFC 5508
NAT Behavioral Requirements for ICMP
1. Not all supported RFCs are listed.
Technical Assistance
Description
Link
http://www.cisco.com/techsupport
The Cisco Technical Support website contains
thousands of pages of searchable technical content,
including links to products, technologies, solutions,
technical tips, and tools. Registered Cisco.com users
can log in from this page to access even more content.
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
1237
Implementing the Carrier Grade IPv6 on Cisco IOS XR Software
Additional References
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
1238
OL-28376-02
INDEX
Numerics
P
85589
Policy Functions
2H_Head2
Application Gateway
Carrier Grade NAT Overview
configuring
CGC-4
overview
prerequisites
C
Carrier Grade NAT Overview
CGC-4
CGC-31
CGC-15
CGC-5
T
Translation Filtering
D
Double NAT 444
CGC-15
CGC-10
CGC-8
E
External Logging
CGC-17
I
ICMP Query Session Timeout
CGC-7
Inside and Outside Address Pool Map
IPv4 Address Completion
CGC-30
CGC-5
N
NAT
CGC-7
overview
CGC-4
NAT and NAPT
CGC-9
NATwith
ICMP
CGC-7
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
OL-28376-02
221
Index
Cisco ASR 9000 Series Aggregation Services Router Carrier Grade IPv6 (CGv6) Configuration Guide
222
OL-28376-02
© Copyright 2026 Paperzz