hit counter script
Cisco CRS Configuration Manual
Cisco CRS Configuration Manual

Cisco CRS Configuration Manual

Ios xr virtual private network
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Cisco IOS XR Virtual Private Network Configuration Guide for the
Cisco CRS Router, Release 6.1.x
First Published: 2016-11-01
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883

Advertisement

Table of Contents
loading

Summary of Contents for Cisco CRS

  • Page 1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x First Published: 2016-11-01 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 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.
  • Page 3: Table Of Contents

    ATM Adaptation Layer 5 Virtual Circuit Connection Verification on L2VPN Ethernet over MPLS Ethernet Port Mode Ethernet Remote Port Shutdown VLAN Mode Inter-AS Mode QinQ Mode QinAny Mode Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 4 Configuring L2VPN over GRE Tunnels: Example Configuring L2VPN Nonstop Routing: Example Implementing MPLS VPNs over IP Tunnels C H A P T E R 4 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 5 Configuring Source Pool Address for MPLS VPNs over IP Tunnels: Example Implementing Multipoint Layer 2 Services C H A P T E R 5 Prerequisites for Implementing Multipoint Layer 2 Services Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 6 Configuring a Pseudowire Enabling Pseudowire Status TLV Configuring a Backup Pseudowire Configuring Backup Disable Delay Associating Members with a Bridge Domain Configuring Bridge Domain Parameters Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 7 Configuring VPLS with BGP Autodiscovery and Signaling: Example LDP and BGP Configuration Minimum L2VPN Configuration for BGP Autodiscovery with BGP Signaling VPLS with BGP Autodiscovery and BGP Signaling Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 8 Information About Layer 2 Tunnel Protocol Version 3 L2TPv3 Operation L2TPv3 Benefits L2TPv3 Features Static L2TPv3 Sessions Dynamic L2TPv3 Sessions Local Switching Local Switching: Quality of Service L2TPv3 Pseudowire Switching Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x viii...
  • Page 9 MPLS L3VPN Overview MPLS L3VPN Benefits How MPLS L3VPN Works Virtual Routing and Forwarding Tables VPN Routing Information: Distribution BGP Distribution of VPN Routing Information Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 10 Customer Carrier: MPLS Service Provider IPv6 VPN Provider Edge (6VPE) Support 6VPE Benefits 6VPE Network Architecture Dual Stack 6VPE Operation How to Implement MPLS Layer 3 VPNs Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 11 Configuring the Backbone Carrier Core Configuring the CSC-PE and CSC-CE Routers Configuring a CSC-PE Configuring PE to CE Core Configuring a Static Route to a Peer Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 12 Configuring BGP for the Address Family VPNv6: Example Configuring the Address Family IPv6 for the VRF Configuration Under BGP: Example Configuring a PE-CE Protocol: Example Configuring an Entire 6VPE Configuration: Example Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 13: Preface

    Preface This guide describes the Cisco CRS Router configurations. The preface for the Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router contains these sections: • Changes to This Document, page xiii • Obtaining Documentation and Submitting a Service Request, page xiii Changes to This Document The following table lists the technical changes made to this document since it was first published.
  • Page 14 Preface Obtaining Documentation and Submitting a Service Request Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 15: New And Changed Vpn Features

    New and Changed Information, page 1 New and Changed Information Feature Description Changed in Release Where Documented No new features in this Release 6.1.2 release. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 16 New and Changed VPN Features New and Changed Information Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 17: The Carrier Ethernet Model

    These filters are applied to all the ingress traffic to classify the frames that belong to a particular EFP. An EFP filter is a set of entries, where each entry looks similar to the start of a packet (ignoring Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 18: Efp Cli Overview

    • encapsulation command - This command is used to specify matching criteria. • rewrite command - This command is used to specify the VLAN tag rewrite criteria. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 19: Implementing Point To Point Layer 2 Services

    Support was added for: • EoMPLS Inter-AS mode • Mac-in-Mac protocol Release 3.6.0 Support was added for: • Ethernet Remote Port Shutdown • Preferred Tunnel Path Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 20: Prerequisites For Implementing Point To Point Layer 2 Services

    IDs. All command task IDs are listed in individual command references and in the Cisco IOS XR Task ID Reference Guide. If you need assistance with your task group assignment, contact your system administrator.
  • Page 21: Atmompls With L2Vpn Capability

    To implement the ATMoMPLS feature, the Cisco CRS Router plays the role of provider edge (PE) router at the edge of a provider network in which customer edge (CE) devices are connected to the Cisco CRS Router. Layer 2 Local Switching Overview...
  • Page 22: Virtual Circuit Connection Verification On L2Vpn

    • Type 2—Specifies VCCV packets. Cisco CRS Router supports Label Switched Path (LSP) VCCV Type 1, which uses an inband control word if enabled during signaling. The VCCV echo reply is sent as IPv4 that is the reply mode in IPv4. The reply is forwarded as IP, MPLS, or a combination of both.
  • Page 23: Ethernet Remote Port Shutdown

    Ethernet remote port shutdown provides a mechanism for the detection and propagation of remote link failure for port mode EoMPLS on a Cisco CRS Router line card. This lets a service provider edge router on the local end of an Ethernet-over-MPLS (EoMPLS) pseudowire detect a cross-connect or remote link failure and cause the shutdown of the Ethernet port on the local customer edge router.
  • Page 24: Inter-As Mode

    EoMPLS cross-connects resides in the same autonomous system; or multiple AS topologies in which PE routers can reside on two different ASs using iBGP and eBGP peering. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 25: Qinq Mode

    Layer 3 VPN service termination and L2VPN service transport are enabled over QinQ sub-interfaces. The Cisco CRS Routers implement the Layer 2 tunneling or Layer 3 forwarding depending on the subinterface configuration at provider edge routers. This function only supports up to two QinQ tags on the SPA and fixed PLIM: •...
  • Page 26: Qinany Mode

    The following figure shows four packet processing paths within a provider edge device where a QoS service policy can be attached. In an L2VPN network, packets are received and transmitted on the edge-facing Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 27: High Availability

    L2 traffic runs between the two PE routers (that is, its head starts at the imposition PE router and its tail terminates on the disposition PE router). Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 28: Generic Routing Encapsulation Support For L2Vpn

    (that hosts the Layer 2 circuit) based on the VC label forwarding information programmed by the Layer 2 FIB. Egress of Decapsulation Router On the egress side of the decapsulation router, the following events occur: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 29: Limitations

    Prior to the failure of the primary pseudowire, the ability to switch traffic to the backup pseudowire is used to handle a planned pseudowire outage, such as router maintenance. Pseudowire redundancy is provided only for point-to-point Virtual Private Wire Service (VPWS) Note pseudowires. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 30: Flow Aware Transport Pseudowire (Fat Pw)

    PE routers. The egress PE removes the encapsulation and sends out the Layer 2 frame. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 31: Control Word Processing

    Configuring an Interface or Connection for Point to Point Layer 2 Services Perform this task to configure an interface or a connection for Point to Point Layer 2 Services. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 32 Example: RP/0/RP0/CPU0:router(config)# interface TenGigE 0/0/0/0.1 l2transport Enters subinterface configuration mode and configures the subinterface as a layer 2 interface. Step 6 encapsulation dot1q vlan-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 33: Configuring Static Point-To-Point Cross-Connects

    • No more than 16,000 cross-connects can be configured per router. Static pseudowire connections do not use LDP for signaling. Note Perform this task to configure static point-to-point cross-connects. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 34 Enters the name of the cross-connect group. Step 4 p2p xconnect-name Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# p2p vlan1 Enters a name for the point-to-point cross-connect. Step 5 interface type interface-path-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 35: Configuring Dynamic Point-To-Point Cross-Connects

    Displays the name of the Point-to-Point cross-connect group you created. Configuring Dynamic Point-to-Point Cross-Connects Perform this task to configure dynamic point-to-point cross-connects. For dynamic cross-connects, LDP must be up and running. Note Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 36 Enters the name of the cross-connect group. Step 4 p2p xconnect-name Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# p2p vlan1 Enters a name for the point-to-point cross-connect. Step 5 interworking ipv4 Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# interworking ipv4 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 37: Configuring Inter-As

    Cross-Connects” section) except that the remote PE IP address used by the cross-connect configuration is now reachable through iBGP peering. Note You must be knowledgeable about IBGP, EBGP, and ASBR terminology and configurations to complete this configuration. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 38: Configuring L2Vpn Quality Of Service

    Example: RP/0/RP0/CPU0:router(config-if)# service-policy input servpol1 Attaches a QoS policy to an input or output interface to be used as the service policy for that interface. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 39: Configuring An L2Vpn Quality Of Service Policy In Vlan Mode

    In VLAN Mode, you must enter the l2transport keyword on the same line as the interface. Step 3 service-policy [ input | output ] [ policy-map-name ] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 40: Configuring Preferred Tunnel Path

    DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the configuration mode. Step 2 l2vpn Example: RP/0/RP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. Step 3 pw-class {name} Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 41: Enabling Load Balancing With Ecmp And Fat Pw

    Perform this task to enable load balancing with ECMP and FAT PW. SUMMARY STEPS 1. configure 2. l2vpn 3. pw-class {name} 4. encapsulation mpls 5. load-balancing flow-label both 6. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 42: Configuring L2Vpn Nonstop Routing

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring L2VPN Nonstop Routing Perform this task to configure L2VPN Nonstop Routing. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 43 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 44: Configuration Examples For Point To Point Layer 2 Services

    Inter-AS: Example This example shows how to set up an AC to AC cross-connect from AC1 to AC2: router-id Loopback0 interface Loopback0 ipv4 address 127.0.0.1 255.255.255.0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 45 20.0.0.5 pw-id 106 p2p ac2ac7 interface GigabitEthernet0/1/0/0.7 neighbor 20.0.0.5 pw-id 107 p2p ac2ac8 interface GigabitEthernet0/1/0/0.8 neighbor 20.0.0.5 pw-id 108 p2p ac2ac9 interface GigabitEthernet0/1/0/0.9 neighbor 20.0.0.5 pw-id 109 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 46: L2Vpn Quality Of Service: Example

    TenGigE 0/0/0/0.1 neighbor 1.1.1.1 pw-id 1 pw-class class1 This sample configuration shows how to enable load balancing with FAT PW for VPLS. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 47: Atom Cross Connect Configuration: Example

    POS0/2/0/1.20 neighbor 11.11.11.11 pw-id 600 pw-class ipiw xconnect group atm p2p atm1 interface ATM0/3/0/1.200 neighbor 11.11.11.11 pw-id 700 pw-class ipiw Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 48: Configuring L2Vpn Over Gre Tunnels: Example

    2001 interface GigabitEthernet0/2/0/0.2001 neighbor 100.0.1.202 pw-id 2001 Configuring L2VPN Nonstop Routing: Example This example shows how to configure L2VPN Nonstop Routing. config l2vpn logging nsr Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 49: Implementing Mpls Vpns Over Ip Tunnels

    • To perform these configuration tasks, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. All command task IDs are listed in individual command references and in the Cisco IOS XR Task ID Reference Guide.
  • Page 50: Restrictions For Configuring Mpls Vpns Over Ip Tunnels

    The following figure below illustrates the topology used for the configuration steps. Figure 10: Basic MPLS VPN over IP Topology Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 51: Advertising Tunnel Type And Tunnel Capabilities Between Pe Routers-Bgp

    In the input policy on the encapsulation interface, you can set the precedence or DSCP value in the IP payload header by using MQC commands without the keyword tunnel. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 52: Bgp Multipath Load Sharing For Mpls Vpns Over Ip Tunnels

    DLL API to construct the tunnel encapsulation string. The Multiple Tunnel Source Address infrastructure uses two primary models: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 53: 6Pe/6Vpe Over L2Tpv3

    (IPv4 address) and tunnel attributes. The data encapsulations remain the same except that the payload is now an IPv6 packet. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 54: How To Configure Mpls Vpns Over Ip Tunnels

    All procedures occur on the local PE (PE1). Corresponding procedures must be configured on the remote Note PE (PE2). Configuring the Global VRF Definition Perform this task to configure the global VRF definition. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 55 [0-65535.0-65535:0-65535 | as-number:nn | ip-address:nn] Example: RP/0/RP0/CPU0:router(config-vrf-af)# export route-target 700:44 Configures a VPN routing and forwarding (VRF) export route-target extended community. Step 6 exit Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 56: Configuring A Route-Policy Definition

    Configuring a Route-Policy Definition Perform this task to configure a route-policy definition for CE-PE EBGP. SUMMARY STEPS 1. configure 2. route-policy name pass 3. end policy Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 57: Configuring A Static Route

    4. maximum path ipv6 1-140000 5. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 router static Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 58: Configuring An Ipv4 Loopback Interface

    1. configure 2. interface type interface-path-id 3. ipv4 address ipv4-address 4. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 59: Configuring A Cfi Vrf Interface

    2. interface type interface-path-id 3. vrf vrf-name 4. ipv4 address ipv4-address 5. ipv6 address ipv6-address 6. dot1q native vlan vlan-id 7. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 60 • IPv6 name or address: Hostname or X:X::X%zone • IPv6 prefix: X:X::X%zone/<0-128> Step 6 dot1q native vlan vlan-id Example: RP/0/RP0/CPU0:router(config-if)# dot1q native vlan 665 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 61: Configuring The Core Network

    Configuring the ASBRs to Exchange VPN-IPv4 Addresses for IP Tunnels Perform this task to configure an external Border Gateway Protocol (eBGP) autonomous system boundary router (ASBR) to exchange VPN-IPv4 routes with another autonomous system. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 62 { ipv4 tunnel } Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 tunnel RP/0/RP0/CPU0:router(config-bgp-af)# Configures IPv4 tunnel address family. Step 4 address-family { vpnv4 unicast } Example: RP/0/RP0/CPU0:router(config-bgp-af)# address-family vpnv4 unicast Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 63 Step 10 route-policy route-policy-name { out } Example: RP/0/RP0/CPU0:router(config-bgp-nbr-af)# route-policy pass-all out Applies a routing policy to updates that are sent from a BGP neighbor. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 64 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 65: Configuring The Backbone Carrier Core For Ip Tunnels

    • show cef vrf v1 ipv6 prefix Configuring Source Pool Address for MPLS VPNs over IP Tunnels Perform this task to configure the Multiple Tunnel Source Address. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 66 [ ttl-value ] Example: RP/0/RP0/CPU0:router(config-tuntem)ttl 64 RP/0/RP0/CPU0:router(config-tuntem)# Configures the IP time to live (TTL). Step 5 tos [ tos-value ] Example: RP/0/RP0/CPU0:router(config-tuntem)tos 7 RP/0/RP0/CPU0:router(config-tuntem)# Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 67: Configuration Examples For Mpls Vpns Over Ip Tunnels

    This section provides the following examples: Configuring an L2TPv3 Tunnel: Example The following example shows how to configure an L2TPv3 tunnel: tunnel-template t1 encapsulation l2tp source Loopback0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 68: Configuring The Global Vrf Definition: Example

    Configuring a CFI VRF Interface: Example The following example shows how to configure an L2TPv3 tunnel: configure interface GigabitEthernet0/0/0/1.1 vrf v1 ipv4 address 100.1.10.2 255.255.255.0 encapsulation dot1q 101 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 69: Configuring Source Pool Address For Mpls Vpns Over Ip Tunnels: Example

    Configuring Source Pool Address for MPLS VPNs over IP Tunnels: Example configure tunnel-template test mtu 1500 ttl 64 ttl 7 source Loopback0 source-pool 10.10.10.0/28 encapsulation l2tp Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 70 Implementing MPLS VPNs over IP Tunnels Configuring a CFI VRF Interface: Example Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 71: Implementing Multipoint Layer 2 Services

    • H-VPLS with MPLS Access pseudowire • H-VPLS with Ethernet Access • MAC Address withdrawal Release 4.0.1 Support for the BGP Autodiscovery with LDP Signaling feature was added. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 72: Prerequisites For Implementing Multipoint Layer 2 Services

    • To perform these configuration tasks, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. All command task IDs are listed in individual command references and in the Cisco IOS XR Task ID Reference Guide.
  • Page 73: Restrictions For Implementing Multipoint Layer 2 Services

    For the Engine 5 line card, version 2 of the Ethernet SPA supports all VLAN modes, such as VLAN mode, QinQ mode, or QinAny mode. The Cisco CRS-1 router supports only the Ethernet port mode and the 802.1q VLAN mode.
  • Page 74: Vpls For An Mpls-Based Provider Core

    H-VPLS provides a solution to deliver Ethernet multipoint services over MPLS. H-VPLS partitions a network into several edge domains that are interconnected using an MPLS core. The use of Ethernet switches at the Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 75: H-Vpls With Ethernet Access Qinq Or Qinany

    In this scenario, the U-PE device carries the customer traffic from attachment circuits (AC) over the point to point (p2p) pseudowires. The p2p pseudowires terminate in a bridge domain configured on the N-PE device. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 76: Vpls Discovery And Signaling

    • Once the PEs are discovered, pseudowires (PWs) are signaled and established across each pair of PE routers forming a full mesh of PWs across PE routers in a VPLS domain Figure 14: VPLS Autodiscovery and Signaling Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 77: Bgp-Based Vpls Autodiscovery

    PE. These components enable the automatic setting up of a full mesh of pseudowires for each VPLS without having to manually configure those pseudowires on each PE. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 78: Bgp Auto Discovery With Ldp Signaling

    The LDP protocol is used to configure a pseudowire to all the other PE routers. FEC 129 is used for the signaling. The information carried by FEC 129 includes the VPLS ID, the Target Attachment Individual Identifier (TAII) and the Source Attachment Individual Identifier (SAII). Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 79: Interoperability Between Cisco Ios Xr And Cisco Ios On Vpls Ldp Signaling

    Interoperability Between Cisco IOS XR and Cisco IOS on VPLS LDP Signaling The Cisco IOS Software encodes the NLRI length in the fist byte in bits format in the BGP Update message. However, the Cisco IOS XR Software interprets the NLRI length in 2 bytes. Therefore, when the BGP neighbor with VPLS-VPWS address family is configured between the IOS and the IOS XR, NLRI mismatch can happen, leading to flapping between neighbors.
  • Page 80: Mac Address-Related Parameters

    A MAC address in the MAC table is considered valid only for the duration of the MAC address aging time. When the time expires, the relevant MAC entries are repopulated. When the MAC aging time is configured Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 81: Mac Address Limit

    The MAC address limit is used to limit the number of learned MAC addresses. The default value for the MAC address limit is 32000 for Cisco NCS 5001 and Cisco NCS 5002 and it is 8000 for Cisco NCS 5011.
  • Page 82: Lsp Ping Over Vpws And Vpls

    LSP Ping over VPWS and VPLS LSP Ping over VPWS and VPLS For Cisco IOS XR software, the existing support for the Label Switched Path (LSP) ping and traceroute verification mechanisms for point-to-point pseudowires (signaled using LDP FEC128) is extended to cover the pseudowires that are associated with the VFI (VPLS).
  • Page 83: Pseudowire Headend

    Pseudowire Headend It is recommended to enable pseudowire status time length value (TLV) for optimal switchover performance. This feature is supported only for an AToM instance on the Cisco XR 12000 Series Router, and for an Note EoMPLS instance on the Cisco CRS-1 router.
  • Page 84: Pwhe Interfaces

    1. configure 2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 85: Configuring A Pseudowire

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring a Pseudowire Perform this task to configure a pseudowire under a bridge domain. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 86 RP/0/RP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Step 5 vfi { vfi-name } Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# vfi v1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 87: Enabling Pseudowire Status Tlv

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Enabling Pseudowire Status TLV When a pseudowire is setup, label distribution protocol (LDP) determines the method for signaling pseudowire status. Cisco IOS-XR provides a configuration option that allows you to enable pseudowire status type length value (TLV). Note Unless pseudowire status TLV is explicitly enabled under L2VPN configuration, the default signaling method is Label Withdrawal.
  • Page 88: Configuring A Backup Pseudowire

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring a Backup Pseudowire Perform this task to configure a backup pseudowire for a point-to-point neighbor. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 89 Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# p2p rtrX_to_rtrY RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# Enters a name for the point-to-point cross-connect. Step 5 neighbor ip-address pw-id value Example: RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# neighbor 1.1.1.1 pw-id 2 RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p-pw)# Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 90: Configuring Backup Disable Delay

    8. neighbor ip-address pw-id number 9. pw-class class-name 10. backup neighbor ip-address pw-id number 11. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 91 Enters the name of the cross-connect group. Step 7 p2p xconnect name Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# p2p rtrX_to_rtrY RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# Enters a name for the point-to-point cross-connect. Step 8 neighbor ip-address pw-id number Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 92: Associating Members With A Bridge Domain

    After a bridge domain is created, perform this task to assign interfaces to the bridge domain. These types of bridge ports are associated with a bridge domain: • Ethernet and VLAN • VFI • BVI Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 93 Enters interface configuration mode and adds an interface to a bridge domain that allows packets to be forwarded and received from other interfaces that are part of the same bridge domain. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 94: Configuring Bridge Domain Parameters

    4. bridge-domain bridge-domain-name 5. mtu bytes 6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 95: Disabling A Bridge Domain

    You are still able to attach or detach members to the bridge domain and the VFIs that are associated with the bridge domain. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 96 Step 5 shutdown Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Shuts down a bridge domain to bring the bridge and all attachment circuits and pseudowires under it to admin down state. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 97: Configuring A Layer 2 Virtual Forwarding Instance

    RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RP0/CPU0:router(config)# l2vpn RP/0/RP0/CPU0:router(config-l2vpn)# Enters L2VPN configuration mode. Step 3 bridge group bridge group name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 98: Associating Pseudowires With The Virtual Forwarding Instance

    4. bridge-domain bridge-domain-name 5. vfi { vfi name } 6. neighbor { A.B.C.D } { pw-id value } 7. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 99 Adds a pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI). • Use the A.B.C.D argument to specify the IP address of the cross-connect peer. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 100: Associating A Virtual Forwarding Instance To A Bridge Domain

    RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RP0/CPU0:router(config)# l2vpn RP/0/RP0/CPU0:router(config-l2vpn)# Enters the L2VPN configuration mode. Step 3 bridge group bridge group name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 101 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 102: Attaching Pseudowire Classes To Pseudowires

    Creates a bridge group so that it can contain bridge domains and then assigns network interfaces to the bridge domain. Step 4 bridge-domain bridge-domain name Example: RP/0/RP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 103: Configuring Pseudowires Using Static Labels

    Perform this task to configure the Any Transport over Multiprotocol (AToM) pseudowires by using the static labels. A pseudowire becomes a static AToM pseudowire by setting the MPLS static labels to local and remote. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 104 RP/0/RP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Step 5 vfi { vfi-name } Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# vfi v1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 105: Disabling A Virtual Forwarding Instance

    VFI are disconnected. LDP advertisements are sent to withdraw the MAC addresses that are associated with the VFI. However, you can still attach or detach attachment circuits with a VFI after a shutdown. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 106 RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Step 5 vfi { vfi-name } Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# vfi v1 RP/0/RP0/CPU0:router(config-l2vpn-bg-bd-vfi)# Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 107: Configuring The Mac Address-Related Parameters

    The MAC table attributes are set for the bridge domains. Configuring the MAC Address Source-based Learning Perform this task to configure the MAC address source-based learning. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 108 Example: RP/0/RP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Step 5 Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# mac Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 109: Disabling The Mac Address Withdrawal

    4. bridge-domain bridge-domain name 5. mac 6. withdraw { access-pw disable | disable } 7. Use the commit or end command. 8. show l2vpn bridge-domain [ detail] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 110 Mac address withdrawal is generated when the access pseudowire is not operational. Note Step 7 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 111 DHCPv4 Snooping: disabled Static MAC addresses: Statistics: packet totals: receive 6,send 0 byte totals: receive 360,send 4 List of Access PWs: List of VFIs: VFI siva_vfi Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 112: Configuring The Mac Address Limit

    9. action { flood | no-flood | shutdown } 10. notification { both | none | trap } 11. Use the commit or end command. 12. show l2vpn bridge-domain [ detail ] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 113 MAC address limit at the bridge domain level. Step 6 Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/RP0/CPU0:router(config-l2vpn-bg-bd-mac)# Enters L2VPN bridge group bridge domain MAC configuration mode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 114 • Cancel - Remains in the configuration mode, without committing the configuration changes. Step 12 show l2vpn bridge-domain [ detail ] Example: RP/0/RP0/CPU0:router# show l2vpn bridge-domain detail Displays the details about the MAC address limit. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 115: Configuring The Mac Address Aging

    Creates a bridge group so that it can contain bridge domains and then assigns network interfaces to the bridge domain. Step 4 bridge-domain bridge-domain-name Example: RP/0/RP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 116: Disabling Mac Flush At The Bridge Port Level

    Displays the details about the aging fields. Disabling MAC Flush at the Bridge Port Level Perform this task to disable the MAC flush at the bridge domain level. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 117 Establishes a bridge domain and enters l2vpn bridge group bridge domain configuration mode. Step 5 Example: RP/0/RP0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/RP0/CPU0:router(config-l2vpn-bg-bd-mac)# Enters l2vpn bridge group bridge domain MAC configuration mode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 118: Configuring Vpls With Bgp Autodiscovery And Signaling

    11. route-target export { as-number:nn | ip-address:nn } 12. signaling-protocol bgp 13. ve-id { number} 14. ve-range { number } 15. Use the commit or end command. DETAILED STEPS Step 1 configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 119 Enters BGP autodiscovery configuration mode where all BGP autodiscovery parameters are configured. This command is not provisioned to BGP until at least the VPN ID and the signaling protocol is configured. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 120 Enables BGP signaling, and enters the BGP signaling configuration submode where BGP signaling parameters are configured. This command is not provisioned to BGP until VE ID and VE ID range is configured. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 121: Configuring Vpls With Bgp Autodiscovery And Ldp Signaling

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring VPLS with BGP Autodiscovery and LDP Signaling Perform this task to configure BGP-based Autodiscovery and signaling: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 122 Each PE must have a unique L2 router ID. This CLI is optional, as a PE automatically generates a L2 router ID Note using the LDP router ID. Step 4 bridge group bridge-group-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 123 When rd autois configured, the RD value is as follows: {BGP Router ID}:{16 bits auto-generated unique index}. Step 10 route-target {as-number:nn | ip-address:nn | export | import } Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 124 ID cannot be used for multiple VFIs. Step 15 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 125: Configuring Pseudowire Headend

    • IPv6 configuration is not allowed under pw-iw interfaces. Configuring PWHE Interfaces Perform this task to configure PWHE interfaces, that is, to attach the generic interface list with a PWHE interfaces. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 126: Restrictions For Configuring Pwhe Interfaces

    These are the restrictions for configuring PWHE interfaces: • Neighbor and pw-ID pair must be unique in L2VPN. • pw-ether interfaces have to be VC type 4 or 5. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 127: Configuring Pwhe Interface Parameters

    (interface pw-ether id) Configures the PWHE interface and enters the interface configuration mode. (interface pw-iw id) Configures the PWHE interface and enters the interface configuration mode. Step 3 attach generic-interface-list interface_list_name Example: RP/0/RP0/CPU0:router(config-if)# attach generic-interface-list interfacelist1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 128 - Saves the configuration changes and remains within the configuration session. end - Prompts user to take one of these actions: • Yes - Saves configuration changes and exits the configuration session. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 129: Configuring Pwhe Crossconnect

    Step 3 xconnect group group-name Example: RP/0/RP0/CPU0:router (config-l2vpn)# xconnect group MS-PW1 Configures a cross-connect group name using a free-format 32-character string. Step 4 p2p xconnect-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 130: Enabling Pseudowire Grouping

    • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Enabling Pseudowire Grouping Perform this task to enable pseudowire grouping. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 131: Configuration Examples For Multipoint Layer 2 Services

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuration Examples for Multipoint Layer 2 Services This section includes these configuration examples: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 132: Multipoint Layer 2 Services Configuration For Provider Edge-To-Provider Edge: Example

    This configuration shows how to configure Multipoint Layer 2 Services for a PE-to-CE nodes: configure interface TenGigE0/0/0/0 l2transport---AC interface exit no ipv4 address no ipv4 directed-broadcast negotiation auto no cdp enable Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 133: Configuring Backup Disable Delay: Example

    The following example shows how to disable the MAC flush at the bridge port level: configure l2vpn bridge-group group1 bridge-domain domain1 interface TenGigE 0/0/0/0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 134: H-Vpls Configuration: Examples

    GigabitEthernet0/0/0/0.1 interface GigabitEthernet0/0/0/1.1 vfi core-pws neighbor 6.6.6.6 pw-id 10 Global Interface Configuration at N-PE2: interface GigabitEthernet0/6/0/0 dot1q tunneling ethertype 0x9200 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 135: H-Vpls With Access-Pws: Example

    GigabitEthernet0/1/4/0.1 ? Local AC neighbor 1.1.1.1 pw-id 100 --> Access PW to U-PE1 neighbor 2.2.2.2 pw-id 100 --> Access PW to U-PE2 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 136: Configuring Vpls With Bgp Autodiscovery And Signaling: Example

    1.1.1.10 255.255.255.255 mpls ldp router-id 1.1.1.1 interface GigabitEthernt0/1/0/0 router bgp 120 address-family l2vpn vpls-vpws neighbor 2.2.2.20 remote-as 120 update-source Loopback1 address-family l2vpn vpls-vpws signaling bgp disable Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 137: Minimum L2Vpn Configuration For Bgp Autodiscovery With Bgp Signaling

    Figure 21: VPLS with BGP autodiscovery and BGP signaling Configuration at PE1: l2vpn bridge group gr1 bridge-domain bd1 interface GigabitEthernet0/1/0/1.1 vfi vf1 ! AD independent VFI attributes vpn-id 100 ! Auto-discovery attributes Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 138: Minimum Configuration For Bgp Autodiscovery With Ldp Signaling

    Signaling, where any parameter that has a default value is not configured. (config)# l2vpn (config-l2vpn)# bridge group {bridge group name} (config-l2vpn-bg)# bridge-domain {bridge domain name} Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 139: Vpls With Bgp Autodiscovery And Ldp Signaling

    Configuration at PE2: l2vpn router-id 20.20.20.20 bridge group bg1 bridge-domain bd1 vfi vf1 vpn-id 100 autodiscovery bgp rd 2:200 router-target 12:12 signaling-protocol ldp vpls-id 120:100 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 140 Route Target - 12:12 NLRI sent at PE2: Source Address - 2.2.2.20 Destination Address - 1.1.1.10 Length - 14 Route Distinguisher - 2:200 L2VPN Router ID - 20.20.20.20 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 141: Configuring Pseudowire Headend: Example

    CE Configuration Consider two CEs connected using GigabitEthernet0/3/0/0 (CE1 and A-PE) and GigabitEthernet0/3/0/1 (CE2 and A-PE). interface Gig0/3/0/0 ipv4 address 10.1.1.1/24 router static address-family ipv4 unicast Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 142 Tx pin-down. (This must match the static configuration at P routers for Rx pin-down). Each PWHE has the PW connected to A-PE (The pw-id must match the pw-id at A-PE.) generic-interface-list il1 interface gig0/1/0/0 interface gig0/2/0/0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 143: Enabling Pseudowire Grouping: Example

    100.100.100.100 pw-id 1 p2p pwhe2 interface pw-ether2 neighbor 100.100.100.100 pw-id 2 Enabling Pseudowire Grouping: Example This example shows how to enable pseudowire grouping. config l2vpn pw-grouping Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 144 Implementing Multipoint Layer 2 Services Enabling Pseudowire Grouping: Example Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 145: Chapter 6 Implementing Ipv6 Vpn Provider Edge Transport Over Mpls

    MPLS label) for each IPv6 address prefix. Edge routers are configured as dual-stack, running both IPv4 and IPv6, and use the IPv4 mapped IPv6 address for IPv6 prefix reachability exchange. For detailed information about the commands used to configure 6PE/VPE, see the Cisco IOS XR Virtual Private Network Command Reference for the Cisco CRS Router.
  • Page 146: Information About 6Pe/Vpe

    Service providers running an MPLS/IPv4 infrastructure follow similar trends because several integration scenarios that offer IPv6 services on an MPLS network are possible. Cisco Systems has specially developed Cisco 6PE or IPv6 Provider Edge Router over MPLS, to meet all those requirements.
  • Page 147: Ipv6 On The Provider Edge And Customer Edge Routers

    IPv6 prefix for an ISP. The following figure illustrates the network architecture using tunnels on the CE routers. Figure 24: IPv6 Using Tunnels on the CE Routers Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 148: Ipv6 Provider Edge Multipath

    VRF interfaces. For OSPFv3, the following needs to operate differently in the VRF lite scenario, as opposed to the deployment with BGP or MPLS backbone: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 149: How To Implement 6Pe/Vpe

    Ensure that you configure 6PE/VPE on PE routers participating in both the IPv4 cloud and IPv6 clouds. Note To learn routes from both clouds, you can use all routing protocols supported on Cisco IOS XR software: BGP, OSPF, IS-IS, EIGRP, RIP, and Static.
  • Page 150 This option is also available in IPv6 neighbor configuration mode and VRF neighbor configuration mode. Note Step 6 exit Example: RP/0/RP0/CPU0:router(config-bgp-nbr-af)# exit Exits BGP address-family submode. Step 7 exit Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# exit Exits BGP neighbor submode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 151: Configuring Pe To Pe Core

    For information on configuring VPN Routing and Forwarding (VRF), refer to the Implementing BGP module of the Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 152 Specifies the vpnv6 address family and enters address family configuration submode. Step 4 bgp dampening [ half-life [ reuse suppress max-suppress-time ] | route-policy route-policy-name ] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 153 Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# router bgp 1 Terminates any active sessions for the specified neighbor and removes all associated routing information. Step 11 timers keepalive hold-time Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 154 RP/0/RP0/CPU0:router(config-bgp-vrf)# rd 345:567 Configures the route distinguisher. Use the auto keyword if you want the router to automatically assign a unique RD to the VRF. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 155: Configuring Ospfv3 As The Routing Protocol Between The Pe And Ce Routers

    • redistribute rip [ metric metric-value ] [ metric-type {1 | 2}] [route-policy policy-name] [tag tag-value ] 8. area area-id 9. interface {type interface-path-id} 10. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 156 • redistribute bgp process-id [ metric metric-value ] [ metric-type {1 | 2}] [ route-policy12route-policy policy-name ] [ tag tag-value ] • redistribute connected [metric metric-value ] [ metric-type {1 | 2}] [route-policypolicy-name ] [ tag tag-value Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 157 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 158: Configuration Examples For 6Pe/Vpe

    0205 value beef00000002 capability vrf-lite redistribute bgp 1 area 0 interface POS0/3/0/1 vrf V2 router-id 200.0.0.2 capability vrf-lite area 1 interface POS0/3/0/2 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 159: Implementing Layer 2 Tunnel Protocol Version 3

    • To perform these configuration tasks, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. All command task IDs are listed in individual command references and in the Cisco IOS XR Task ID Reference Guide.
  • Page 160: Information About Layer 2 Tunnel Protocol Version 3

    R4. When R4 needs to send a packet to R3, the packet follows the same path in reverse. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 161: L2Tpv3 Benefits

    • L2TPv3 control message rate limiting • L2TPv3 digest secret graceful switchover • Manual clearing of L2TPv3 tunnels • L2TPv3 tunnel management • Color aware policer on ethernet over L2TPv3 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 162: Static L2Tpv3 Sessions

    You must configure separate IP addresses for each cross-connect statement on the Carrier Edge router. The following configurations are supported for local switching: • Port-to-Port • Dot1q-to-Dot1q • QinQ-to-QinQ • QinAny-to-QinAny • Dot1q-to-QinQ • QinQ-to-Dot1q • QinQ-to-QinAny • QinAny-to-QinQ Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 163: Local Switching: Quality Of Service

    • Keep the IP addresses of the edge PE routers private across Inter-AS boundaries. • Keep different administrative or provisioning domains to manage the end-to-end service. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 164: L2Tpv3 Pseudowire Manager

    If a keepalive mechanism is required, the control plane is used, although it may not be used to bring up sessions. You can manually configure sessions. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 165: Maximum Transmission Unit Handling

    IPSec Mapping to L2TPv3 A CE 1 router sends an IPSec packet to a PE1 router. The PE1 router sends an IPSec packet to the Cisco IPSec VPN SPA by routing the look up for the front door virtual routing and forwarding (FVRF) in the service-ipsec interface.
  • Page 166: Like-To-Like Pseudowires

    7. transport-mode { ethernet | vlan } 8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 167 - Prompts user to take one of these actions: • Yes - Saves configuration changes and exits the configuration session. • No - Exits the configuration session without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 168: Configuring L2Tp Control-Channel Parameters

    This task configures a set of timing control-channel parameters in an L2TP class. All timing control-channel Note parameter configurations can be configured in any order. If not configured, the default values are applied. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 169 • timeout { max | min }—Specifies maximum and minimum retransmission intervals (in seconds) for resending control packets. Range is 1 to 8. The default maximum interval is 8; the default minimum interval is 1. Step 5 timeout setup seconds Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 170: Configuring L2Tpv3 Control-Channel Authentication Parameters

    The following L2TP control-channel authentication parameters can be configured in L2TP class configuration mode: • Authentication for the L2TP control-channel • Password used for L2TP control-channel authentication • Local hostname used for authenticating the control-channel Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 171 • [0 | 7]—Specifies the input format of the shared secret. The default value is 0. ◦0—Specifies an encrypted password will follow. ◦7—Specifies an unencrypted password will follow. • password—Defines the shared password between peer routers. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 172: Configuring L2Tpv3 Control Message Hashing

    3. digest { check disable | hash { MD5 | SHA1 } ] | secret { 0 | 7 } password ] 4. hidden DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2tp-class word Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 173: Configuring L2Tpv3 Digest Secret Graceful Switchover

    L2TPv3 control-channel authentication password without disrupting established L2TPv3 tunnels. This task is not compatible with authentication passwords configured with the older, CHAP-like Note control-channel authentication system. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 174 {check disable | hash {MD5 | SHA1} ] | secret {0 | 7} password] Example: RP/0/RP0/CPU0:router(config-l2tp-class)# digest secret cisco hash sha Enables L2TPv3 control-channel authentication or integrity checking. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 175 The output displayed for each tunnel in the specified L2TP class should show that two secrets are configured. Step 6 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 7 l2tp-class word Example: RP/0/RP0/CPU0:router(config)# l2tp-class class1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 176: Configuring L2Tp Control-Channel Maintenance Parameters

    Perform this task to configure the interval used for hello messages in an L2TP class. SUMMARY STEPS 1. configure 2. l2tp-class word 3. hello interval DETAILED STEPS Step 1 configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 177: Configuring L2Tpv3 Pseudowires

    7. Use the commit or end command. 8. pw-class pw-class-name 9. encapsulation l2tpv3 10. protocol l2tpv3 class class - name 11. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 178 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Step 8 pw-class pw-class-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 179: Configuring A Static L2Tpv3 Pseudowire

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring a Static L2TPv3 Pseudowire Perform this task to configure a static L2TPv3 pseudowire. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 180 Enter L2VPN configure submode. Step 3 xconnect group name Example: RP/0/RP0/CPU0:router(config-l2vpn)# xconnect group customer_X Enter a name for the cross-connect group. Step 4 p2p name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 181 Enters pseudowire class submode to define a pseudowire class template. Step 11 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 182 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 183: Configuration Examples For Layer 2 Tunnel Protocol Version 3

    Configuring L2TPv3 Control Channel Parameters: Example The following example shows a typical L2TPv3 control-channel configuration: configure l2tp-class FR-l2tp authentication hostname R2-PE1 password 7 121A0C041104 hello-interval 10 digest secret 7 02050D480809 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 184: Configuring An Interface For Layer 2 Transport Mode: Example

    The following example shows how to configure an interface to operate in Layer 2 transport mode: configure interface GigabitEthernet0/4/0/5 l2transport negotiation auto l2vpn xconnect group PP-2101 p2p xc2101 interface GigabitEthernet0/4/0/5 neighbor 150.150.150.250 pw-id 5 pw-class l2tpv3_class100 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 185: Chapter 8 Implementing Mpls Layer 3 Vpns

    XR Software module in the Cisco IOS XR System Management Configuration Guide for the Cisco CRS Router. For a complete description of the commands listed in this module, refer to the Cisco IOS XR Virtual Note Private Network Command Reference for the Cisco CRS Router. To locate documentation of other commands that appear in this chapter, use the command reference master index, or search online.
  • Page 186: Prerequisites For Implementing Mpls L3Vpn

    • To perform these configuration tasks, your Cisco IOS XR software system administrator must assign you to a user group associated with a task group that includes the corresponding command task IDs. All command task IDs are listed in individual command references and in the Cisco IOS XR Task ID Reference Guide.
  • Page 187: Mpls L3Vpn Restrictions

    The physical interfaces that connect the BGP speakers must support FIB and MPLS. Note The following restrictions apply to routing protocols OSPF and RIP: • IPv6 is not supported on OSPF and RIP. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 188: Information About Mpls Layer 3 Vpns

    • Customer edge (CE) router—Edge router on the network of the ISP that connects to the PE router on the network. A CE router must interface with a PE router. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 189: Mpls L3Vpn Benefits

    How MPLS L3VPN Works MPLS VPN functionality is enabled at the edge of an MPLS network. The PE router performs the following tasks: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 190: Virtual Routing And Forwarding Tables

    BGP Distribution of VPN Routing Information A PE router can learn an IP prefix from the following sources: • A CE router by static configuration Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 191: Mpls Forwarding

    To take advantage of iBGP load balancing, every network VRF must be assigned a unique route distinguisher. VRF is require a route distinguisher for BGP to distinguish between potentially identical prefixes received from different VPNs. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 192: Mpls L3Vpn Major Components

    With thousands of routers in a network each supporting multiple VRFs, configuration and management of route distinguishers across the network can present a problem. Cisco IOS XR software simplifies this process by assigning unique route distinguisher to VRFs using the rd auto command.
  • Page 193: Inter-As And Asbrs

    The peers in the different autonomous systems communicate over eBGP sessions; however, they can exchange route information as if they were iBGP peers. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 194: Transmitting Information Between Autonomous Systems

    • That the label assigned by the distributing router is properly interpreted. (The label associated with a route must be assigned by the corresponding next-hop router.) Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 195: Exchanging Vpn Routing Information

    • A route distinguisher (RD1). A route distinguisher is part of a destination network address. It makes the VPN-IPv4 route globally unique in the VPN service provider environment. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 196 The only difference is that ASBR2 is configured with the redistribute command with the connected keyword, which propagates the host routes to all PEs. The command is necessary as ASBR2 is not configured to change the next-hop address. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 197: Packet Forwarding

    (for example, from CE-5 to PE-3). Between autonomous systems, only a single level of labeling is used, corresponding to the advertised route. A data packet carries two levels of labels when traversing the VPN backbone: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 198 • The second label (VPN route label) directs the packet to the appropriate PE router or eBGP border edge router. Figure 31: Forwarding Packets Between MPLS VPN Inter-AS Systems with ASBRs Exchanging VPN-IPv4 Addresses Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 199 Figure 32: Forwarding Packets Without a New Label Assignment Between MPLS VPN Inter-AS System with ASBRs Exchanging VPN-IPv4 Addresses Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 200: Confederations

    • Configure a router to forward next-hop-self addresses between only the CEBGP border edge routers (both directions). The subautonomous systems (iBGP peers) at the subautonomous system border do Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 201 • Each CEBGP border edge router (CEBGP-1 and CEBGP-2) assigns a label for the router before distributing the route to the next subautonomous system. The CEBGP border edge router distributes the Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 202: Mpls Vpn Inter-As Bgp Label Distribution

    • Route reflectors exchange VPN-IPv4 routes by using multihop, multiprotocol eBGP. This configuration also preserves the next-hop information and the VPN labels across the autonomous systems. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 203: Bgp Routing Information

    BGP Messages and MPLS Labels MPLS labels are included in the update messages that a router sends. Routers exchange the following types of BGP messages: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 204: Sending Mpls Labels With Routes

    • Keepalive messages—Routers exchange keepalive messages to determine if a neighboring router is still available to exchange routing information. The router sends these messages at regular intervals. (Sixty seconds is the default for Cisco routers.) The keepalive message does not contain routing data; it contains only a message header.
  • Page 205: Vpnv4 Forwarding Using Gre Tunnels

    Carrier Supporting Carrier Support for L3VPN This section provides conceptual information about MPLS VPN Carrier Supporting Carrier (CSC) functionality and includes the following topics: • CSC Prerequisites Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 206: Csc Prerequisites

    • Customer carriers who use the VPN services provided by the backbone carrier receive the same level of security that Frame Relay or ATM-based VPNs provide. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 207: Configuration Options For The Backbone And Customer Carriers

    The links between the CE and PE routers use eBGP to distribute IPv4 routes and MPLS labels. Between the links, the PE routers use multiprotocol iBGP to distribute VPNv4 routes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 208: Customer Carrier: Mpls Service Provider

    6VPE provides the following benefits to service providers: • Support for IPv6 without changing the IPv4 MPLS backbone. • No requirement for a separate signaling plane. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 209: 6Vpe Network Architecture

    • Access: To support native IPv6, the access that connects to IPv4 and IPv6 domains must be IPv6-aware. Service provider edge elements can exchange routing information with end users; therefore, dual stacking is a mandatory requirement on the access layer. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 210: 6Vpe Operation

    IPv4 MPLS VPN. The packet forwarding of IPv4 on the current MPLS VPN remains intact. For detailed information on commands used to configure 6VPE over MPLS, see Cisco IOS XR MPLS Configuration Guide.
  • Page 211: Configuring Routing Protocols In The Core

    Step 3 Determine if MPLS High Availability support is required. MPLS VPN nonstop forwarding and graceful restart are supported on select routers and Cisco IOS XR software releases. Step 4 Determine if BGP load sharing and redundant paths are required.
  • Page 212: Configuring Multiprotocol Bgp On The Pe Routers And Route Reflectors

    Implementing MPLS Layer 3 VPNs Configuring the Core Network Forwarding module in the Cisco IOS XR IP Addresses and Services Configuration Guide for the Cisco CRS Router. Configuring Multiprotocol BGP on the PE Routers and Route Reflectors Perform this task to configure multiprotocol BGP (MP-BGP) connectivity on the PE routers and route reflectors.
  • Page 213: Connecting Mpls Vpn Customers

    9. exit 10. router bgp autonomous-system-number 11. vrf vrf-name 12. rd { as-number | ip-address | auto } 13. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 214 Specifies a route policy that can be exported from the local VPN. Step 7 export route-target [ as-number:nn | ip-address:nn ] Example: RP/0/RP0/CPU0:router(config-vrf-af)# export route-target 120:2 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 215 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 216: Configuring Vrf Interfaces On Pe Routers For Each Vpn Customer

    Example: RP/0/RP0/CPU0:router(config-if)# ipv4 address 192.168.1.27 255.255.255.0 Configures a primary IPv4 address for the specified interface. Step 5 Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 217: Configuring Bgp As The Routing Protocol Between The Pe And Ce Routers

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring BGP as the Routing Protocol Between the PE and CE Routers Perform this task to configure PE-to-CE routing sessions using BGP. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 218 18. route-policy route-policy-name out 19. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters Global Configuration mode. Step 2 router bgp autonomous-system-number Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 219 • redistribute ospfv3 process-id [ match { external [ 1 | 2 | internal | nssa-external [ 1 | 2 ] } ] [ metric metric-value ] [ route-policy route-policy-name ] • redistribute static [metric metric-value ] [ route-policy route-policy-name ] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 220 Exits VRF address family configuration mode and returns the router to VRF configuration mode for BGP routing. Step 11 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp-vrf)# neighbor 172.168.40.24 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 221 Example: RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)# route-policy In-Ipv4 in Applies the In-Ipv4 policy to inbound IPv4 unicast routes. Step 18 route-policy route-policy-name out Example: RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)# route-policy In-Ipv4 in Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 222: Configuring Ripv2 As The Routing Protocol Between The Pe And Ce Routers

    • redistribute ospf process-id [ match { external [ 1 | 2 ] | internal | nssa-external [ 1 | 2 ] } ] [ route-policy name ] • redistribute static [ route-policy name ] 8. Use the commit or end command. DETAILED STEPS Step 1 configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 223 • redistribute connected [ route-policy name ] • redistribute isis process-id [ level-1 | level-1-2 | level-2 ] [ route-policy name ] • redistribute eigrp as-number [ route-policy name ] Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 224: Configuring Static Routes Between The Pe And Ce Routers

    You must remove IPv4/IPv6 addresses from an interface prior to assigning, removing, or changing an Note interface's VRF. If this is not done in advance, any attempt to change the VRF on an IP interface is rejected. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 225 [ vrf vrf-name ] { ip-address | type interface-path-id } Example: RP/0/RP0/CPU0:router(config-static-vrf-afi)# 172.168.40.24/24 vrf vrf_1 10.1.1.1 Assigns the static route to vrf_1. Step 6 prefix/mask [vrf vrf-name] bfd fast-detect Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 226: Configuring Ospf As The Routing Protocol Between The Pe And Ce Routers

    Configuring OSPF as the Routing Protocol Between the PE and CE Routers Perform this task to configure provider edge (PE)-to-customer edge (CE) routing sessions that use Open Shortest Path First (OSPF). Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 227 Step 2 router ospf process-name Example: RP/0/RP0/CPU0:router(config)# router ospf 109 Enters OSPF configuration mode allowing you to configure the OSPF routing process. Step 3 vrf vrf-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 228 • Routing Information Protocol (RIP) Step 6 area area-id Example: RP/0/RP0/CPU0:router(config-ospf-vrf)# area 0 Configures the OSPF area as area 0. Step 7 interface type interface-path-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 229: Configuring Eigrp As The Routing Protocol Between The Pe And Ce Routers

    VPN across the BGP network as internal BGP (iBGP) routes. Before You Begin BGP is configured in the network. See the Implementing BGP module in the Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router You must remove IPv4/IPv6 addresses from an interface prior to assigning, removing, or changing an Note interface's VRF.
  • Page 230 Configures a VPN routing and forwarding (VRF) instance and enters VRF configuration mode for EIGRP routing. Step 4 address-family ipv4 Example: RP/0/RP0/CPU0:router(config-eigrp-vrf)# address family ipv4 Enters VRF address family configuration mode for the IPv4 address family. Step 5 router-id router-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 231 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 232: Configuring Eigrp Redistribution In The Mpls Vpn

    Step 2 router eigrp as-number Example: RP/0/RP0/CPU0:router(config)# router eigrp 24 Enters EIGRP configuration mode allowing you to configure the EIGRP routing process. Step 3 vrf vrf-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 233: With Asbrs Exchanging Ipv4 Routes And Mpls Labels

    Configuring ASBRs to Exchange IPv4 Routes and MPLS Labels Perform this task to configure the autonomous system boundary routers (ASBRs) to exchange IPv4 routes and MPLS labels. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 234 Allocates the MPLS labels for a specific IPv4 unicast or VPN routing and forwarding (VRF) IPv4 unicast routes so that the BGP router can send labels with BGP routes to a neighboring router that is configured for a labeled-unicast session. Step 5 neighbor ip-address Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 235 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. end - Prompts user to take one of these actions: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 236: Configuring The Route Reflectors To Exchange Vpn-Ipv4 Routes

    Example: RP/0/RP0/CPU0:router(config)# router bgp 120 RP/0/RP0/CPU0:router(config-bgp)# Enters Border Gateway Protocol (BGP) configuration mode allowing you to configure the BGP routing process. Step 3 neighbor ip-address Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 237 • Use the route-policy-name argument to define the name of the of route policy. The example shows that the route policy name is defined as pass-all. • Use the in keyword to define the policy for inbound routes. Step 9 route-policy route-policy-name out Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 238: Configuring The Route Reflector To Reflect Remote Routes In Its As

    (ASBR) to the provider edge (PE) routers in the autonomous system. This task is accomplished by making the ASBR and PE route reflector clients of the RR. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 239 Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast RP/0/RP0/CPU0:router(config-bgp-af)# Enters global address family configuration mode for the IPv4 unicast address family. Step 4 allocate-label all Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 240 RP/0/RP0/CPU0:router(config-bgp-nbr-af)# route-reflector-client Configures the router as a BGP route reflector and neighbor 172.168.40.24 as its client. Step 10 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp-nbr-af)# neighbor 10.40.25.2 RP/0/RP0/CPU0:router(config-bgp-nbr)# Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 241: With Asbrs Exchanging Vpn-Ipv4 Addresses

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Providing VPN Connectivity Across Multiple Autonomous Systems with MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses This section contains instructions for the following tasks: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 242: Configuring The Asbrs To Exchange Vpn-Ipv4 Addresses For Ip Tunnels

    Enters Border Gateway Protocol (BGP) configuration mode allowing you to configure the BGP routing process. Step 3 address-family { ipv4 tunnel } Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 tunnel RP/0/RP0/CPU0:router(config-bgp-af)# Configures IPv4 tunnel address family. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 243 • Use the in keyword to define the policy for inbound routes. Step 10 route-policy route-policy-name { out } Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 244 - Prompts user to take one of these actions: • Yes - Saves configuration changes and exits the configuration session. • No - Exits the configuration session without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 245: Configuring A Static Route To An Asbr Peer

    RP/0/RP0/CPU0:router(config-static-afi)# Enables an IPv4 address family. Step 4 A.B.C.D/length next-hop Example: RP/0/RP0/CPU0:router(config-static-afi)# 10.10.10.10/32 10.9.9.9 Enters the address of the destination router (including IPv4 subnet mask). Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 246: Configuring Ebgp Routing To Exchange Vpn Routes Between Subautonomous Systems

    8. address-family vpnv4 unicast 9. route-policy route-policy-name in 10. route-policy route-policy-name out 11. next-hop-self 12. Use the commit or end command. DETAILED STEPS Step 1 configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 247 Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address 10.168.40.24 as a BGP peer. Step 7 remote-as autonomous-system-number Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as 2002 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 248: Configuring Mpls Forwarding For Asbr Confederations

    Configuring MPLS Forwarding for ASBR Confederations Perform this task to configure MPLS forwarding for autonomous system boundary router (ASBR) confederations (in BGP) on a specified interface. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 249 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. end - Prompts user to take one of these actions: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 250: Configuring A Static Route To An Asbr Confederation Peer

    Enters router static configuration mode. Step 3 address-family ipv4 unicast Example: RP/0/RP0/CPU0:router(config-static)# address-family ipv4 unicast RP/0/RP0/CPU0:router(config-static-afi)# Enables an IPv4 address family. Step 4 A.B.C.D/length next-hop Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 251: Configuring Carrier Supporting Carrier

    DETAILED STEPS Step 1 Identify the type of customer carrier, ISP, or MPLS VPN service provider. Sets up requirements for configuration of carrier supporting carrier network. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 252: Configuring The Backbone Carrier Core

    CSC-PE and CSC-CE routers. This configuration is used as the example in the tasks that follow. Figure 39: Configuration for Peering with Directly Connected Interfaces Between CSC-PE and CSC-CE Routers Configuring a CSC-PE Perform this task to configure a CSC-PE. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 253 • Range for 2-byte numbers is 1 to 65535. Range for 4-byte numbers is 1.0 to 65535.65535. Step 3 address-family vpnv4 unicast Example: RP/0/RP0/CPU0:router(config-bgp)# address-family vpnv4 unicast RP/0/RP0/CPU0:router(config-bgp-af)# Configures VPNv4 address family. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 254 RP/0/RP0/CPU0:router(config-bgp-vrf)# address-family ipv4 unicast Configures a route distinguisher. Use the auto keyword to automatically assign a unique route distinguisher. Note Step 10 address-family ipv4 unicast Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 255 Applies the pass-all policy to all inbound routes. Step 16 route-policy route-policy-name out Example: RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)# route-policy pass-all out Applies the pass-all policy to all outbound routes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 256: Configuring Pe To Ce Core

    15. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 router bgp as-number Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 257 To see a list of all the possible keywords and arguments for this command, use the CLI help (?). Step 7 redistribute {connected | static | eigrp } Example: RP/0/RP0/CPU0:router(config-bgp-vrf-af)# Causes routes from the specified instance to be redistributed into BGP. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 258 Configures AS override on the PE router. This causes the PE router to replace the CE’s ASN with its own (PE) ASN. This loss of information could lead to routing loops; to avoid loops caused by as-override, use it in conjunction Note with site-of-origin. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 259: Configuring A Static Route To A Peer

    To configure a static route on a CSC-PE, you must configure the router under the VRF (as noted in the Note detailed steps). SUMMARY STEPS 1. configure 2. router static 3. address-family ipv4 unicast 4. A.B.C.D/length next-hop 5. Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 260: Verifying The Mpls Layer 3 Vpn Configuration

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Verifying the MPLS Layer 3 VPN Configuration Perform this task to verify the MPLS Layer 3 VPN configuration. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 261 Displays the Open Shortest Path First (OSPF) routes table in the currently running configuration. Step 3 show ospf vrf vrf-name database Example: RP/0/RP0/CPU0:router# show ospf vrf vrf_A database Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 262 Displays the status of all BGP VPN unicast connections. Step 10 show running-config router isis Example: RP/0/RP0/CPU0:router# show running-config router isis Displays the Intermediate System-to-Intermediate System (IS-IS) content of the currently running configuration. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 263 RP/0/RP0/CPU0:router# show cef vrf vrf_A 10.0.0.1 Displays the IPv4 Cisco Express Forwarding (CEF) table for a specified VRF. Step 18 show cef vrf vrf-name ip-address location node-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 264: Configuring L3Vpn Over Gre

    5. tunnel mode gre ipv4 6. tunnel source type path-id 7. tunnel destination ip-address 8. Use the commit or end command. DETAILED STEPS Step 1 configure Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 265 Sets the encapsulation mode of the tunnel interface to GRE. Step 6 tunnel source type path-id Example: RP/0/RP0/CPU0:router(config-if)# tunnel source TenGigE0/2/0/1 Specifies the source of the tunnel interface. Step 7 tunnel destination ip-address Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 266: Configuring Igp Between Provider Edge Routers

    10. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 router ospf process-name Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 267 RP/0/RP0/CPU0:router(config-ospf)# area 0 Enters area configuration mode and configures an area for the OSPF process. Step 9 interface tunnel-ip number Example: RP/0/RP0/CPU0:router(config-ospf)# interface tunnel-ip 4 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 268: Configuring Ldp/Gre On The Provider Edge Routers

    12. interface tunnel-ip number 13. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 mpls ldp Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 269 RP/0/RP0/CPU0:router(config-ldp)# graceful-restart recoonect-timeout 180 Defines the time for which the neighbor should wait for a reconnection if the LDP session is lost. Step 9 graceful-restart forwarding-state-holdtime seconds Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 270: Configuring L3Vpn

    • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring L3VPN Perform this task to configure L3VPN. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 271: Ipv4 Address Ipv4-Address Subnet-Mask

    29. route-policy route-policy-name in 30. route-policy route-policy-name out 31. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 272: Specifies The Ipv4 Address And Subnet Mask For The Interface

    Specifies the IPv4 address and subnet mask for the interface. • ipv4-address specifies the IP address of the interface. • subnet-mask specifies the subnet mask of the interface. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 273 Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Step 15 remote-as as-number Example: RP/0/RP0/CPU0:router(config-bgp-nbr)#remote-as 1 Creates a neighbor and assigns a remote autonomous system number to it.. Step 16 update-source type interface-path-id Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 274 Specifies either the IPv4 or IPv6 address family and enters address family configuration submode. Step 23 redistribute connected [ metric metric-value ] [ route-policy route-policy-name ] Example: RP/0/RP0/CPU0:router(config-vrf-af)# redistribute connected Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 275 Example: RP/0/RP0/CPU0:router(config-bgp-nbr-af)#route-policy BGP_pass_all out Defines a route policy and enters route policy configuration mode. Step 31 Use the commit or end command. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 276: Configuring 6Vpe Support

    6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: configure RP/0/RP0/CPU0:router# Enters the Global Configuration mode. Step 2 vrf vrf-name Example: RP/0/RP0/CPU0:router(config)# vrf vrf_1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 277: Configuring Bgp Route Distinguisher And Core-Facing Sessions

    Before you perform this task, you must first configure a VRF and map the VRF to an interface. For more information, see Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 278 RP/0/RP0/CPU0:router(config-bgp)# vrf red Configures a VPN VRF instance and enters VRF configuration mode. Step 5 rd { as-number:nn | ip-address:nn auto } Example: RP/0/RP0/CPU0:router(config-bgp-vrf)# router bgp 100 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 279: Configuring A Pe-Ce Protocol

    Configuring a PE-CE Protocol Perform this task to configure a PE-CE protocol for 6VPE. eBGP, iBGP and eiBGP load-balancing configuration options are also supported for 6VPE. Note Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 280 Configures a VPN VRF instance and enters VRF configuration mode. Step 4 address-family ipv6 unicast Example: RP/0/RP0/CPU0:router(config-bgp-vrf) address-family ipv6 unicast RP/0/RP0/CPU0:router(config-bgp-vrf-af) Enters IPv6 address family configuration mode. Step 5 exit Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 281 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 282: Configuration Examples For Implementing Mpls Layer 3 Vpns

    100:1 address-family ipv4 unicast redistribute connected neighbor 10.0.0.1 remote-as 200 address-family ipv4 unicast as-override route-policy pass-all in route-policy pass-all out advertisement-interval 5 mpls ldp Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 283: Configuring The Routing Information Protocol On The Pe Router: Example

    Configuration examples for the MPLS VPN CSC include: Configuring the Backbone Carrier Core: Examples Configuration examples for the backbone carrier core included in this section are as follows: Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 284: Configuring The Links Between Csc-Pe And Csc-Ce Routers: Examples

    Configuring a Static Route to a Peer: Example The following example shows how to configure a static route to an Inter-AS or CSC-CE peer: config Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 285: Configuring A Static Route To A Peer: Example

    0 interface TenGigE0/2/0/1 RP/0/RSP0/CPU0:PE1#sh run router ospf 0 router ospf 0 router-id 1.1.1.1 mpls ldp sync dead-interval 60 hello-interval 15 area 0 interface Loopback0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 286 RP/0/RSP0/CPU0:PE1#sh run int tenGigE 0/2/0/0.1 interface TenGigE0/2/0/0.1 vrf vpn1 ipv4 address 150.1.1.1 255.255.255.0 encapsulation dot1q 1 RP/0/RSP0/CPU0:PE1#sh run router bgp router bgp 1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 287: Configuration Examples For 6Vpe

    The following example shows a standard configuration of an IPv6 address family under VRF: configure vrf red address-family ipv6 unicast import route-target 500:1 export route-target 500:1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 288: Configuring Bgp For The Address Family Vpnv6: Example

    (PE router) interface GigabitEthernet0/0/1/3.1 vrf red ipv4 address 192.3.1.1 255.255.255.0 ipv6 address 2001:db80:cafe:1::1/64 dot1q vlan 2 show run interface gigabitEthernet 0/0/1/3.2 interface GigabitEthernet0/0/1/3.2 vrf blue Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 289 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast address-family ipv6 labeled-unicast address-family vpnv6 unicast Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 290 192.168.253.2 use neighbor-group all neighbor 192.168.253.3 use neighbor-group all neighbor 192.168.253.5 use neighbor-group all neighbor 192.168.253.6 use neighbor-group all neighbor 192.168.254.3 remote-as 3 update-source Loopback0 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 291 192.168.254.3 remote-as 3 update-source Loopback0 address-family ipv4 unicast address-family vpnv4 unicast address-family ipv6 labeled-unicast vrf red rd 500:1 address-family ipv4 unicast Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...
  • Page 292 Gateway of last resort is not set 2001:db80:beef:1::/64 [200/0] via ::ffff:192.168.253.6 (nexthop in vrf default), 07:04:14 2001:db80:cafe:1::/64 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1 2001:db80:cafe:1::1/128 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1 Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x...

Table of Contents