hit counter script
Cisco ASR 9000 Series Configuration Manuallines

Cisco ASR 9000 Series Configuration Manuallines

L2vpn and ethernet services configuration guide
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000
Series Routers, IOS XR Release 6.3.x
First Published: 2017-09-01
Last Modified: 2018-03-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 ASR 9000 Series

  • Page 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x First Published: 2017-09-01 Last Modified: 2018-03-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)
  • Page 2 Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. 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 trademarks.
  • Page 3: Table Of Contents

    IEEE 802.3 Physical Ethernet Infrastructure IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.3z 1000 Mbps Gigabit Ethernet IEEE 802.3ae 10 Gbps Ethernet General Ethernet Standards MAC Address L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 4 Configuring Native VLAN Removing an 802.1Q VLAN Subinterface Configuration Examples Configuring an Ethernet Interface: Example Configuring a L2VPN AC: Example Configuring VPWS with Link Bundles: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 5 Information About Configuring Link Bundles Link Bundling Overview Characteristics of Link Bundles IEEE 802.3ad Standard Non Revertive Behavior for LACP Bundle Interface QoS and Link Bundling L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 6 QinQ Mode QinAny Mode Quality of Service High Availability Preferred Tunnel Path Multisegment Pseudowire Pseudowire Redundancy Pseudowire Load Balancing Pseudowire Grouping Ethernet Wire Service L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 7 Configuring Static Point-to-Point Cross-Connects Configuring Dynamic Point-to-Point Cross-Connects Configuring Inter-AS Configuring L2VPN Quality of Service Restrictions Configuring an L2VPN Quality of Service Policy in Port Mode L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 8 Configuring L2TPv3 over IPv6 Tunnels Configuring Neighbor AFI for Pseudowire Configuring L2TPv3 encapsulation and protocol Configuring Source IPv6 address for L2TPv3 over IPv6 tunnel L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x viii...
  • Page 9 Configuring Dynamic Pseudowires and Preferred Paths at T-PE1 Node: Example Configuring Dynamic Pseudowires and Preferred Paths at S-PE1 Node: Example Configuring Dynamic Pseudowires and Preferred Paths at T-PE2 Node: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 10 Configuring L2TPv3 over IPv4 Tunnels: Example Configuring a Dynamic L2TPv3 Pseudowire Configuring L2TPv3 Encapsulation and Protocol: Example Configuring L2TP Control-Channel Parameters: Example Configuration Examples for EVPN-VPWS Configuring EVPN-VPWS: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 11 MAC Address Move and Unicast Traffic Counters LSP Ping over VPWS and VPLS Split Horizon Groups Layer 2 Security Port Security Dynamic Host Configuration Protocol Snooping L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 12 Configuring a Layer 2 Virtual Forwarding Instance Creating the Virtual Forwarding Instance Associating Pseudowires with the Virtual Forwarding Instance Associating a Virtual Forwarding Instance to a Bridge Domain L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 13 Enabling Load Balancing with ECMP and FAT PW for VPLS Configuring Pseudowire Headend PWHE Configuration Restrictions Configuring Generic Interface List Configuring PWHE Interfaces Configuring PWHE Crossconnect L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xiii...
  • Page 14 Configuring G.8032 Ethernet Ring Protection: Example Configuring Interconnection Node: Example Configuring the Node of an Open Ring: Example Configuring Flow Aware Transport Pseudowire: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 15 Configuring Backbone Source MAC Address Configuring Unknown Unicast Backbone MAC under PBB Edge Bridge Domain Configuring Static MAC addresses under PBB Edge Bridge Domain Configuring PBB VPLS L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 16 C H A P T E R 8 Implementing Multiple Spanning Tree Protocol Prerequisites for Implementing Multiple Spanning Tree Protocol Information About Implementing Multiple Spanning Tree Protocol Spanning Tree Protocol Overview L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 17 Configuring MSTAG or REPAG Configuring an untagged subinterface Enabling MSTAG Configuring MSTAG parameters Configuring MSTAG Topology Change Propagation Verifying MSTAG MSTAG Uplink Tracking L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xvii...
  • Page 18 Helpful Hints for Creating Ethernet Services Access Lists Source and Destination Addresses Ethernet Services Access List Entry Sequence Numbering Sequence Numbering Behavior How to Implement Layer 2 Access Lists L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xviii...
  • Page 19 C H A P T E R 1 1 EVPN Features EVPN Overview EVPN Operation EVPN Route Types Configure EVPN L2 Bridging Service EVPN Software MAC Learning L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 20 Configure EVPN on the Existing VPLS Network EVPN Single-Active Multi-Homing Configure EVPN Single-Active Multi-Homing Configuring EVPN Ethernet Segment Configure EVPN Service Instance (EVI) Parameters L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 21 Verification EVPN Routing Policy EVPN Route Types EVPN RPL Attribute EVPN RPL Attribute Set EVPN Attributes and Operators Configure EVPN RPL Feature Running Configuration L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 22 Configure EVPN VPWS over SR-TE Policy Configure VPWS Pseudowire Headend over SR-TE Policy Running Configuration Verify EVPN VPWS Preferred Path over SR-TE Policy Configuration L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xxii...
  • Page 23 Configure EVPN VPWS Configure VPWS with Pseudowire Headend Running Configuration Related Topics Overview of Segment Routing How Segment Routing Works Segment Routing Global Block L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xxiii...
  • Page 24 Contents L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xxiv...
  • Page 25: Obtaining Documentation And Submitting A Service Request

    From Release 6.1.2 onwards, Cisco introduces support for the 64-bit Linux-based IOS XR operating system. Extensive feature parity is maintained between the 32-bit and 64-bit environments. Unless explicitly marked otherwise, the contents of this document are applicable for both the environments. For more details on Cisco IOS XR 64 bit, refer to the Release Notes for Cisco ASR 9000 Series Routers, Release 6.1.2 document.
  • Page 26 Preface Obtaining Documentation and Submitting a Service Request L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x xxvi...
  • Page 27: C H A P T E

    Release 6.3.2 EVPN IPv6 Hosts with Mobility Mobility feature enables Mobility, on page 601 you to provide EVPN IPv6 service over IPv4-MPLS core network. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 28 L2VPN Virtual Private LAN Service (VPLS) or Virtual Private Wire Service (VPWS) using SR-TE policy. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 29 DHCPv6 Relay and DHCPv6 Relay DHCPv6 Relay , on page feature provides DHCP support for end users in EVPN multi-homing Active-Active (MH-AA) deployment scenarios. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 30 New and Changed VPN Features New and Changed VPN Features L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 31: Prerequisites For Configuring Layer 2 Ethernet Interfaces

    Routers Getting Started Guide. To configure a Management Ethernet interface for routing or to modify the configuration of a Management Ethernet interface, see the Advanced Configuration and Modification of the Management Ethernet Interface on the Cisco ASR 9000 Series Router chapter of the Interface and Hardware Component Configuration Guide for Cisco ASR 9000 Series Routers.
  • Page 32: Layer 2 Theory And Standards Adherence

    Ethernet is defined by the IEEE 802.3 international standard. It enables the connection of up to 1024 nodes over coaxial, twisted-pair, or fiber-optic cable. The Cisco ASR 9000 Series Routers support Gigabit Ethernet (1000 Mbps) and 10-Gigabit Ethernet (10 Gbps) interfaces.
  • Page 33: Ethernet Wire Service

    EPL service—delivered using optical transmission devices such as DWDM (dense wavelength division multiplexing), CDWM (coarse wavelength division multiplexing), or SONET/SDH—should be considered. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 34: Ethernet Virtual Private Line

    This service works similar to an MPLS VPN, except it functions at L2 instead of L3. While a VPLS E-LAN is a viable solution, its scalability and QoS control are suspect compared to that of MPLS VPNs. In addition, L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 35: Ethernet Flow Point

    (this is discussed later in the document). Ethernet Flow Point An Ethernet Flow Point (EFP) is a substream partition of a main interface. On Cisco ASR 9000 Series Routers, the EFP is implemented as an L2 subinterface with an encapsulation statement.
  • Page 36: Gigabit Ethernet Protocol Standards Overview

    By leveraging the current Ethernet standard and the installed base of Ethernet and Fast Ethernet switches and routers, network managers do not need to retrain and relearn a new technology in order to provide support for Gigabit Ethernet. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 37: Ethernet Mtu

    • IEEE 802.1ad Provider Bridges—This standard is a subset of 802.1q and is often referred to as 802.1ad. The Cisco ASR 9000 Series Routers do not adhere to the entire standard, but large portions of the standard's functionality are supported.
  • Page 38: Flow Control On Ethernet Interfaces

    The flow control used on 10-Gigabit Ethernet interfaces consists of periodically sending flow control pause frames. It is fundamentally different from the usual full- and half-duplex flow control used on standard management interfaces. On the Cisco ASR 9000 Series Routers both ingress and egress flow control are off by default.
  • Page 39: Link Autonegotiation On Ethernet Interfaces

    Also, you can bridge or tunnel the traffic by many ways from one or more of the router’s ingress EFPs to one or more egress EFPs. This traffic is a mixture of VLAN IDs, single or double (QinQ) encapsulation, and ethertypes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 40: Improving The Scalability Of Efps On Bundle Interfaces

    • encapsulation command - This command is used to specify matching criteria. • rewrite command - This command is used to specify the VLAN tag rewrite criteria. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 41: Egress Efp Filtering

    EFP traffic from exiting the router. The Cisco ASR 9000 Series Routers allow for different VLANs on different ports within the same bridge domain. This allows a bridge to forward a packet out of a port not configured for the VLAN tag on the packet.
  • Page 42 An ordering precedence is used for how EFP matches are applied in hardware. The model is for matches that are more specific to be processed before matches that are less specific. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 43: Applying Features

    The EFP can be used to designate the frames belonging to a particular Ethernet flow forwarded in the data path. These forwarding cases are supported for EFPs in Cisco IOS XR software: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 44: 802.1Q Vlan

    L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 45: Subinterface Mtu

    VLAN tags are siphoned for specific services. For example, a tag may be used to provide L3 services for general internet access. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 46: How To Configure Layer 2 Features On Ethernet Interfaces

    This shutdown can be removed only be entering the no shutdown command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 47: Configuring Ethernet Interfaces

    Configuring a 10-Gigabit Ethernet Interface Perform this task to configure an Ethernet interface: SUMMARY STEPS 1. configure interface TenGigE [ instance ] 2. l2transport 3. mtu bytes L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 48 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 49: Configuring A Gigabit Ethernet Interface

    • The network mask can be a four-part dotted decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means that the corresponding address bit belongs to the network address. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 50 • Autonegotiation must be explicitly enabled on both ends of the connection, or speed and duplex settings must be configured manually on both ends of the connection. • If autonegotiation is enabled, any manually configured speed or duplex settings take precedence. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 51: What To Do Next

    The steps in this procedure configure the L2VPN Ethernet port to operate in EFP mode. SUMMARY STEPS configure interface [GigabitEthernet | TenGigE] instance.subinterface l2transport encapsulation dot1q vlan-id L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 52 Example: RP/0/RSP0/CPU0:router(config-subif)#encapsulation dot1q 50 Assigns the matching VLAN ID and Ethertype to the interface. Step 4 interface [GigabitEthernet | TenGigE] instance.subinterface l2transport Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 53 Enters configuration mode for the named bridge domain. This creates a new bridge domain modifies the existing bridge domain if it already exists. Step 9 interface [GigabitEthernet | TenGigE] instance.subinterface Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 54: Configuring Egress Efp Filtering

    (Optional) Displays statistics for the subinterface on the router. Configuring Egress EFP Filtering This section describes the procedures for configuring the egress EFP filtering feature on the Cisco ASR 9000 Series Routers. Egress EFP filtering is a L2 subinterface specific feature that controls how strictly subinterface encapsulation filtering is performed in the egress direction.
  • Page 55 Enables strict egress filtering on all subinterfaces on the device by default. Step 3 interface {GigabitEthernet | TenGigE | FastEthernet | Bundle-Ether} instance.subinterface Example: RP/0/RSP0/CPU0:PE44_ASR-9010(config)# interface GigabitEthernet 0/1/0/1.1 RP/0/RSP0/CPU0:PE44_ASR-9010(config-subif)# Creates an L2 subinterface. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 56: Configuring 802.1Q Vlan Interfaces

    6. show ethernet trunk bundle-ether instance DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 interface {GigabitEthernet | TenGigE | Bundle-Ether} instance.subinterface Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 57 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 58: Configuring Native Vlan

    You must include the l2transport keyword in the command string; otherwise, the configuration creates a Layer Note 3 subinterface rather than an Attachment Circuit. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 59: Removing An 802.1Q Vlan Subinterface

    Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 no interface {GigabitEthernet | TenGigE | Bundle-Ether} instance.subinterface Example: RP/0/RSP0/CPU0:router(config)# no interface TenGigE 0/2/0/4.10 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 60: Configuration Examples

    TenGigE0/0/0/1 is down, line protocol is down Hardware is TenGigE, address is 0001.2468.abcd (bia 0001.81a1.6b23) Internet address is 172.18.189.38/27 MTU 1448 bytes, BW 10000000 Kbit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 61: Configuring A L2Vpn Ac: Example

    GigabitEthernet0/5/0/0.2 l2transport encapsulation dot1q 100 ethernet egress-filter strict interface GigabitEthernet0/5/0/1.100 l2transport encapsulation dot1q 100 ethernet egress-filter strict l2vpn bridge group example bridge-domain mybridge interface GigabitEthernet0/5/0/0.2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 62: Configuring Vpws With Link Bundles: Example

    GigabitEthernet0/1/0/10.1 l2transport encapsulation dot1q 12 interface GigabitEthernet0/1/0/20 bundle id 12 mode on negotiation auto interface GigabitEthernet0/1/0/21 bundle id 12 mode on negotiation auto L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 63: Configuring Ethernet Bundle With L2 And L3 Services: Example

    RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 40 RP/0/RSP0/CPU0:router(config-subif)# commit RP/0/RSP0/CPU0:router(config-subif)# exit RP/0/RSP0/CPU0:router(config)# exit This example shows how to create two VLAN subinterfaces on an Ethernet bundle at one time: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 64: Where To Go Next

    Model chapter later in this document. For information about IPv6, see the IP Addresses and Services Configuration Guide for Cisco ASR 9000 Series Routers. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 65: Ethernet Features

    Policy Based Forwarding The Cisco ASR 9000 Series Routers allow a single MAC address to be mapped to a VLAN that is different from the port’s configured VLAN. To separate the traffic entering two different EFPs, you must define an EFP using the source VLAN tag and the source MAC address.
  • Page 66: Layer 2 Protocol Tunneling

    There are no dedicated L2PT counters. There are no L2PT-specific adjustments for QoS or other miscellaneous parameters. L2PT in the Forward Mode Figure below shows L2PT configured in the forward mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 67 GigabitEthernet0/1/0/1.1 interface GigabitEthernet0/1/0/2.1 interface GigabitEthernet0/5/0/1 negotiation auto interface GigabitEthernet0/5/0/1.1 l2transport encapsulation default interface GigabitEthernet0/5/0/2 negotiation auto interface GigabitEthernet0/5/0/2.1 l2transport encapsulation default l2protocol cpsv tunnel L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 68: L2Pt In The Reverse Mode With Protocol Frame Tagging

    In this example, once the protocol traffic enters router R1, a VLAN tag is added to it. Before the traffic is sent through the service provider network, a second VLAN tag is added (100). The Cisco ASR 9000 Series Routers perform the L2PT encapsulation on a double-tagged protocol frame.
  • Page 69 GigabitEthernet0/5/0/5 negotiation auto interface GigabitEthernet0/5/0/5.1 l2transport encapsulation untagged rewrite ingress tag push dot1q 100 symmetric ethernet egress-filter strict interface GigabitEthernet0/5/0/6 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 70 • Ethernet egress filtering on GigabitEthernet subinterface 0/1/0/2.1 detects a tag ID mismatch, and drops the frame. In this way, the bridge domain’s flooded traffic is prevented from exiting other customer interfaces. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 71: L2Pt Configuration Notes

    • L2PT encapsulation and decapsulation is supported for untagged protocol frames, single-tagged, and double-tagged frames. Tag Ethertypes of 0x8100, 0x88A8, and 0x9100 are supported, however, 0x9200 is not. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 72: How To Implement Ethernet Features

    RP/0/RSP0/CPU0:router# interface GigabitEthernet 0/2/0/4.10 l2transport Enters subinterface configuration mode and enables Layer 2 transport mode on a port and enters Layer 2 transport configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 73 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 74: Configuring Source Bypass Filter

    • encapsulation untagged or • encapsulation dot1ad vlan-id dot1q vlan-id or • encapsulation dot1q vlan-id second-dot1q vlan-id or Example: RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 10 RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1ad 10 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 75: Configuration Examples

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuration Examples Configuring Policy Based Forwarding: Example This example shows how to configure policy based forwarding: config interface GigabitEthernet0/0/0/2.3 l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 76: Configuring Layer 2 Protocol Tunneling: Example

    GigabitEthernet0/1/0/2.1 At the customer facing router (decapsulation end): interface GigabitEthernet0/5/0/1 negotiation auto interface GigabitEthernet0/5/0/1.1 l2transport encapsulation default interface GigabitEthernet0/5/0/2 negotiation auto interface GigabitEthernet0/5/0/2.1 l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 77: Configuring L2Pt In Reverse Mode

    GigabitEthernet0/1/0/1.1 interface GigabitEthernet0/1/0/2.1 interface GigabitEthernet0/1/0/3.1 At the customer facing router (decapsulation end): interface GigabitEthernet0/5/0/4 negotiation auto interface GigabitEthernet0/5/0/4.1 l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 78 200 symmetric ethernet egress-filter strict l2vpn bridge group examples bridge-domain r2-bridge interface GigabitEthernet0/5/0/4.1 interface GigabitEthernet0/5/0/5.1 interface GigabitEthernet0/5/0/6.1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 79: Configuring Link Bundles

    • You must be in a user group associated with a task group that includes the proper task IDs. The command reference guides include the task IDs required for each command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 80: Information About Configuring Link Bundles

    • EtherChannel—Cisco proprietary technology that allows the user to configure links to join a bundle, but has no mechanisms to check whether the links in a bundle are compatible. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 81: Characteristics Of Link Bundles

    • Multicast traffic is load balanced over the members of a bundle. For a given flow, internal processes select the member link and all traffic for that flow is sent over that member. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 82: Ieee 802.3Ad Standard

    On the egress direction, QoS is applied on the bundle with a reference to the member links. QoS is applied based on the sum of the member bandwidths. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 83: Vlans On An Ethernet Link Bundle

    When QoS is applied on the bundle for either the ingress or egress direction, QoS is applied at each member interface. The Link Bundling feature supports all the QoS features described in the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide.
  • Page 84: Nonstop Forwarding During Card Failover

    • Ethernet interfaces • VLAN subinterfaces How to Configure Link Bundling Configuring Ethernet Link Bundles This section describes how to configure a Ethernet link bundle. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 85 19. show lacp Bundle-Ether bundle-id (optional) DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 interface Bundle-Ether bundle-id Example: RP/0/RSP0/CPU0:router(config)# interface Bundle-Ether 3 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 86 It sets default values for the wait-while timer and suppress-flaps timer to achieve this. Step 8 exit Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 87 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 88: Configuring Vlan Bundles

    These tasks are describe in detail in the procedure that follows. Note In order for a VLAN bundle to be active, you must perform the same configuration on both ends of the bundle connection. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 89 RP/0/RSP0/CPU0:router# configure Enters Global Configuration mode. Step 2 interface Bundle-Ether bundle-id Example: RP/0/RSP0/CPU0:router#(config)# interface Bundle-Ether 3 Creates and names a new Ethernet link bundle. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 90 Creates a new VLAN, and assigns the VLAN to the Ethernet bundle you created in Step 2. Replace the bundle-id argument with the bundle-id you created in Step 2. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 91 • Cancel - Remains in the configuration mode, without committing the configuration changes. Step 15 exit Example: RP/0/RSP0/CPU0:router (config-subif)# exit Exits interface configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 92 (Optional) If a link is in the down state, bring it up. The no shutdown command returns the link to an up or down state depending on the configuration and state of the link. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 93: Configuration Examples For Link Bundles

    RP/0/RSP0/CPU0:Router(config)# interface TenGigE 0/3/0/0 RP/0/RSP0/CPU0:Router(config-if)# bundle id 3 mode active RP/0/RSP0/CPU0:Router(config-if)# no shutdown RP/0/RSP0/CPU0:Router(config)# exit RP/0/RSP0/CPU0:Router(config)# interface TenGigE 0/3/0/1 RP/0/RSP0/CPU0:Router(config-if)# bundle id 3 mode active L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 94: Creating Vlans On A Ethernet Bundle: Example

    ASR 9000 Link Bundles connected to a Cisco 7600 EtherChannel: Example This example is an end-to-end example of a bundle between ASR 9000 Series router (ASR-9010) and a Cisco 7600 Series Router (P19_C7609-S) in the Metro Ethernet network that supports both L2 and L3 services.
  • Page 95 Connected to PE65_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel interface TenGigE 1/0/2 description Connected to PE44_IOS-XR_Router GE 0/1/0/3 switchport trunk encapsulation dot1q L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 96 Connected to PE44_IOS-XR_Router BE 16.163 encapsulation dot1Q 163 ip address 10.194.12.19 255.255.255.0 interface TenGigE 8/0/16 no shut description Connected to PE44_IOS-XR_Router GE 0/1/0/16 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 97 IOS side - CE devices: hostname PE62_C3750-ME vlan 161 interface TenGigE 1/0/1 description Connected to PE63_ME-C3400 GE 0/1 switchport access vlan 100 switchport mode dot1q-tunnel interface TenGigE 1/0/2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 98 160 switchport mode trunk interface Vlan160 description VLAN 160 over Port-Chan 16 on P19 ip address 160.0.0.63 255.255.255.0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 99: Implementing Point To Point Layer 2 Services

    Point to Point Layer 2 Services are also called as MPLS Layer 2 VPNs. Note For more information about Point to Point Layer 2 Services on the Cisco ASR 9000 Series Router and for descriptions of the commands listed in this module, see the “Related Documents” section. To locate documentation for other commands that might appear while executing a configuration task, search online in the Cisco IOS XR software master command index.
  • Page 100 How to Implement Point to Point Layer 2 Services, on page 100 • Configuration Examples for Point to Point Layer 2 Services , on page 181 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 101: Prerequisites For Implementing Point To Point Layer 2 Services

    However, because there is no bridging involved in a local connection, there is neither MAC learning L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 102: Atmompls With L2Vpn Overview

    ATMoMPLS is a type of Layer 2 point-to-point connection over an MPLS core. To implement the ATMoMPLS feature, the Cisco ASR 9000 Series 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 ASR 9000 Series Router.
  • Page 103: Vlan Mode

    Inter-AS is a peer-to-peer type model that allows extension of VPNs through multiple provider or multi-domain networks. This lets service providers peer up with one another to offer end-to-end VPN connectivity over extended geographical locations. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 104: Qinq Mode

    Layer 3 VPN service termination and L2VPN service transport are enabled over QinQ sub-interfaces. The Cisco ASR 9000 Series 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 105: Qinany Mode

    In an L2VPN network, packets are received and transmitted on the edge-facing interfaces as L2 packets and transported on the core-facing interfaces as MPLS (EoMPLS). Figure 11: L2VPN QoS Reference Model L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 106: High Availability

    The ASBRs join the pseudowires of the two domains. A multisegment pseudowire can span either an inter-AS boundary or two multiprotocol label switching (MPLS) networks. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 107 Sometimes, it is not possible to use a single segment PW. A multisegment pseudowire, with the appropriate interworking performed at the PW switching points, enables PW connectivity between the PE nodes in the network. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 108: Pseudowire Redundancy

    For CEM interfaces, various levels of configuration are permitted for the parent controllers, such as T1 and T3, framed or unframed. To achieve best grouping, the physical controller handle is used as the group ID. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 109: Ethernet Wire Service

    IGMP snooping application can set up Layer 2 multicast forwarding tables to deliver traffic only to ports with at least one interested member, significantly reducing the volume of multicast traffic. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 110: Ip Interworking

    IGMP membership reports (IGMPv2) or by acting as an IGMP proxy reporter (IGMPv3) to the upstream IP multicast router. Refer to the Implementing Layer 2 Multicast with IGMP Snooping module in the Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide for information on configuring IGMP snooping.
  • Page 111: Atom Imsg

    A pseudowire (PW) is a bidirectional virtual connection (VC) connecting two ACs. In an MPLS network, PWs are carried inside an LSP tunnel. The core facing line card on the PE1 and PE2 could be a Cisco ASR 9000 Series SPA Interface Processor-700 or a Cisco ASR 9000 Series Ethernet line card.
  • Page 112: Any Transport Over Mpls

    You set up a connection, called a pseudowire, between the routers. You specify this information on each PE router: • The type of Layer 2 data that will be transported across the pseudowire, such as Ethernet and Frame Relay L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 113: Control Word Processing

    The Data Link Connection Identifier (DLCI) DCLI-DLCI mode is supported. A control word (required for DLCI-DLCI mode) is used to carry additional control information. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 114: Mpls Transport Profile

    (like labels). MPLS-TP tunnels provide this functionality through statically provisioned bidirectional label switched paths (LSPs). For more information on configuring MPLS transport profile, refer to the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.
  • Page 115 This release supports only MPLS transport mechanism. CEoP SPA supports these modes of operation: • Circuit Emulation Mode (CEM) • ATM Mode • IMA Mode L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 116: L2Vpn Nonstop Routing

    IPv6 addresses to directly identify Ethernet attachment circuits. In this case, processing of the L2TPv3 session ID is bypassed; this is because each tunnel has only one associated L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 117: L2Tpv3 Over Ipv4

    R4. When R4 needs to send a packet to R3, the packet follows the same path in reverse. Note L2TPv3 over IPv4 feature is supported only on Cisco ASR 9000 High Density 100GE Ethernet line cards. For more information on: • Configuration procedures, see Configuring L2TPv3 over IPv4 Tunnels, on page 166.
  • Page 118: Dynamic Single-Segment Pseudowire

    BGP. Note In Release 5.1.2, Cisco supports only the routable prefix to reach the TAII on the T-PE. The routable prefix is the neighbor address of the targeted-LDP session. The reachability of packets from the source to the destination is achieved by user configurations (see...
  • Page 119: Prerequisites For Configuring L2Vpn Single Segment Pseudowires

    Configuring L2VPN VPWS SS-PW Configuring L2VPN MS-PW Address Family Under BGP The address family is configured under BGP to exchange the dynamic pseudowire routes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 120 Specifies the router ID. Step 4 pw-routing Example: RP/0/RSP0/CPU0:router(config-l2vpn)# pw-routing Enables pseudowire routing capabilities and enters the pseudowire routing configuration submode Step 5 global-id global-id Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 121 7. neighbor routed global-id: prefix: ac-id source ac-id 8. (optional) pw-class class-name 9. Use the commit or end command. DETAILED STEPS Step 1 configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 122 Step 7 neighbor routed global-id: prefix: ac-id source ac-id Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p)# neighbor routed 100:2.2.2.2:10 source 10 Enables pseudowire routing configuration submode for the p2p cross-connect. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 123 Step 2 router bgp autonomous-system-number Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 Enters router configuration mode for the specified routing process. Step 3 address-family l2vpn mspw Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 124: Evpn Virtual Private Wire Service (Vpws)

    Advertisement used to ensure that two speakers support EVPN NLRI (AFI 25, SAFI 70) as per RFC 4760. The architecture for EVPN VPWS is that the PEs run Multi-Protocol BGP in control-plane. The following image describes the EVPN-VPWS configuration: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 125: Prerequisites For Evpn-Vpws

    • BGP session between PEs with 'address-family l2vpn evpn' to exchange EVPN routes. Restrictions for EVPN-VPWS • The VPN ID is unique per router. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 126: How To Implement Point To Point Layer 2 Services

    Enters interface configuration mode and configures an interface. Step 3 l2transport Example: RP/0/RSP0/CPU0:router(config-if)# l2transport Enables L2 transport on the selected interface. Step 4 exit Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 127: Configuring Local Switching

    4. p2p xconnect-name 5. interface type interface-path-id 6. interface type interface-path-id 7. Use the commit or end command. DETAILED STEPS Step 1 configure Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 128 Specifies the interface type ID. The choices are: • GigabitEthernet: Gigabit Ethernet/IEEE 802.3 interfaces • TenGigE: TenGigabit Ethernet/IEEE 802.3 interfaces Step 7 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 129: Configuring Local Connection Redundancy

    Enters L2VPN configuration mode. Step 3 xconnect group group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group grp_1 Enters the name of the cross-connect group. Step 4 p2p xconnect-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 130 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 131: Configuring Static Point-To-Point Cross-Connects

    8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 132 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 133: Configuring Dynamic Point-To-Point Cross-Connects

    Enters L2VPN configuration mode. Step 3 xconnect group group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group grp_1 Enters the name of the cross-connect group. Step 4 p2p xconnect-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 134: 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 135: Configuring L2Vpn Quality Of Service

    Enters the configuration mode. Step 2 interface type interface-path-id Example: RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0 Specifies the interface attachment circuit. Step 3 l2transport Example: RP/0/RSP0/CPU0:router(config-if)# l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 136: Configuring An L2Vpn Quality Of Service Policy In Vlan Mode

    2. interface type interface-path-id.subinterface l2transport 3. service-policy [ input | output ] [ policy-map-name ] 4. Use the commit or end command. DETAILED STEPS Step 1 configure Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 137: Configuring Multisegment Pseudowire

    Configure a multisegment pseudowire as a point-to-point (p2p) cross-connect. For more information on P2P cross-connects, see the “Configuring Static Point-to-Point Cross-Connects". SUMMARY STEPS configure l2vpn xconnect group group-name p2p xconnect-name neighbor A.B.C.D pw-id value pw-class class-name exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 138 The pw-id must match the pw-id of the PE node. For MSPW cross-connect configuration is performed at local PE, S-PE and Remote-PE. Note Step 6 pw-class class-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 139: Provisioning A Global Multisegment Pseudowire Description

    Each multisegment pseudowire can have its own description. For instructions, see the “Provisioning a Cross-Connect Description". If it does not have one, this global description is used. SUMMARY STEPS 1. configure 2. l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 140: Provisioning A Cross-Connect Description

    SUMMARY STEPS 1. configure 2. l2vpn 3. xconnect group group-name 4. p2p xconnect-name 5. description value L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 141 Each multisegment pseudowire can have its own description. If it does not have one, a global description is used. For more information, see the “Provisioning a Multisegment Pseudowire Configuration". Step 6 commit Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p)# commit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 142: Provisioning Switching Point Tlv Security

    Step 3 pw-class class-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# pw-class dynamic_mpls Enters pseudowire class submode, allowing you to define a pseudowire class template. Step 4 encapsulation mpls Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 143: Enabling Multisegment Pseudowires

    Changing the pw-status command reprovisions all pseudowires configured under L2VPN. SUMMARY STEPS 1. configure 2. l2vpn 3. pw-status 4. commit DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 144: Configuring Pseudowire Redundancy

    {delay value | never} exit xconnect group group-name p2p {xconnect-name} neighbor A.B.C.D pw-id value pw-class class-name backup {neighbor A.B.C.D} {pw-id value} L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 145 Step 5 exit Example: RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# exit RP/O/RSP0/CPU0:router(config-l2vpn)# Exits the current configuration mode. Step 6 xconnect group group-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 146 Step 11 end or commit Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw-backup)#end RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw-backup)#commit Saves configuration changes. • When you issue the end command, the system prompts you to commit changes: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 147: Forcing A Manual Switchover To The Backup Pseudowire

    7. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 148: Configuring Point-To-Point Pseudowire Redundancy

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring Point-to-Point Pseudowire Redundancy Perform this task to configure point-to-point pseudowire redundancy for a backup delay. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 149 • Use the delay keyword to specify the number of seconds that elapse after the primary pseudowire comes up before the secondary pseudowire is deactivated. The range, in seconds, is from 0 to 180. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 150 { neighbor A.B.C.D } { pw-id value } Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw)# backup neighbor 10.2.2.2 pw-id 5 RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw-backup)# Configures the backup pseudowire for the cross-connect. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 151: Forcing A Manual Switchover To The Backup Pseudowire

    5. preferred-path {interface} {tunnel-ip value | tunnel-te value | tunnel-tp value} [fallback disable] 6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters the configuration mode. Step 2 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 152: Configuring Pw Status Oam

    Configuring PW Status OAM Perform this task to configure pseudowire status OAM. SUMMARY STEPS 1. configure 2. l2vpn 3. pw-oam refresh transmit seconds 4. endorcommit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 153: Enabling Flow-Based Load Balancing

    • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Enabling Flow-based Load Balancing Perform this task to enable flow-based load balancing. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 154 • Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 155: Enabling Flow-Based Load Balancing For A Pseudowire Class

    Example: RP/0/RSP0RP0/CPU0:router(config-l2vpn-pwc-encap-mpls)# load-balancing pw-label Enables all pseudowires using the defined class to use virtual circuit based load balancing. Step 6 endorcommit Example: RP/0/RSP0RP0/CPU0:router(config-l2vpn-pwc-encap-mpls)# end L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 156: Enabling Pseudowire Grouping

    RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# Enters L2VPN configuration mode. Step 3 pw-grouping Example: RP/0/RSP0/CPU0:router(config-l2vpn)# pw-grouping L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 157: Setting Up Your Multicast Connections

    Enters multicast routing configuration mode. • These multicast processes are started: MRIB, MFWD, PIM, and IGMP. • For IPv4, IGMP version 3 is enabled by default. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 158 EXEC mode. • Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 159: Configuring Atom Ip Interworking

    Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. Step 3 xconnect groupgroup-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 160: Configuring Ppp Ip Interworking

    12. interface type interface-path-id 13. neighborA.B.C.Dpw-id 14. pw-class interface-path-id 15. exit 16. interworking ipv4 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 161 RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group grp_1 Enters the name of the cross-connect group. Step 8 p2p xconnect-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc)# p2p 1 Enters a name for the point-to-point cross-connect. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 162 Step 15 exit Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc-p2p-pw)# exit Exits the current configuration mode. Step 16 interworking ipv4 Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p)# interworking ipv4 Configures IPv4 interworking under P2P. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 163: Configuring Ip Interworking Between Ppp And Ethernet

    12. neighborA.B.C.Dpw-id 13. pw-classclass-name 14. pw-classclass-name 15. exit 16. interworking ipv4 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 164 RP/0/RSP0/CPU0:router(config-l2vpn-xc)# p2p 1 Enters a name for the point-to-point cross-connect. Step 8 interface typeinterface-path-id Example: RP/0/RSP0/CPU0:router(config)# interface Serial0/2/1/0/1/1/1:0 Specifies the interface type and instance. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 165 Enters pseudowire class submode, allowing you to define a pseudowire class template. Step 15 exit Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc-p2p-pw)# exit Exits the current configuration mode. Step 16 interworking ipv4 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 166: Configuring Mlppp Ip Interworking

    15. exit 16. interworking ipv4 Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 167 Enters a name for the point-to-point cross-connect. Step 9 interface typeinterface-path-id Example: RP/0/RSP0/CPU0:router(config)# interface Serial0/2/1/0/1/1/1:0 Specifies the interface type and instance. Step 10 interface typeinterface-path-id Example: RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/0/0/1.1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 168 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 169: Configuring Circuit Emulation Over Packet Switched Network

    Enters the name of the cross-connect group. Step 4 p2p xconnect-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc)# p2p vlan1 Enters a name for the point-to-point cross-connect. Step 5 interface type interface-path-id Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 170: Associating A Pseudowire Class

    A.B.C.D pw-id pseudowire-id pw-class class-name 12. Use the commit or end command. DETAILED STEPS Step 1 configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 171 • Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. • Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 172 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 173: Enabling Pseudowire Status

    Saves configuration changes to the running configuration file and remains in the configuration session. Configuring a Backup Pseudowire Perform this task to configure a backup pseudowire for a point-to-point neighbor. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 174 RP/0/RSP0/CPU0:router(config-l2vpn-xc)# p2p rtrX_to_rtrY RP/0/RSP0/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/RSP0/CPU0:router(config-l2vpn-xc-p2p)# neighbor 1.1.1.1 pw-id 2 RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw)# L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 175: Configuring L2Vpn Nonstop Routing

    DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters the Global Configuration mode. Step 3 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 176: Configure Mpls Ldp Nonstop Routing

    4. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters Global Configuration mode. Step 2 mpls ldp Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 177: Configuring L2Tpv3 Over Ipv6 Tunnels

    2. l2vpn 3. xconnect group group-name 4. p2p xconnect-name 5. interface type interface-path-id 6. neighbor ipv6 X:X::X pw-idpseudowire-id 7. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 178 Specifies the peer with which to cross connect, and configures the pseudowire segment for the cross-connect. Step 7 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 179: Configuring L2Tpv3 Encapsulation And Protocol

    These keywords can be configured in the pseudowire class (pw-class) configuration mode; however, the keywords are not applicable for the over L2TPv3 over IPv6 tunnels: • cookie L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 180: Configuring Source Ipv6 Address For L2Tpv3 Over Ipv6 Tunnel

    3. xconnect group group-name 4. p2p xconnect-name 5. interface type interface-path-id 6. neighbor ipv6 peer-address pw-id pseudowire-id 7. source pw-source-address 8. end or commit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 181 The source IPv6 address must be unique and chosen arbitrarily. It should not be configured on any type of Note interfaces in the router. Step 8 end or commit Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p-pw)# end L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 182: Configuring Local And Remote Sessions

    9. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 183 Step 8 l2tp static remote session session-id Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc-p2p-pw)# l2tp static remote session 1 (Optional) Configures a static remote session for the L2TP pseudowire. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 184: Configuring Local And Remote Cookies

    Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router (config)# l2vpn Enters Layer 2 VPN configuration mode. Step 3 xconnect group group-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 185 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 186: Enabling L2Tp Static Submode

    Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc)# p2p xc3 Configures the point-to-point cross-connect. Step 5 interface type interface-path-id Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc-p2p)# interface GigabitEthernet0/0/0/4.2 Specifies the interface type ID. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 187: Enabling Tos Reflection In The L2Tpv3 Header

    7. tos { reflect | value } 8. endorcommit DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters global configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router (config)# l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 188 EXEC mode. • Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 189: Configuring Ttl For L2Tpv3 Over Ipv6 Tunnels

    Enters pseudowire class submode, and allows a pseudowire class template definition. Step 4 encapsulation l2tpv3 Example: RP/0/RSP0/CPU0:router (config-l2vpn-pwc)# encapsulation l2tpv3 Sets pseudowire encapsulation to L2TPv3. Step 5 protocol l2tpv3 Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 190: Configuring Traffic Mirroring Over L2Tpv3 Over Ipv6 Tunnels

    • L2TPv3 over IPv6 concepts, see L2TPv3 over IPv6. • Configuration examples, see Configuring L2TPv3 over IPv6 Tunnels: Example DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router # configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 191 Step 7 pw-class class-name Example: RP/0/RSP0/CPU0:router (config-l2vpn-xc-p2p-pw)# pw-class ts Enters pseudowire class submode, and allows a pseudowire class template definition. Step 8 sourcepw-source-address Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 192: Configuring L2Tpv3 Over Ipv4 Tunnels

    This example shows how to create a sub-interface with encapsulation as untagged: interface TenGigE0/3/0/1.123 l2transport encapsulation untagged Perform these tasks to configure the L2TPv3 over IPv4 tunnels: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 193: Configuring A Dynamic L2Tpv3 Pseudowire

    Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc)# p2p L2TPV3_P2P_1 Enters p2p configuration submode to configure point-to-point cross-connects. Step 5 interface type interface-path-id Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p)# interface GigabitEthernet 0/2/0/0/0.1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 194: Configuring L2Tpv3 Encapsulation And Protocol

    3. pw-class class-name 4. encapsulation l2tpv3 5. protocol l2tpv3 6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 195: Configuring L2Tp Control-Channel Parameters

    L2TP control-channel parameters are used in control-channel authentication, keepalive messages, and control-channel negotiation. In a L2tpv3 session, the same L2TP class must be configured on both PE routers. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 196 Specifies the L2TP class name and enters L2TP class configuration mode. Step 3 authentication Example: RP/0/RSP0/CPU0:router(config-l2tp-class)# authentication Enables authentication for the control-channel between PE routers. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 197 If the digest command is issued without the secret keyword option, L2TPv3 integrity checking is enabled. Note • {0 | 7}—Specifies the input format of the shared secret. The default value is 0. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 198: Configuring L2Vpn Single Segment Pseudowire

    1. configure 2. l2vpn 3. router-id router-id 4. pw-routing 5. global-id global-id 6. bgp 7. rd route-distinguisher 8. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 199 Configures the L2VPN global ID value for the router. Step 6 Example: RP/0/RSP0/CPU0:router(config-l2vpn-pwr)# bgp Enables the BGP pseudowire routing capabilities and enters the BGP configuration submode. Step 7 rd route-distinguisher Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 200: Configuring L2Vpn Vpws Ss-Pw

    Enters the Global Configuration mode. Step 2 interface typeinterface-path-id Example: RP/0/RSP0/CPU0:routerRP/0/RP00RSP0/CPU0:router# interface TenGigE0/1/0/12 Enters interface configuration mode and configures an interface. Step 3 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 201 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 202: Configuring L2Vpn Ms-Pw Address Family Under Bgp

    Step 4 neighbor ip-address Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.10.10.1 Adds the IP address of the neighbor in the specified autonomous system. Step 5 address-family l2vpn mspw L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 203: Verifying Single-Segment Pseudowires

    2. router bgp autonomous-system-number 3. address-family l2vpn evpn 4. neighbor ip-address 5. address-family l2vpn evpn 6. Use the commit or end command. DETAILED STEPS Step 1 configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 204: Configuring Evpn-Vpws

    • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring EVPN-VPWS Perform this task to configure EVPN-VPWS. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 205 Enters Layer 2 VPN configuration mode. Step 4 xconnect group group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group xc1 Configures a cross-connect group name using a free-format 32-character string. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 206: Configuring An Access Pseudowire Using Evpn-Vpws

    SUMMARY STEPS 1. configure 2. interface type interface-path-id 3. l2vpn 4. bridge group bridge-group-name 5. bridge-domain bridge-domain-name 6. neighbor evpn evi vpn-id target ac-id L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 207: Configuration Examples For Point To Point Layer 2 Services

    Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# neighbor evpn evi 100 target 12 Example Configuration Examples for Point to Point Layer 2 Services This section includes these configuration examples: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 208: L2Vpn Interface Configuration: Example

    200.0.2.1 interface Bundle-Ether107 description CE5 - LCR mlacp iccp-group 107 mlacp port-priority 10 no shut interface Bundle-Ether207 description CE6 - LCR mlacp iccp-group 207 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 209: Point-To-Point Cross-Connect Configuration: Examples

    2.2.1.1 pw-id 1 commit Inter-AS: Example This example shows how to set up an AC to AC cross-connect from AC1 to AC2: router-id Loopback0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 210 GigabitEthernet0/1/0/0.4 neighbor 10.0.1.5 pw-id 104 p2p cisco5 interface GigabitEthernet0/1/0/0.5 neighbor 10.0.1.5 pw-id 105 p2p cisco6 interface GigabitEthernet0/1/0/0.6 neighbor 10.0.1.5 pw-id 106 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 211: L2Vpn Quality Of Service: Example

    • Cross-connect with an AC interface (facing CE2) • Pseudowire to S-PE1 node • IP address 209.165.200.254 • S-PE1 node • Multisegment pseudowire cross-connect with a pseudowire segment to T-PE1 node L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 212: Configuring Dynamic Pseudowires At T-Pe1 Node: Example

    RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# xconnect group XCON1 RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc)# p2p xc1 RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# description T-PE2 MS-PW to 10.165.200.225 via 10.165.200.254 RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# interface gigabitethernet 0/2/0/0.4 RP/0/RSP0/CPU0:T-PE2(config-l2vpn-xc-p2p)# neighbor 10.165.200.254 pw-id 300 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 213: Configuring Dynamic Pseudowires And Preferred Paths At T-Pe1 Node: Example

    Configuring Dynamic Pseudowires and Preferred Paths at T-PE2 Node: Example RP/0/RSP0/CPU0:T-PE2# configure RP/0/RSP0/CPU0:T-PE2(config)# l2vpn RP/0/RSP0/CPU0:T-PE2(config-l2vpn)# pw-class dynamic_mpls RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc)# encapsulation mpls RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc-encap-mpls)# protocol ldp RP/0/RSP0/CPU0:T-PE2(config-l2vpn-pwc-encap-mpls)# control-word disable RP/0/RSP0/CPU0:S-PE1(config-l2vpn-pwc-encap-mpls)# preferred-path interface tunnel-te 2000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 214: Configuring Static Pseudowires At T-Pe1 Node: Example

    Preferred Path: Example This example shows how to configure preferred tunnel path: configure l2vpn pw-class path1 encapsulation mpls preferred-path interface tunnel tp 50 fallback disable L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 215: Mpls Transport Profile: Example

    PW Status TLV in use MPLS Local Remote ------------ ------------------------------ ----------------------------- Label 16004 16006 Group ID 0x2000400 0x2000700 Interface GigabitEthernet0/1/0/2.2 GigabitEthernet0/1/0/0.3 1500 1500 Control word enabled enabled L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 216: Configuring Any Transport Over Mpls: Example

    Last time status changed: 04/04/2008 23:19:30 (00:00:18 ago) Configuring Any Transport over MPLS: Example This example shows you how to configure Any Transport over MPLS (AToM): config l2vpn xconnect group test L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 217: Configuring Atom Ip Interworking: Example

    Configuring cHDLC IP Interworking: Example This example shows you how to configure cHDLC IP interworking: interface Serial0/2/1/0/1/1/2:0 l2transport interface Serial0/0/0/0/2/1/2:0 l2transport !! Local Switching Configuration L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 218: Configuring Mlppp Ip Interworking: Example

    This example shows you how to configure Circuit Emulation Over Packet Switched Network: Adding CEM Attachment Circuit to PW l2vpn xconnect group gr1 p2p p1 interface CEM 0/0/0/0:10 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 219: Configuring L2Vpn Nonstop Routing: Example

    9.9.9.9 pw-id 1221 pw-class class-cem Configuring L2VPN Nonstop Routing: Example This example shows how to configure L2VPN Nonstop Routing. config l2vpn logging nsr L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 220: Enabling Pseudowire Grouping: Example

    GigabitEthernet0/0/0/4.2 neighbor ipv6 1111:2222::cdef pw-id 1 l2tp static local session 1 l2tp static remote session 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 221: Configuring Local And Remote Cookies: Example

    This example shows you how to enable the L2TP static submode: l2vpn xconnect group g1 p2p xc3 interface GigabitEthernet0/0/0/4.2 neighbor ipv6 1111:2222::cdef pw-id 1 l2tp static local cookie <> L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 222: Enabling Tos Reflection In The L2Tpv3 Header: Example

    This example creates the monitor-session globally: monitor-session customer-foo destination pseudowire This example creates a cross-connect between the monitor-session and a L2TPv3 over IPv6 tunnel: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 223: Configuring L2Tpv3 Over Ipv4 Tunnels: Example

    Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enter L2VPN configure submode. Step 3 xconnect group name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 224: Configuring L2Tpv3 Encapsulation And Protocol: Example

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring L2TPv3 Encapsulation and Protocol: Example This example shows how to set the encapsulation and protocol for L2TPv3 tunnels: configure l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 225: Configuring L2Tp Control-Channel Parameters: Example

    The following example shows how a bridge-domain can configure an access pseudowire using EVPN-VPWS. RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group bg1 RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bd1 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# neighbor evpn evi 1 target 100 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 226 Implementing Point to Point Layer 2 Services Configuring an Access PW using EVPN-VPWS: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 227: Implementing Multipoint Layer 2 Services

    Support for VPLS with BGP Autodiscovery and LDP Signaling was added. Release 4.0.1 Support was added for the following features: • Dynamic ARP Inspection • IP SourceGuard • MAC Address Security L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 228 • L2VPN over GRE Release 4.3.1 Support was added for: • VC type 4 in VPLS with BGP Autodiscovery • IPv6 support for PWHE L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 229: Prerequisites For Implementing Multipoint Layer 2 Services

    • Configure MPLS and Label Distribution Protocol (LDP) in the core so that a label switched path (LSP) exists between the PE routers. Information About Implementing Multipoint Layer 2 Services To implement Multipoint Layer 2 Services, you should understand these concepts: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 230: Multipoint Layer 2 Services Overview

    (interfaces or pseudowires). Flood Optimization A Cisco ASR 9000 Series Router, while bridging traffic in a bridge domain, minimizes the amount of traffic that floods unnecessarily. The Flood Optimization feature accomplishes this functionality. However, in certain failure recovery scenarios, extra flooding is actually desirable in order to prevent traffic loss.
  • Page 231 IP address. This feature uses dynamic DHCP snooping and static IP source binding to match IP addresses to hosts. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 232: Pseudowires

    Card and Cisco ASR 9000 Series SPA Interface Processor-700 line cards. DHCP Snooping over Pseudowire The Cisco ASR 9000 Series Routers provide the ability to perform DHCP snooping, where the DHCP server is reachable on a pseudowire. The Pseudowire is considered as a trusted interface.
  • Page 233: Vpls For An Mpls-Based Provider Core

    Pseudowires (PWs). A Virtual Forwarding Instance (VFI) is used to interconnect the mesh of pseudowires. A bridge domain is connected to a VFI to L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 234: Vpls For Layer 2 Switching

    VPLS for Layer 2 Switching VPLS technology includes the capability of configuring the Cisco ASR 9000 Series Routers to perform Layer 2 bridging. In this mode, the Cisco ASR 9000 Series Routers can be configured to operate like other Cisco switches.
  • Page 235: Bgp-Based Vpls Autodiscovery

    PE. NLRI Format for VPLS with BGP AD and Signaling The following figure shows the NLRI format for VPLS with BGP AD and Signaling L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 236: Bgp Auto Discovery With Ldp Signaling

    NLRI and Extended Communities The following figure depicts Network Layer Reachability Information (NLRI) and extended communities (Ext Comms). L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 237: Service Path Preference For L2Vpn

    Consider a scenario where you have two Provider Edge (PE) routers in a setup. PE1 functions as ingress node and PE2 functions as egress node. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 238: L2Vpn Route Policy

    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 239: Mac Address-Related Parameters

    The updated MAC tables are propagated and programs the hardware for the router. The number of learned MAC addresses is limited through configurable per-port and per-bridge domain MAC address limits. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 240: Mac Address Aging

    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.The bridge domain level limit is always configured and cannot be disabled.
  • Page 241: Mac Address Security

    Address Move and Unicast Traffic counters may not be accurate. 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 242: Layer 2 Security

    • Filters static MAC addresses on a bridge or a port. • Marks ports as either secure or nonsecure. • Enables or disables flooding on a bridge or a port. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 243: Dynamic Host Configuration Protocol Snooping

    • RPL owner—It is responsible for blocking traffic over the RPL so that no loops are formed in the Ethernet traffic. There can be only one RPL owner in a ring. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 244 • Manual switch (MS)—Allows operator to manually block a particular ring-port. • Ineffective in an existing FS or SF condition • Overridden by new FS or SF conditions L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 245 For more information about Ethernet Connectivity Fault Management (CFM) and Ethernet Fault Detection (EFD) configuration, refer to the Configuring Ethernet OAM on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide.
  • Page 246 7. Stable SF condition—RAPS (SF) messages on the Ethernet Ring. Further RAPS (SF) messages trigger no further action. The following figure represents reversion in case of a single link failure. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 247: Flow Aware Transport Pseudowire (Fat Pw)

    The packets are transported from a source provider edge (PE) to a destination PE. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 248: Pseudowire Headend

    QOS access lists (ACL), L3VPN on a per PWHE interface basis, on a service Provider Edge (PE) router. Note Encapsulation default is not supported by PWHE. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 249: Benefits Of Pwhe

    PWID on subsequent P routers. • PWHE is not supported over 2 level BGP Labeled Unicast (LU) recursion. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 250: Generic Interface List

    The following figure captures how GRE encapsulation over an IP transport network takes place. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 251: L2Vpn Over Gre Restrictions

    Additionally, GRE tunnel destination should be reachable only on an ASR 9000 Enhanced Ethernet Line Card. • The L2VPN over GRE feature is not supported on the ASR 9000 Ethernet Line Card or Cisco ASR 9000 Series SPA Interface Processor-700 line cards as the ingress attachment circuit and GRE destination is reachable over GRE.
  • Page 252 Figure 32: GRE tunnel configured between P to P routers Figure 33: GRE tunnel configured between P to PE routers Note These deployment scenarios are applicable to VPWS and VPLS. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 253: Gre Tunnel As Preferred Path

    Aggregate Inclusive. The tree needs to include every PE that is a member of any of the VPLS instances that are using the tree. A PE may receive multicast traffic for a multicast stream even if it doesn't have any L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 254: Vpls Lsm Limitations

    • To transition from Bud to Mid node, remove the entire l2vpn configuration using the no l2vpn command. Configuring no multicast p2mp command is not enough. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 255: How To Implement Multipoint Layer 2 Services

    RP/0/RSP0/CPU0:router(config-l2vpn-bg)# Creates a bridge group that can contain bridge domains, and then assigns network interfaces to the bridge domain. Step 4 bridge-domain bridge-domain-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 256: Configuring A Pseudowire

    DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# Enters L2VPN configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 257 • Use the pw-id keyword to configure the pseudowire ID and ID value. The range is 1 to 4294967295. Step 8 dhcp ipv4 snoop profile { dhcp_snoop_profile_name } Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 258: Associating Members With A Bridge Domain

    8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 259 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: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 260: Configuring Bridge Domain Parameters

    8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 261 By default, IP source guard is disabled on the bridges. Step 8 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 262: Disabling A Bridge Domain

    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 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 263: Blocking Unknown Unicast Flooding

    2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. flooding unknown-unicast disable 6. Use the commit or end command. DETAILED STEPS Step 1 configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 264: Changing The Flood Optimization Mode

    Changing the Flood Optimization Mode Perform this task to change the flood optimization mode under the bridge domain: SUMMARY STEPS 1. configure 2. l2vpn 3. bridge group bridge-group-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 265 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 266: Configuring Layer 2 Security

    RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group csco RP/0/RSP0/CPU0:router(config-l2vpn-bg)# Assigns each network interface to a bridge group and enters L2VPN bridge group configuration mode. Step 4 bridge domain bridge-domain-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 267: Attaching A Dynamic Host Configuration Protocol Profile

    6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 268: Configuring A Layer 2 Virtual Forwarding Instance

    Creating the Virtual Forwarding Instance Perform this task to create a Layer 2 Virtual Forwarding Instance (VFI) on all provider edge devices under the bridge domain. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 269 Configures virtual forwarding interface (VFI) parameters and enters L2VPN bridge group bridge domain VFI configuration mode. Step 6 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 270: Associating Pseudowires With The Virtual Forwarding Instance

    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 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 271: Associating A Virtual Forwarding Instance To A Bridge Domain

    3. bridge group bridge group name 4. bridge-domain bridge-domain name 5. vfi { vfi name } 6. neighbor { A.B.C.D } { pw-id value } L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 272 Configures virtual forwarding interface (VFI) parameters and enters L2VPN bridge group bridge domain VFI configuration mode. Step 6 neighbor { A.B.C.D } { pw-id value } Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 273: Attaching Pseudowire Classes To Pseudowires

    7. pw-class { class-name } 8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 274 • Use the pw-id keyword to configure the pseudowire ID and ID value. The range is 1 to 4294967295. Step 7 pw-class { class-name } Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# pw-class canada Configures the pseudowire class template name to use for the pseudowire. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 275: Configuring Pseudowires Using Static Labels

    Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# Enters the L2VPN configuration mode. Step 3 bridge group bridge-group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group csco RP/0/RSP0/CPU0:router(config-l2vpn-bg)# L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 276 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 277: Disabling A Virtual Forwarding Instance

    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/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 278: 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. SUMMARY STEPS 1. configure 2. l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 279 Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode. Step 5 Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac)# Enters L2VPN bridge group bridge domain MAC configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 280: Enabling The Mac Address Withdrawal

    7. Use the commit or end command. 8. show l2vpn bridge-domain [detail] DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 281 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Step 8 show l2vpn bridge-domain [detail] Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 282: Configuring The Mac Address Limit

    Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# Enters the L2VPN configuration mode. Step 3 bridge group bridge group name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group csco L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 283 Configures the specified action when the number of MAC addresses learned on a bridge is reached. Step 9 action { flood | no-flood | shutdown } L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 284: Configuring The Mac Address Aging

    4. bridge-domain bridge-domain-name 5. mac 6. aging 7. time { seconds } 8. Use the commit or end command. 9. show l2vpn bridge-domain [ detail ] L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 285 Enters L2VPN bridge group bridge domain MAC configuration mode. Step 6 aging Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac)# aging RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac-aging)# Enters the MAC aging configuration submode to set the aging parameters such as time and type. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 286: Disabling Mac Flush At The Bridge Port Level

    1. configure 2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. mac 6. port-down flush disable 7. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 287 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: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 288: Configuring Mac Address Security

    Creates a bridge group so that it can contain bridge domains and then assigns network interfaces to the bridge domain. Step 4 bridge-domainbridge-domain-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 289 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 290: Configuring An Attachment Circuit To The Ac Split Horizon Group

    Enters configuration mode for the named bridge group. Step 4 bridge-domain bridge-domain-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain east Enters configuration mode for the named bridge domain. Step 5 interface type instance Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 291: Adding An Access Pseudowire To The Ac Split Horizon Group

    3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. neighbor A.B.C.D pw-id pseudowire-id 6. split-horizon group 7. commit 8. end 9. show l2vpn bridge-domain detail L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 292 Adds this interface to the split horizon group for ACs. Only one split horizon group for ACs Note Only one split horizon group for ACs and access pseudowires per bridge domain is supported Step 7 commit Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-pw) commit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 293: Configuring Vpls With Bgp Autodiscovery And Signaling

    14. ve-range { number } 15. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 294 This command is not provisioned to BGP until at least the VPN ID and the signaling protocol is configured. Step 8 rd { as-number:nn | ip-address:nn | auto } Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 295 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. Step 13 ve-id { number} L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 296: Configuring Vpls With Bgp Autodiscovery And Ldp Signaling

    {as-number:nn | ip-address:nn | export | import } 12. route-target import {as-number:nn | ip-address:nn} 13. route-target export {as-number:nn | ip-address:nn} 14. signaling-protocol ldp L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 297 Enters configuration mode for the named bridge group. Step 5 bridge-domain bridge-domain-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain east Enters configuration mode for the named bridge domain. Step 6 transport-mode vlan passthrough Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 298 At least one import and one export route targets (or just one route target with both roles) need to be configured in each PE in order to establish BGP autodiscovery between PEs. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 299 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 300: Configuring Service Path Preference

    1 bridge group edge bridge-domain edge1 pbb edge i-sid 256 core-bridge core1 evpn evi 1 table-policy fwd2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 301: Associating A Te Tunnel With Forward Class Index

    RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. Step 3 bridge group bridge group name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 302 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 303: Enabling Route Policy For L2Vpn Vpws With Bgp Autodiscovery

    Example: RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group xg1 Enters configuration mode for the named cross-connect group. Step 4 mp2mp mp2mp instance name Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc)# mp2mp mp1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 304: Configuring G.8032 Ethernet Ring Protection

    • The bridge domains to create the Layer 2 topology. The RAPS channel is configured in a dedicated management bridge domain separated from the data bridge domains. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 305: Configuring Erp Profile

    - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 306: Configuring Cfm Mep

    Configuring CFM MEP For more information about Ethernet Connectivity Fault Management (CFM), refer to the Configuring Ethernet OAM on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide.
  • Page 307 Step 7 bridge-domain domain-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bd2 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# Establishes a bridge domain for data traffic, and enters L2VPN bridge group bridge domain configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 308 { port0 | port1 } { owner | neighbor | next-neighbor } Example: RP/0/RSP0/CPU0:router(config-l2vpn-erp-instance)#rpl port0 neighbor Specifies one ring port on local node as RPL owner, neighbor or next-neighbor. Step 14 inclusion-list vlan-ids vlan-id Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 309: Configuring Erp Parameters

    • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring ERP Parameters Perform this task to configure ERP parameters. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 310 Specifies the port that is monitored to detect ring link failure per ring port. The monitored interface must be a sub-interface of the main interface. Step 6 exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 311: Configuring Tcn Propagation

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configuring TCN Propagation Perform this task to configure topology change notification (TCN) propagation. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 312: Configuring Flow Aware Transport Pseudowire

    Enabling Load Balancing with ECMP and FAT PW for VPWS Perform this task to enable load balancing with ECMP and FAT PW for VPWS. Creating a PW-Class in L2VPN configuration leads to load-balancing. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 313 RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# encapsulation mpls Configures the pseudowire encapsulation to MPLS. Step 5 load-balancing flow-label { both | code | receive | transmit } [ static ] L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 314 Specifies the name of the point-to-point cross-connect. Step 10 interface type interface-path-id Example: RP/0/RSP0/CPU0:router(config-l2vpn-xc-p2p)# interface TenGigE 0/0/0/0.1 Specifies the interface type and instance. Step 11 neighbor A.B.C.D pw-id pseudowire-id Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 315: Enabling Load Balancing With Ecmp And Fat Pw For Vpls

    12. signaling-protocol bgp 13. load-balancing flow-label { both | code | receive | transmit } [ static ] 14. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 316 { both | code | receive | transmit } [ static ] Example: RP/0/RSP0/CPU0:router(config-l2vpn-pwc-mpls)# load-balancing flow-label both Enables load-balancing on ECMPs. Also, enables the imposition and disposition of flow labels for the pseudowire. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 317 Enables BGP signaling, and enters the BGP signaling configuration submode where BGP signaling parameters are configured. Step 13 load-balancing flow-label { both | code | receive | transmit } [ static ] Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 318: Configuring Pseudowire Headend

    Cross-connects that contain PW-IW interfaces are only supported with IPv4 and VC-type 11. PW-IW interfaces are the L3 virtual interfaces used for IP interworking. To configure the cross-connect as VC-type 11, use the interworking ipv4 command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 319: Configuring Generic Interface List

    To remove the generic interface list, use the no form of the command, that is, no generic-interface-list list-name. Step 3 interface type interface-path-id Example: RP/0/RSP0/CPU0:router(config-if-list)# interface Bundle-Ether 100 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 320: Configuring Pwhe Interfaces

    RP/0/RSP0/CPU0:router(config)# interface pw-ether <id> RP/0/RSP0/CPU0:router(config)# interface pw-iw <id> (interface pw-ether id) Configures the PWHE pseudowire main or subinterface and enters the interface configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 321: Configuring Pwhe Crossconnect

    9. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 322 The pseudowire class should be defined under l2vpn for VC4 and VC5 as follows: pw-class vc_type_4 encapsulation mpls transport-mode vlan pw-class vc_type_5 encapsulation mpls transport-mode ethernet L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 323: Configuring The Source Address

    5. ipv4 source source-address 6. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 324: Configuring Pwhe Interface Parameters

    (or) interface pw-iw id ipv4 address ip-address subnet-mask (or) (Only PW-Ether) ipv6 address ipv6-prefix/prefix-length attach generic-interface-list interface_list_name l2overhead bytes load-interval seconds L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 325 Attaches the generic interface list to the PW-Ether or PW-IW interface. Step 5 l2overhead bytes Example: RP/0/RSP0/CPU0:router(config-if)# l2overhead 20 Sets layer 2 overhead size. Step 6 load-interval seconds Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 326 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 327: Configuring Pwhe Layer 2 Subinterfaces And Adding It To The Bridge-Domain

    Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 interface pw-ether id Example: RP/0/RSP0/CPU0:router(config)# interface PW-Ether1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 328 Step 8 xconnect group group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# xconnect group xg Configures a cross-connect group name using a free-format 32-character string. Step 9 p2p xconnect-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 329 Step 14 interface pw-ether id.subintfid Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# interface PW-Ether1.1 Adds the subinterface to the bridge domain. Step 15 interface type interface-path-id Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)# interface GigabitEthernet0/1/1/11.1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 330: Configuring Pwhe Layer 3 Subinterfaces

    (or) ipv6 address ipv6-prefix/prefix-length encapsulation dot1q value l2vpn xconnect group group-name p2p group-name interface pw-ether id 12. neighbor ipv4 ip-address pw-id value DETAILED STEPS Step 1 configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 331 RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 1 Defines the matching criteria to map 802.1Q frames ingress on an interface to the appropriate service instance. Step 8 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 332: Configuring L2Vpn Over Gre

    The pw-id must match the pw-id of the A-PE node. Configuring L2VPN over GRE Perform these tasks to configure L2VPN over GRE. SUMMARY STEPS configure interface type interface-path-id l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 333 Enters the Global Configuration mode. Step 2 interface type interface-path-id Example: RP/0/RSP0/CPU0:router# interface TenGigE0/1/0/12 Enters interface configuration mode and configures an interface. Step 3 l2transport Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 334 Example: RP/0/RSP0/CPU0:router# ipv4 address 10.0.1.1 255.255.255.255 Assigns an IP address and subnet mask to the virtual loopback interface. Step 10 router ospf process-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 335 Enters tunnel interface configuration mode. • number is the number associated with the tunnel interface. Step 16 ipv4 address ipv4-address subnet-mask Example: RP/0/RSP0/CPU0:router(config-if)# ipv4 address 12.0.0.1 255.255.255.0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 336 • Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Step 20 l2vpn Example: RP/0/RSP0/CPU0:router# l2vpn Enters L2VPN configuration mode. Step 21 bridge group bridge-group-name Example: RP/0/RSP0/CPU0:router# bridge group access-pw L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 337 Configures a router ID for the OSPF process. We recommend using a stable IP address as the router ID. Note Step 27 interface tunnel-ip number Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 338: Configuring A Gre Tunnel As Preferred Path For Pseudowire

    Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. Step 3 pw-class { name } L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 339: Configuring Vpls Lsm: Examples

    Perform this task to enable a P2MP pseudowire with RSVP-TE on a VFI. SUMMARY STEPS 1. configure 2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. vfi { vfi-name } L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 340 Configures the virtual forwarding interface (VFI) parameters and enters L2VPN bridge group bridge domain VFI configuration mode. • Use the vfi-name argument to configure the name of the specified virtual forwarding interface. Step 6 multicast p2mp Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 341: Enabling Bgp Autodiscover Signaling For P2Mp Pw On A Vfi

    8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 342 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 343: Configuring Vpn Id

    Enters L2VPN configuration mode. Step 3 bridge group bridge-group-name Example: RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group metroA Enters Layer 2 VPN VPLS bridge group configuration mode. Step 4 bridge-domain bridge-domain-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 344 When rd auto is configured, the RD value is as follows: {BGP Router ID}:{16 bits auto-generated unique index}. Step 9 route-target export { as-number:nn | ip-address:nn } Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# route-target export 100:10 Specifies the export route target for the VFI. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 345: Configuring Igmp Snooping

    Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 346 RP/0/RSP0/CPU0:router(config-igmp-snooping- profile)# exit Returns to the global configuration mode. Step 6 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn Enters L2VPN configuration mode. Step 7 bridge group bridge-group-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 347: Configuration Examples For Multipoint Layer 2 Services

    This configuration example shows how to configure PE 1: configure l2vpn bridge group 1 bridge-domain PE1-VPLS-A interface TenGigE0/0/0/0 vfi 1 neighbor 10.2.2.2 pw-id 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 348: Multipoint Layer 2 Services Configuration For Provider Edge-To-Customer Edge: Example

    This sample output shows the MAC address withdrawal fields: RP/0/RSP0/CPU0:router# show l2vpn bridge-domain detail Legend: pp = Partially Programmed. Bridge group: 222, bridge-domain: 222, id: 0, state: up, ShgId: 0, MSTi: 0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 349 0, multicast 0, unknown unicast 0 bytes: broadcast 0, multicast 0, unknown unicast 0 Dynamic ARP inspection drop counters: packets: 0, bytes: 0 IP source guard drop counters: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 350: Split Horizon Group: Example

    RP/0/RSP0/CPU0:router(config-l2vpn)#bridge group examples RP/0/RSP0/CPU0:router(config-l2vpn-bg)#bridge-domain all_three RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface GigabitEthernet 0/0/0/0.99 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#exit RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface GigabitEthernet 0/0/0/0.101 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#split-horizon group RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#exit RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#neighbor 192.168.99.1 pw-id 1 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-pw)#exit RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#neighbor 192.168.99.9 pw-id 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 351: Blocking Unknown Unicast Flooding: Example

    • bridge port (attachment circuit (AC)) • access pseudowire (PW) This example shows how to block unknown-unicast flooding at the bridge domain level: configure l2vpn bridge-group group1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 352: Disabling Mac Flush: Examples

    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 port-down flush disable L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 353: Bridging On Ios Xr Trunk Interfaces: Example

    RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface TenGigE0/1/0/2 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#commit RP/0/RSP0/CPU0:Jul 26 10:48:21.320 EDT: config[65751]: %MGBL-CONFIG-6-DB_COMMIT : Configuration committed by user 'lab'. Use 'show configuration commit changes 1000000973' to view the changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 354 10 mode active interface GigabitEthernet0/2/0/6 bundle id 10 mode active interface GigabitEthernet0/2/0/0 l2transport interface GigabitEthernet0/2/0/1 l2transport 12. interface TenGigE0/1/0/2 13. l2transport 14. l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 355 Enters interface configuration mode. Changes configuration mode to act on GigabitEthernet0/2/0/1. Step 11 l2transport Change GigabitEthernet0/2/0/1 from an L3 interface to an L2 interface. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 356 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 357: Bridging On Ethernet Flow Points: Example

    ACs: 3 (0 up), VFIs: 0, PWs: 0 (0 up), PBBs: 0 (0 up) List of ACs: BE10.999, state: down, Static MAC addresses: 0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 358 Creates an EFP under the new bundle trunk. Step 4 encapsulation dot1q 999 Assigns VLAN ID of 999 to this EFP. Step 5 interface GigabitEthernet0/6/0/5 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 359 Exits bridge domain AC configuration submode, allowing next AC to be configured. Step 20 interface TenGigE0/1/0/2.999 Establishes interface TenGigE0/1/0/2.999 as an AC of bridge domain named test-efp. Step 21 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 360: Changing The Flood Optimization Mode

    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: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 361: Configuring Vpls With Bgp Autodiscovery And Signaling: Example

    Figure 34: LDP and BGP Configuration Configuration at PE1: interface Loopback0 ipv4 address 1.1.1.100 255.255.255.255 interface Loopback1 ipv4 address 1.1.1.10 255.255.255.255 mpls ldp router-id 1.1.1.1 interface GigabitEthernt0/1/0/0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 362: Minimum L2Vpn Configuration For Bgp Autodiscovery With Bgp Signaling

    The following figure illustrates an example of configuring VPLS with BGP autodiscovery (AD) and BGP Signaling. Figure 35: VPLS with BGP autodiscovery and BGP signaling L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 363 VE ID = 3 VE Block Offset = 1 VE Block Size = 10 Label Base = 16015 NLRI sent at PE2: Length = 19 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 364: Minimum Configuration For Bgp Autodiscovery With 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 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 365 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 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 366: Vpls With Both Bgp Autodiscovery And Manual Provisioning Of Vpls Peers

    MyGroup bridge-domain MyDomain dynamic-arp-inspection logging This example shows how to configure basic dynamic ARP inspection under a bridge port: config l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 367 Local interface: GigabitEthernet0/0/0/1.10, Xconnect id: 0x40001, Status: up … Dynamic ARP Inspection: enabled, Logging: enabled Dynamic ARP Inspection Address Validation: IPv4 verification: enabled Source MAC verification: enabled L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 368: Configuring Ip Source Guard: Example

    Bridge group: SECURE, bridge-domain: SECURE-IPSG, id: 2, state: up, … IP Source Guard: enabled, Logging: enabled … List of ACs: AC: GigabitEthernet0/0/0/1.10, state is up L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 369: Configuring G.8032 Ethernet Ring Protection: Example

    1 Interface Gig 1/1/0/0 ethernet cfm mep domain domain2 service link2 mep-id 1 # Configure the ERP instance under L2VPN l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 370: Configuring Interconnection Node: Example

    10-100 Configuring Interconnection Node: Example This example shows you how to configure an interconnection node. The following figure illustrates an open ring scenario. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 371: Configuring The Node Of An Open Ring: Example

    Configuring the Node of an Open Ring: Example This example shows you how to configure the node part of an open ring. The following figure illustrates an open ring scenario. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 372: Configuring Flow Aware Transport Pseudowire: Example

    Configuring Flow Aware Transport Pseudowire: Example This sample configuration shows how to enable load balancing with FAT PW for VPWS. l2vpn pw-class class1 encapsulation mpls load-balancing flow-label transmit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 373: Configuring Pseudowire Headend: Example

    Configuring Pseudowire Headend: Example This example shows how to configure pseudowire headend. Consider the topology in the following figure. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 374 L2 links which are in xconnects. Each xconnect has a PW destined to S-PE but we use a different neighbor address depending of where we want to pin-down the PW: [L1, L4] or [L2, L3] L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 375 10.1.1.2/24 attach generic-interface-list il1 interface pw-ether2 ipv4 address 10.1.2.2/24 attach generic-interface-list il2 l2vpn xconnect group pwhe p2p pwhe1 interface pw-ether1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 376: Configuring L2Vpn Over Gre: Example

    Configuring a GRE Tunnel as Preferred Path for Pseudowire Perform this task to configure a GRE tunnel as the preferred path for pseudowires. SUMMARY STEPS 1. configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 377 Configures preferred path tunnel settings. If the fallback disable configuration is used and once the TE/TP tunnel is configured as the preferred path goes down, the corresponding pseudowire can also go down. Ensure that fallback is supported. Note L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 378: Configuring Vpls Lsm: Examples

    This example shows how to configure a VPN ID: l2vpn bridge group bg1 bridge-domain bd1 interface GigabitEthernet0/1/0/0.1 interface GigabitEthernet0/1/0/0.2 vfi 1 vpn-id 1001 autodiscovery bgp L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 379: Configuring Igmp Snooping: Example

    This example shows how to configure IGMP snooping: igmp snooping profile profile1 [no] default-bridge-domain all enable l2vpn bridge group bg1 bridge domain bd1 [no] igmp snooping disable L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 380 Implementing Multipoint Layer 2 Services Configuring IGMP Snooping: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 381: Implementing Ieee 802.1Ah Provider Backbone Bridge

    This module provides conceptual and configuration information for IEEE 802.1ah Provider Backbone Bridge on Cisco ASR 9000 Series Routers. The IEEE 802.1ah standard (Ref [4]) provides a means for interconnecting multiple provider bridged networks to build a large scale end-to-end Layer 2 provider bridged network.
  • Page 382: Prerequisites For Implementing 802.1Ah Provider Backbone Bridge

    MAC addresses (the backbone bridge MAC addresses). This eliminates the need for backbone core bridges to learn all MAC addresses of every customer and also eases the load on backbone edge bridges. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 383: Ieee 802.1Ah Standard For Provider Backbone Bridging Overview

    PBBN. The following figure shows a typical 802.1ah PBB network. Figure 40: IEEE 802.1ah Provider Backbone Bridge The following figure shows a typical provider backbone network topology. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 384: Backbone Edge Bridges

    • The B-BEB contains the B-Component of the MAC-in-MAC bridge. It validates the I-SIDs and maps the frames onto the backbone VLAN (B-VLAN). It also switches traffic based on the B-VLANS within the core bridge. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 385: Ib-Beb

    • The IB-BEB contains one or more I-Components and a single B-Component interconnected through a LAN segment. Note Only IB-BEBs are supported on Cisco ASR 9000 Series Routers. Cisco IOS XR supports IB-BEB bridge type at the Edge node. IB-BEB The IB-BEB contains both the I-Component and the B-Component.
  • Page 386: Multiple I-Sid Registration Protocol Lite

    To configure a port-based service, all the above EFPs must be added to the same edge bridge domain. The following figure shows the PBB bridge component topology on the Cisco ASR 9000 Series Routers. Figure 42: PBB Bridge Component Topology on Cisco ASR 9000 Series Routers Multiple I-SID Registration Protocol Lite The 802.1Qbe—Multiple I-SID Registration Protocol (MIRP) standard provides the ability to flush learned...
  • Page 387 DHD2 to the host behind DHD1 is wrongly encapsulated with B-MAC M1 and sent over the MAC tunnel to BEB1, where the traffic drops. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 388 MIRP triggers C-MAC address flushing for both native 802.1ah and PBB over VPLS. The following figure shows the operation of the MIRP. Figure 44: MIRP Operation L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 389: Provider Backbone Bridging Ethernet Vpn

    In the above figure, the provider edge (PE) routers run multi-protocol BGP to advertise and learn MAC addresses over MPLS. The customer MAC addresses are learnt in the data plane over attachment circuits L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 390: Pbb-Evpn Overview

    MAC address in access. Only B-MAC addresses are advertised in core, making the number of BGP routes exchanged manageable. For PBB EVPN, the B-MAC flush is per B-MAC per Ethernet VPN Instance (EVI). L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 391 PBB-EVPN BGP Routes PBB-EVPN defines a single new BGP network layer reachability information (NLRI) used to advertise different types of routes along with new attributes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 392: Mmrp For Pbb Vpls Flood Optimization

    The Multiple MAC Registration Protocol (MMRP) for PBB VPLS Flood Optimization feature optimizes the impact of the flooded traffic on PE devices by sending the traffic only to the PE devices interested in a particular service instance. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 393: Configuring Pbb-Vpls Flood Optimization

    6. mmrp-flood-optimization 7. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 394 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 395: Configuring Generic Mrp Protocol Parameters

    Step 4 (Optional) join-time milliseconds Example: RP/0/RSP0/CPU0:router(config-mmrp-flood-opt)# join time interval 300 Sets the join time for all active ports. Step 5 (Optional) leaveall-time seconds Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 396: How To Implement 802.1Ah Provider Backbone Bridge

    • Direct encapsulation of 802.1ah formatted packets natively over an MPLS LSP encapsulation The following additional restriction applies when implementing Provider Backbone Bridge Ethernet VPN (PBB-EVPN): L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 397: Configuring Ethernet Flow Points On Cnp And Pnp Ports

    GigabitEthernet0/0/0/10.100 l2transport Configures an interface for L2 switching. Step 3 encapsulation dot1q vlan-id or encapsulation dot1ad vlan-id or encapsulation dot1ad vlan-id dot1q vlan-id Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 398: Configuring Pbb Edge Bridge Domain And Service Instance Id

    ASR 9000 Ethernet line card ucode version that supports the PBB feature. The PBB feature will not be supported on the ASR 9000 Ethernet line card unless you make this configuration. For more information on configuring the feature profile, refer to the Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide.
  • Page 399 - 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. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 400: Configuring The Pbb Core Bridge Domain

    Enters configuration mode for the named bridge group. This command creates a new bridge group or modifies the existing bridge group, if it already exists. A bridge group organizes bridge domains. Step 4 bridge-domain domain-name Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 401: Configuring Backbone Vlan Tag Under The Pbb Core Bridge Domain

    5. interface type interface-path-id.subinterface 6. interface type interface-path-id. subinterface 7. pbb core 8. rewrite ingress tag push dot1ad vlan-id symmetric 9. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 402 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. The interface now becomes an attachment circuit on this bridge domain. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 403: Configuring Backbone Source Mac Address

    Note The backbone source MAC address configuration is optional. If you do not configure the backbone source MAC address, the Cisco ASR 9000 Series Routers allocate a default backbone source MAC address from the chassis backplane MAC pool. Perform this task to configure the backbone source MAC address.
  • Page 404: Configuring Unknown Unicast Backbone Mac Under Pbb Edge Bridge Domain

    Configuring Unknown Unicast Backbone MAC under PBB Edge Bridge Domain Perform this task to configure the unknown unicast backbone MAC under the PBB edge bridge domain. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 405 Enters configuration mode for the named bridge domain. This command creates a new bridge domain or modifies the existing bridge domain if it already exists. Step 5 interface type interface-path-id.subinterface Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 406: Configuring Static Mac Addresses Under Pbb Edge Bridge Domain

    Perform this task to configure the static MAC addresses under the PBB edge bridge domain. SUMMARY STEPS 1. configure 2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain domain-name 5. interface type interface-path-id.subinterface L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 407 Step 5 interface type interface-path-id.subinterface Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface GigabitEthernet0/5/0/0.20 Assigns the matching VLAN ID and Ethertype to the interface. Step 6 interface type interface-path-id.subinterface Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 408: Configuring Pbb Vpls

    Configuring Access Pseudowire in I-Component Perform this task to configure the static MAC addresses under the PBB edge bridge domain. SUMMARY STEPS configure l2vpn bridge group bridge-group-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 409 Enters bridge domain configuration mode. This command creates a new bridge domain or modifies the existing bridge domain if it already exists. Step 5 mac withdraw state-down Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# mac withdraw state-down (Optional) Enables MAC withdrawal. Step 6 exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 410 All the interfaces (bridge ports) under this bridge domain are treated as the customer network ports (CNP). Step 12 Use the commit or end command. commit - Saves the configuration changes and remains within the configuration session. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 411: Configuring Core Pseudowire In B-Component

    Enters configuration mode for the named bridge group. This command creates a new bridge group or modifies the existing bridge group if it already exists. A bridge group organizes bridge domains. Step 4 bridge-domain domain-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 412: Configuring Pbb-Evpn

    This section provides information on: Configuring PBB Core Bridge Domains Perform this task to create the PBB Core bridge domain and assign it’s corresponding EVPN EVI ID. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 413 Enters bridge group domain configuration mode. This command creates a new bridge domain. Step 5 pbb core Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# pbb core Configures the bridge domain as PBB core and enters the PBB core configuration submode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 414: Configuring Pbb Edge Bridge Domains

    PBB-EVPN configuration allows to create only 24 ICCP-groups. Perform this task to configure the EVPN Ethernet segment. SUMMARY STEPS configure evpn interface type interface-path-id L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 415 Example: RP/0/RSP0/CPU0:router(config-evpn-ac)# ethernet-segment Enters the EVPN ethernet-segment configuration mode. Step 5 backbone-source-mac mac_address Example: RP/0/RSP0/CPU0:router(config-evpn-ac-es)# backbone-source-mac 0045.1200.04 Configures the backbone source MAC address. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 416 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 417: Configuring Bgp Route Target

    Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 evpn Example: RP/0/RSP0/CPU0:router(config)# evpn Enters EVPN configuration mode. Step 3 Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 418 [ import | export ] { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } Example: RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target 10:20 Creates a route-target extended community. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 419: Configuring Global Evpn Timers

    Enters the Global Configuration mode. Step 2 evpn Example: RP/0/RSP0/CPU0:router evpn Enters EVPN configuration mode. Step 3 timers [flushagain | peering | programming | recovery] L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 420: Configuring Evpn Timers Per Ethernet Segment And Ce Flushing Mechanism

    Configuring EVPN Timers Per Ethernet Segment and CE flushing mechanism Perform this task to configure per Ethernet segment timers. SUMMARY STEPS 1. configure 2. evpn 3. interface type interface-path-id L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 421 When it expires, another MAC flush message (MVRP or STP-TCN) is sent to the CE. This timer can be configured per segment-interface. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 422: Configuring Multichassis Link Aggregation

    ICCP module. For more information on configuring MCLAG, refer to the Configuring Link Bundling on the Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide.
  • Page 423 Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Step 6 address-family l2vpn evpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 424: Configuration Examples For Implementing 802.1Ah Provider Backbone Bridge

    Configuring PBB Edge Bridge Domain and Service Instance ID: Example This example shows how to configure the PBB edge bridge domain: config l2vpn bridge group PBB bridge-domain PBB-EDGE interface GigabitEthernet0/0/0/38.100 interface GigabitEthernet0/2/0/30.150 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 425: Configuring Pbb Core Bridge Domain: Example

    Configuring Static Mapping and Unknown Unicast MAC Address under the PBB Edge Bridge Domain This example shows how to configure static mapping and unknown unicast MAC address under the PBB edge bridge domain: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 426: Configuring Pbb-Vpls: Example

    The MIRP feature is enabled by default. However, MIRP packets are sent when the attachment circuit is not functional and you have configured mac withdraw state-down as shown: l2vpn bridge group PBB bridge-domain PBB-EDGE mac withdraw state-down L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 427: Configuring Pbb-Evpn: Example

    1000 router bgp 100 bgp router-id 1.1.1.1 address-family l2vpn evpn neighbor 1.1.1.3 remote-as 100 address-family l2vpn evpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 428: Pbb Evpn On Dual Homed Device/Multi Homed Device With Active/Active Per Flow Load-Balancing

    • CE must be configured with one bundle interface that includes all member interfaces connecting to both • BGP RD/RT auto-derived from BGP ASN and EVI ID L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 429 1 mlacp node 2 mlacp system mac 0aaa.0bbb.0ccc mlacp system priority 1 backbone interface GigabitEthernet0/1/0/2 mode singleton interface bundle-Ether1 mlacp iccp-group 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 430: Pbb Evpn On Dual Homed Device/Multi Homed Device With Active/Active Per Service Load-Balancing And Dynamic Service Carving

    • CE must be configured with two bundle interfaces. One for each set of member interfaces leading to a different PE • BGP RD/RT auto-derived from BGP ASN and EVI ID L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 431 1000 router bgp 100 bgp router-id 1.1.1.1 address-family l2vpn evpn neighbor 1.1.1.100 remote-as 100 address-family l2vpn evpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 432: Pbb Evpn On Dual Homed Device/Multi Homed Device With Active/Active Per Service Load-Balancing And Manual Service Carving

    • PBB-EVPN service among three PEs in the same AS with a dual homed CE (behind PE1 and PE2) and a single homed CE (behind PE3) • PE1/PE2 configured to perform active/active per service (i.e. per-ISID) load balancing with manual service carving/DF election L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 433 GigabitEthernet0/1/0/2 mode singleton interface Bundle-Ether1 mlacp iccp-group 66 interface bundle-Ether1.1 l2transport encapsulation dot1q interface bundle-Ether1.20 l2transport encapsulation dot1q 20 evpn interface bundle-Ether1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 434 277-286 secondary 256-276 l2vpn backbone-source-mac 00cc.00dd.00ee bridge group gr1 bridge-domain bd1 interface bundle-Ether2.1 pbb edge i-sid 260 core-bridge core_b1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 435: Pbb-Evpn Multi Homed Network

    00aa.00bb.00cc bridge group gr1 bridge-domain bd1 interface bundle-ether1.1 pbb edge i-sid 400 core-bridge core_bd1 bridge group gr2 bridge-domain core_bd1 pbb core evpn evi 1000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 436 00cc.00dd.00ee bridge group gr1 bridge-domain bd1 interface bundle-Ether1.1 pbb edge i-sid 400 core-bridge core_bd1 bridge group gr2 bridge-domain core_bd1 pbb core evpn evi 1000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 437: Implementing Multiple Spanning Tree Protocol

    This module provides conceptual and configuration information for Multiple Spanning Tree Protocol on Cisco ASR 9000 Series Routers. Multiple Spanning Tree Protocol (MSTP) is a spanning-tree protocol used to prevent loops in bridge configurations. Unlike other types of STPs, MSTP can block ports selectively by VLAN.
  • Page 438: Information About Implementing Multiple Spanning Tree Protocol

    ID of the attached devices, and in the case of two attachments to the same device, by the configured port priority and port ID of the neighboring attached ports. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 439: Topology Changes

    • REP (Cisco-proprietary ring-redundancy protocol)— This is a Cisco-proprietary protocol for providing resiliency in rings. It is included for completeness, as it provides MSTP compatibility mode, using which, it interoperates with an MSTP peer. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 440: Multiple Spanning Tree Protocol Overview

    (zero). When communicating with non-MSTP-aware devices, the entire MSTP region is represented as a single switch. The logical IST topology in this case is shown in the following figure. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 441: Mstp Port Fast

    The administrator can set the root bridge priority to 0 in an effort to secure the root bridge position; however, this is no guarantee against another bridge which also has a priority of 0 and has a lower bridge ID. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 442: Mstp Topology Change Guard

    Ethernet Bundle interfaces. Note that this includes the Port Fast, Backbone Fast, Uplink Fast and Root Guard features found in Cisco implementations of legacy STP, RSTP and PVST, as these are encompassed by the standard MSTP protocol. Cisco ASR 9000 Series Routers can operate in either standard 802.1Q mode, or in Provide Edge (802.1ad) mode.
  • Page 443: Bpdu Guard

    BPDU Guard BPDU Guard BPDU Guard is a Cisco feature that protects against misconfiguration of edge ports. It is an enhancement to the MSTP port fast feature. When port fast is configured on an interface, MSTP considers that interface to be an edge port and removes it from consideration when calculating the spanning tree.
  • Page 444: Restrictions For Configuring Mstp

    A subinterface with a default or untagged encapsulation will lead to an MSTP state machine failure. Access Gateway One common deployment scenario for Cisco ASR 9000 Series Routers is as an nPE gateway device situated between a network of uPE access devices and a core or aggregation network. Each gateway device may provide connectivity for many access networks, as shown in following figure.
  • Page 445: Overview Of Access Gateway

    (as is typical) the majority of the traffic is between an access device and the core or aggregation network, and there is little if any traffic between the access devices. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 446 (so long as the configuration on each is consistent). This also means that different access networks can use different pairs of gateway devices, as shown in the following figure. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 447: Topology Change Propagation

    • The access devices send traffic to each other, and not just to or from the core or aggregation network. If all the traffic is to or from the core or aggregation network, then all the access devices must either already L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 448: Preempt Delay

    For this reason, inferior BPDUs are sent during the preempt delay time, rather than sending no BPDUs at all. Supported Access Gateway Protocols Access Gateway is supported on Cisco ASR 9000 Series Routers when the following protocols are used in the access network Table 4: Protocols...
  • Page 449 For normal MSTAG, and for the L2 MSTIs, topology change notifications are propagated from one gateway device to the other, and re-advertised into the access network. However, for the L3 MSTI, this is not desirable. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 450: Pvstag On Bundle Interfaces

    • Configuration of the Hello timer is supported per port and not per VLAN. The Hello timer configured on a port applies to all VLANs on that specific port. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 451: Multiple Vlan Registration Protocol

    Cisco ASR 9000 Series Routers support operating in static mode. This is known as MVRP-lite. How to Implement Multiple Spanning Tree Protocol This section contains these procedures: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 452: Configuring Mstp

    • Port priority (per spanning-tree instance) • Internal port path cost (per spanning-tree instance) Per-interface configuration takes place in an interface submode within the MST configuration submode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 453 Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 spanning-tree mst protocol instance identifier Example: RP/0/RSP0/CPU0:router(config)# spanning-tree mst a RP/0/RSP0/CPU0:router(config-mstp)# L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 454 Allowed values for bridge forward-delay time in seconds are from 4 through 30. Step 8 maximum { age seconds | hops hops } Example: RP/0/RSP0/CPU0:router(config-mstp)# max age 40 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 455 Associates a set of VLAN IDs with the current MSTI. List of VLAN ranges in the form a-b, c, d, e-f, g, and so on. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 456 Allowed values for port cost are from 1 through 200000000. Step 18 link-type { point-to-point | multipoint } Example: RP/0/RSP0/CPU0:router(config-mstp-if)# link-type point-to-point Sets the link type of the port to point-to-point or multipoint. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 457: Verifying Mstp

    Verifying MSTP These show commands allow you to verify the operation of MSTP: • show spanning-tree mst mst-name • show spanning-tree mst mst-name interface interface-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 458: Configuring Mstag Or Repag

    • Region Name and Revision • Bridge ID • Port ID • External port path cost • Max Age • Provide Bridge mode • Hello Time L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 459 These guidelines do not apply to REPAG, as in that case the access devices ignore the information received from the gateway devices apart from when a topology change is signalled. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 460 15. vlan-id vlan-range [, vlan-range ] [,vlan-range ] [,vlan-range ] 16. priority priority port-priority priority 18. cost cost 19. root-bridge id 20. root-priority priority Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 461 The default value is the MAC address of the switch, formatted as a text string using the hexadecimal representation specified in IEEE Standard 802. Step 6 revision revision -number Example: RP/0/RSP0/CPU0:router(config-mstag-if)# revision 1 Sets the revision level of the MSTP region. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 462 Allowed values for port cost are from 1 through 200000000. Step 12 hello-time seconds Example: RP/0/RSP0/CPU0:router(config-mstag-if)# hello-time 1 Sets the port hello time in seconds. Allowed values are from 1 through 2. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 463 RP/0/RSP0/CPU0:router(config-mstag-if-inst)# cost 10000 Sets the internal path cost for a given instance on the current port. Allowed values for port cost are from 1 through 200000000. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 464: Configuring Mstag Topology Change Propagation

    Point to Point Layer 2 Services module. Verifying MSTAG These show commands allow you to verify the operation of MSTAG: • show spanning-tree mstag mst-name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 465: Mstag Uplink Tracking

    Figure 62: MSTAG Uplink Tracking Core Connectivity Failure The following diagram illustrates how the nPE device sends start-up BPDUs when it loses core connectivity. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 466: Benefits

    Perform this task to configure MSTAG Uplink Tracking feature. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 467 Verify the core connectivity status. The following example shows the state of the interfaces that connect the core. RP/0/0/CPU0:ios#show spanning-tree mstag foo tracked Core Connectivity Available: True Tracked Items: 1/2 up Interface Name State ----------------------------------------------- GigabitEthernet0/0/0/3 Down GigabitEthernet0/0/0/2 ----------------------------------------------- L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 468: Configuring Pvstag Or Pvrstag

    • For each spanning tree instance, the port path cost and other parameters may be configured on the access devices, so as to ensure the desired port is placed into the blocked state when all links are up. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 469 { seconds | minutes | hours } interface type interface-path-id or interface Bundle-Ether bundle-id vlan vlan-id root-priority priority root-id id root-cost cost priority priority bridge-id id port-priority priority L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 470 Enters the PVSTAG interface configuration submode, and enables PVSTAG for the specified port. Step 5 vlan vlan-id Example: RP/0/RSP0/CPU0:router(config-pvstag-if)# vlan 200 Enables and configures a VLAN on this interface. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 471 For PVSTAG, allowed values for port priority are from 0 through 255; for PVRSTAG, the allowed values are from 0 through 240 in multiples of 16. Step 12 port-id id L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 472: Configuring Subinterfaces

    • Subinterfaces that match a range of VLANs are supported by PVSTAG; it is not necessary to configure a separate subinterface for each VLAN, unless it is desirable for provisioning the data switching. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 473: Verifying Pvstag

    5. maximum age seconds 6. transmit hold-count count 7. vlan vlan_id 8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 474 Allows you to configure bridge transmit hold count. The hold count range is from 1 to 10. Step 7 vlan vlan_id Example: RP/0/RSP0/CPU0:router(config-pvrst)# Allows you to configure PVRST on a VLAN. The VLAN ID range is from 1 to 4094. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 475: Configuring Mvrp-Lite

    5. join-time milliseconds 6. leave-time seconds 7. leaveall-time seconds 8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 476 Step 7 leaveall-time seconds Example: RP/0/RSP0/CPU0:router(config-mvrp)# leaveall-time 20 Sets the leave all time for all active ports. Step 8 Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 477: Verifying Mvrp-Lite

    101-110 priority 8192 interface GigabitEthernet0/0/0/0 hello-time 1 external-cost 10000 link-type point-to-point portfast guard root guard topology-change instance 101 cost 10000 instance 101 port-priority 160 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 478 6161.6161.6161 128.1 Gi0/0/0/1 128.2 20000 4096 6161.6161.6161 128.2 Gi0/0/0/2 128.3 20000 DSGN FWD 32768 6262.6262.6262 128.3 Gi0/0/0/3 128.4 20000 ---- BLK ----- -------------- ------- ========================================================================= L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 479 ID of the designated port on the LAN. If the port role is Designated, then the information for this bridge or port is displayed. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 480 MSTP but where MSTP is not operational. Primarily this shows information about interfaces which do not exist: # show spanning-tree mst a errors Interface Error ------------------------------- GigabitEthernet1/2/3/4 Interface does not exist. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 481: Configuring Mstag: Examples

    This example shows MSTAG configuration for a single spanning-tree instance on a single interface: config interface GigabitEthernet0/0/0/0.1 l2transport encapsulation untagged spanning-tree mstag example preempt delay for 60 seconds L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 482 Topology Changes: 123 MSTI 2 VLAN IDs: 10-31 Role: Designated Bridge Priority: 32768 Port Priority: Cost: Root Bridge: 6161.6161.6161 Root Priority: 32768 Topology Changes: 123 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 483 This example shows the output of show spanning-tree mstag topology-change flushes, which displays details about the topology changes that have occurred for each interface: #show spanning-tree mstag b topology-change flushes MSTAG Protocol Instance b L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 484: Configuring Pvstag: Examples

    To simplify this PVSTAG example, there is only one access switch in the network topology. In a real scenario, you can replace this with a ring of access switches. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 485: Cluster Configuration

    4 root-priority 4096 root-id 0011.0011.0011 priority 8192 bridge-id 0022.0022.0022 port-priority 128 interface Loopback100 ipv4 address 8.8.8.8 255.255.255.255 interface Loopback201 ipv4 address 9.9.9.9 255.255.255.255 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 486 GigabitEthernet 0/0/0-43 interface BVI5 ipv4 address 4.4.4.1 255.255.255.0 l2vpn bridge group bg1 bridge-domain bd1 interface GigabitEthernet101/0/0/23.4 interface GigabitEthernet102/0/0/23.4 routed interface BVI5 satellite 101 type asr9000v L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 487: Configuring Pvrst: Example

    RP/0/RSP0/CPU0:router# show ethernet mvrp mad interface GigabitEthernet 0/1/0/1 GigabitEthernet0/1/0/1 Participant Type: Full; Point-to-Point: Yes Admin Control: Applicant Normal; Registrar Normal LeaveAll Passive (next in 5.92s); periodic disabled L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 488 This example shows the output of show ethernet mvrp statistics: RP/0/RSP0/CPU0:router# show ethernet mvrp statistics interface GigabitEthernet 0/1/0/1 GigabitEthernet0/1/0/1 MVRPDUs TX: 1245 MVRPDUs RX: Dropped TX: Dropped RX: Invalid RX: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 489: Implementing Of Layer 2 Access Lists

    An Ethernet services access control list (ACL) consists of one or more access control entries (ACE) that collectively define the Layer 2 network traffic profile. This profile can then be referenced by Cisco IOS XR software features. Each Ethernet services ACL includes an action element (permit or deny) based on criteria such as source and destination address, Class of Service (CoS), or VLAN ID.
  • Page 490: Information About Implementing Layer 2 Access Lists

    That is, after the first match, no subsequent entries are considered. • If the access list denies the address or protocol, the software discards the packet. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 491: Helpful Hints For Creating Ethernet Services Access Lists

    10. The maximum sequence number is 2147483646. If the generated sequence number exceeds this maximum number, this message is displayed: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 492: How To Implement Layer 2 Access Lists

    • NetIO (software slow path) is not supported for Ethernet services access lists. • Match on inner VLAN 0 and outer VLAN 0 is not supported on Cisco ASR 9000 High Density 100GE Ethernet Line Card and ASR 9000 Enhanced Ethernet Line Card.
  • Page 493: What To Do Next

    For inbound access lists, after receiving a packet, Cisco IOS XR software checks the source MAC address of the packet against the access list. If the access list permits the address, the software continues to process the packet.
  • Page 494: Controlling Access To An Interface

    • The number range for a virtual interface instance varies depending on the interface type. Step 3 ethernet-services access-group access-list-name { ingress | egress } Example: RP/0/RSP0/CPU0:router(config-if)# ethernet-services access-group p-in-filter ingress RP/0/RSP0/CPU0:router(config-if)# ethernet-services access-group p-out-filter egress L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 495: Copying Ethernet Services Access Lists

    (Optional) Displays the contents of a named Ethernet services access list. For example, you can verify the output to see that the destination access list list-2 contains all the information from the source access list list-1. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 496: Resequencing Access-List Entries

    (Optional) Displays the contents of a named Ethernet services access list. • Review the output to see that the access list includes the updated information. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 497: Configuration Examples For Implementing Layer 2 Access Lists

    2 permit 1.2.3 5.4.3 5 permit 2.3.4. 6.5.4 cos 3 10 permit any dei 15 permit 1.5.7 7.5.1 20 permit 6.5.4 1.3.5 VLAN vlan3 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 498 Implementing of Layer 2 Access Lists Adding Entries with Sequence Numbers: Example L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 499: C H A P T E

    This module provides conceptual information for VXLAN in general and configuration information for layer 2 VXLAN on Cisco ASR 9000 Series Router. For configuration information of layer 3 VXLAN, see Implementing L3 VXLAN chapter in the Cisco ASR 9000 Series Aggregation Services Router MPLS Layer 3 VPN Configuration Guide.
  • Page 500: Vxlan

    The VXLAN anycast gateway feature is supported on only Cisco ASR 9000 High Density 100GE Ethernet line cards. Recommendations These are the recommendations that users must consider before configuring VXLAN anycast gateway feature: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 501: Vxlan Packet Format

    LAN segment to support local endpoint communication through bridging, and the other is an IP interface to the transport IP network. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 502: Configuring A Layer 2 Vxlan Gateway

    Layer 2 VXLAN gateway between a VLAN and a VXLAN segment in the same L2 domain. Prerequisites The following are the prerequisites to configuring a Cisco ASR 9000 series router as a VXLAN Layer 2 gateway: • Configure a loopback interface. It serves as a source interface for the local VTEP.
  • Page 503: Creating And Configuring The Network Virtualization Endpoint (Nve) Interface

    6. Use the commit or end command. DETAILED STEPS Step 1 interface nve nve-identifier Example: RP/0/RSP0/CPU0:router(config)# interface nve 1 Creates the NVE interface and enters the NVE interface configuration sub-mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 504 • Cancel - Remains in the configuration mode, without committing the configuration changes. What to do next Use the show nve interface command to display the configured NVE interface information. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 505: Creating And Configuring A Layer 2 Sub-Interface

    1. l2vpn 2. bridge group bridge-group-name 3. bridge-domain bridge-domain-name 4. member vni vxlan-identifier 5. interface gigabitEthernet sub-interface-identifier 6. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 506: Configuring Vxlan Source Udp Port

    2 address fields of the inner payload. Perform this task to configure the hash functions to be performed on either the layer 2 or the layer 3 address fields of the inner payload. SUMMARY STEPS 1. l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 507: Configuring Vxlan Destination Udp Port

    The following example shows layer 2 VXLAN gateway configuration on two Provider Edge (PE) routers, R1 and R2, from a sample network topology that has the core network simplified as a bundle link connection between the PE routers. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 508 1.1.1.1 bidir Configuration at R2: interface Bundle-Ether10 ipv4 address 192.168.1.2/24 interface Loopback0 ipv4 address 2.2.2.2/32 interface T0/3/0/23 no shut interface T0/3/0/23.200 l2transport L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 509 T0/3/0/23.200 member vni 1 multicast-routing address-family ipv4 interface Loopback0 enable interface Bundle-Ether10 enable router pim address-family ipv4 rp-address 1.1.1.1 bidir L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 510 Implementing VXLAN Configuration Example for Implementing Layer 2 VXLAN Gateway L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 511: Evpn Features

    C H A P T E R EVPN Features This chapter describes how to configure Layer 2 (L2) Ethernet VPN (EVPN) features on the Cisco ASR 9000 Series Aggregation Services Routers supporting Cisco IOS XR software. • EVPN Overview , on page 485 •...
  • Page 512: Evpn Operation

    Designated Forwarder (DF) that is responsible for forwarding Broadcast, Unknown unicast and Multicast (BUM) traffic for a given EVI. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 513: Evpn Route Types

    Advertise MAC, address reachability, advertise IP/MAC binding Inclusive Multicast Ethernet Tag Multicast Tunnel End point Route discovery Ethernet Segment Route Redundancy group discovery, DF election L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 514: Configure Evpn L2 Bridging Service

    12. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the global configuration mode. Step 2 l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 515 Exits the current configuration mode. Step 9 bridge-domain bridge-domain-name Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain 1-2 Enters the bridge domain configuration mode. Step 10 interface GigabitEthernet GigabitEthernet Interface Instance Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 516: Evpn Software Mac Learning

    3. The MAC address (AA) is converted into a type-2 BGP route and is sent over BGP to all the remote PEs in the same EVI. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 517: Software And Hardware Support

    4. The MAC address (AA) is updated on DCI3 as a static remote MAC address. Software and Hardware Support The EVPN Native with Software MAC Learning feature is supported on Cisco ASR 9000 Series Routers that support Cisco IOS XR software and Cisco IOS XR 64-bit.
  • Page 518: Supported Modes For Evpn Native With Software Mac Learning

    /* Configure address family session in BGP. */ RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router#(config)# router bgp 200 RP/0/RSP0/CPU0:router#(config-bgp)# bgp router-id 40.40.40.40 RP/0/RSP0/CPU0:router#(config-bgp)# address-family l2vpn evpn RP/0/RSP0/CPU0:router#(config-bgp)# neighbor 10.10.10.10 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 519: Dual Home Device-All-Active Load Balancing Mode

    Dual Home Device All-Active Load Balancing Mode The following section describes how you can configure EVPN Software MAC Learning feature in dual home device (DHD) in all-active load balancing mode: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 520: Configure Evpn Software Mac Learning In Dual Home Device-All-Active Mode

    RP/0/RSP0/CPU0:router#(config-bgp)# bgp router-id 209.165.200.227 RP/0/RSP0/CPU0:router#(config-bgp)# address-family l2vpn evpn RP/0/RSP0/CPU0:router#(config-bgp)# neighbor 10.10.10.10 RP/0/RSP0/CPU0:router#(config-bgp-nbr)# remote-as 200 RP/0/RSP0/CPU0:router#(config-bgp-nbr)# description MPLSFACING-PEER RP/0/RSP0/CPU0:router#(config-bgp-nbr)# update-source Loopback 0 RP/0/RSP0/CPU0:router#(config-bgp-nbr)# address-family l2vpn evpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 521 Bundle-Ether1 lacp switchover suppress-flaps 300 load-interval 30 interface bundle-Ether1.2001 l2transport encapsulation dot1aq 2001 rewrite ingress tag pop 1 symmetric Verification L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 522: Dual Home Device-Single-Active Load Balancing

    PE2. Only one PE can forward traffic within the EVI at a given time. Configure EVPN in Dual Home Device Single-Active Mode /* Configure bridge domain. */ RP/0/RSP0/CPU0:router(config)# l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 523 Interface Nexthops ----- ------------------ ---------- ----------- 0012.1200.0000.0000.0002 BE21 10.10.10.10 30.30.30.30 ESI type : 0 Value : 12.1200.0000.0000.0002 ES Import RT : 1212.0000.0000 (from ESI) L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 524: Verify Evpn Native With Software Mac Learning

    Verify the BGP L2VPN EVPN summary. RP/0/RSP0/CPU0:router# show bgp l2vpn evpn summary Neighbor MsgRcvd MsgSent TblVer OutQ Up/Down St/PfxRcd 20.20.20.20 0 216739 229871 200781341 3d00h 348032 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 525 MAC address IP address Nexthop Label ---- -------------- ---------- ------- ----- 2001 00a9.2002.0001 10.10.10.10 34226 2001 00a9.2002.0001 30.30.30.30 34202 Ethernet Tag : 0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 526: Evpn Vxlan Layer 2 Data Center Interconnect Gateway

    EVPN VXLAN Layer 2 Data Center Interconnect Gateway The Cisco ASR 9000 Series Routers serve as a Data Center Interconnect (DCI) Layer 2 gateway to provide Layer 2 connectivity between EVPN VXLAN based data centers, over a MPLS-based L2VPN network. The data centers are connected through the intermediate service provider network.
  • Page 527: All-Active Multi Homing With Unique Vtep Ip Address

    DCI2 selects ToR1 for all traffic destined to the MAC address learnt on EVI1; DCI1 and DCI2 selects ToR2 for all traffic destined to the MAC address learnt on EVI2. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 528: Evpn Esi Multipath For Vxlan - Flow-Based Load Balancing

    VxLAN segment. In Release 6.1.2, by default, the unknown unicast flooding on traffic received from VxLAN segment is disabled. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 529: Configure Evpn Vxlan Layer 2 Data Center Interconnect Gateway

    Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing process. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 530: Configure The Routing Sessions Between The Dci And Tor

    Perform this task to configure the routing sessions between the DCI and ToR. SUMMARY STEPS configure router bgp asn_id neighbor ip-address remote-as autonomous-system-number ebgp-multihop maximum hop count update-source loopback L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 531 RP/0/RSP0/CPU0:router(config-bgp-nbr)# update-source loopback1 Allows BGP sessions to use the primary IP address from a particular interface as the local address. Step 7 address-family l2vpn evpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 532: Configure Bgp Session For Remote Dci Connectivity

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configure BGP session for remote DCI Connectivity Perform this task to configure BGP session for remote DCI connectivity. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 533 Allows BGP sessions to use the primary IP address from a particular interface as the local address. Step 6 address-family l2vpn evpn Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-fmaily l2vpn evpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 534: Configure Network Virtualization Endpoint (Nve) Interface

    12. exit 13. member vni vni_number 14. load-balance per-evi L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 535 RP/0/RSP0/CPU0:router(config-nve-red)# backbone vxlan Configures Inter-Chassis Communication Protocol (ICCP) VXLAN backbone. Step 7 iccp group group number Example: RP/0/RSP0/CPU0:router(config-nve-red-backbone-vxlan)# iccp group 11 Configures the ICCP group number. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 536 Configures per-evi load balance mode (default is per-flow). Step 15 suppress-unknown-unicast-flooding Example: RP/0/RSP0/CPU0:router(config-nve-vni)# suppress-unknown-unicast-flooding Configures the suppression of unknown unicast flooding. Step 16 mcast-group ip_address Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 537: Configure A Bridge Domain

    8. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the global configuration mode. Step 2 l2vpn Example: RP/0/RSP0/CPU0:router(config)# l2vpn L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 538: Configure Bgp Route Targets Import/Export Rules

    By default, these parameters are auto-derived from the DCI's configuration: • Route Distinguisher (RD) for global Ethernet Segment table Default: Auto-generated RD based on loopback IP address L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 539 { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } Example: RP/0/RSP0/CPU0:router(config-evpn-bgp)# rd 200:50 Configures the route distinguisher. Step 5 exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 540: Configure Ethernet Segment Identifier

    • Cancel - Remains in the configuration mode, without committing the configuration changes. Configure Ethernet Segment Identifier Perform this task to configure Ethernet Segment Identifier (ESI). SUMMARY STEPS 1. configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 541 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: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 542: Configure Iccp Group

    Enters redundancy configuration mode. Step 3 iccp group group number Example: RP/0/RSP0/CPU0:router(config-redundancy)# iccp group 11 Configures ICCP group number. Step 4 mode singleton Example: RP/0/RSP0/CPU0:router(config-redundancy-iccp-group)# mode singleton L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 543: Enable Flow-Based Load Balancing

    4. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 l2vpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 544: Example: All-Active Multi Homing With Anycast Vtep Ip Address Configuration

    200:5100 stitching l2vpn bridge group DCI bridge-domain V1 evpn evi 10 member vni 5100 router bgp 100 bgp router-id 209.165.200.226 address-family l2vpn evpn neighbor 209.165.201.2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 545: Example: All-Active Multi Homing With Unique Vtep Ip Address Configuration

    209.165.201.2 remote-as 100 description core-facing update-source Loopback1 address-family l2vpn evpn import re-originate stitching-rt multipath advertise l2vpn evpn re-originated neighbor 209.165.202.130 remote-as 200 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 546: Evpn Mpls Seamless Integration With Vpls

    This feature allows you to upgrade the VPLS PE routers to EVPN one by one and the network works without any service disruption. Consider the following topology where PE1, PE2, PE3, and PE4 are interconnected in a full-meshed network using VPLS PW. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 547: Configure Evpn On The Existing Vpls Network

    Perform this task to enable EVPN address family under both BGP and participating neighbor. SUMMARY STEPS configure router bgp asn_id bgp graceful-restart bgp router-id ip-address address-family l2vpn evpn exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 548 RP/0/RSP0/CPU0:router(config-bgp)# address-family l2vpn evpn Enables EVPN address family globally under BGP routing process and enters EVPN address family configuration submode. Step 7 exit Example: RP/0/RSP0/CPU0:router(config-bgp-af)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 549 Perform this task to configure EVI and define the corresponding BGP route targets. Also, configure advertise-mac, else the MAC routes (type-2) are not advertised. SUMMARY STEPS configure evpn evi evi_id table-policy policy name L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 550 Configures importing of routes from the L2 EVPN BGP NLRI that have the matching route-target value. Step 7 route-target export { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 551 Perform this task to configure EVI under the corresponding L2VPN bridge domain. SUMMARY STEPS configure l2vpn bridge group bridge group name bridge-domain bridge-domain name interface type interface-path-id exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 552 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. Step 6 exit Example: RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)# exit Exits the current configuration mode. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 553 GigabitEthernet0/2/0/0.1 vfi vfi-1-1 neighbor 200.0.2.1 pw-id 1200001 mpls static label local 20001 remote 10001 neighbor 200.0.3.1 pw-id 1300001 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 554 Targeted LDP based VPLS bridge-domain bd-1-4 interface GigabitEthernet0/2/0/0.4 vfi vfi-1-4 neighbor 200.0.2.1 pw-id 1200004 neighbor 200.0.3.1 pw-id 1300004 neighbor 200.0.4.1 pw-id 1400004 evi <VPN-ID> L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 555 Global peering timer 3 seconds Global recovery timer 30 seconds Verify EVPN route-targets. RP/0/#show bgp rt l2vpn evpn Mon Feb 20 21:06:18.882 EST EXTCOMM IMP/EXP L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 556 Mon Feb 20 21:39:43.953 EST Topo ID Mac Address Prod Next Hop(s) -------- -------------- ------ ---------------------------------------- 0033.0000.0001 L2VPN 200.0.1.1/45106/ME 0033.0000.0002 L2VPN 200.0.1.1/45108/ME 0033.0000.0003 L2VPN 200.0.1.1/45110/ME 0033.0000.0004 L2VPN 200.0.1.1/45112/ME L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 557 - internal, r RIB-failure, S stale, N Nexthop-discard Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 558: Evpn Single-Active Multi-Homing

    PE1 and PE2. If PE1 is the designated forwarder for the EVI, PE1 forwards the ARP request from CE1. PE2 drops the traffic from CE1. Thereafter, all the unicast traffic is sent through PE1. PE2 will be L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 559: Configure Evpn Single-Active Multi-Homing

    19. Use the commit or end command. DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 evpn Example: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 560 RP/0/RSP0/CPU0:router(config-evpn)# interface Bundle-Ether1 Enters bundle interface configuration mode. Step 8 ethernet-segment Example: RP/0/RSP0/CPU0:router(config-evpn-ac)# ethernet-segment Enters the EVPN ethernet-segment configuration mode. Step 9 identifier type esi-type esi-identifier L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 561 RP/0/RSP0/CPU0:router(config-evpn-ac-es)# exit Exits the current configuration mode. Step 15 (Optional) mac-flush mvrp Example: RP/0/RSP0/CPU0:router(config-evpn-ac)# mac-flush mvrp Specifies MAC flush mode for this Ethernet Segment. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 562: Configure Evpn Service Instance (Evi) Parameters

    (Optional) route-target import { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } (Optional) route-target export { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } exit advertise-mac L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 563 Configures exporting of routes to the L2 EVPN BGP NLRIs and assigns the specified route-target identifiers to the BGP EVPN NLRIs. Step 8 exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 564: Configure Layer 2 Interface

    Example: RP/0/RSP0/CPU0:router(config)# interface bundle-ether2.1 l2transport Configures the bundle ethernet interface and enables Layer 2 transport mode on the bundle ethernet interface. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 565: Configure A Bridge Domain

    2. l2vpn 3. bridge group bridge-group-name 4. bridge-domain bridge-domain-name 5. interface Bundle-Ether bundle-id 6. evi ethernet vpn id 7. Use the commit or end command. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 566 • No - Exits the configuration session without committing the configuration changes. • Cancel - Remains in the configuration mode, without committing the configuration changes. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 567: Virtual Ethernet Segment (Ves)

    PE1 and PE2 through access VFI on a single Ethernet segment. DCI1 or DCI2 sends the traffic to PE1 and PE2. DCI1 and DCI2 advertise Type 4 routes, and then do designated forwarder (DF) election. The non-DF L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 568: Configure Virtual Ethernet Segment (Ves)

    /* Configure EVPN */ RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# evpn RP/0/RSP0/CPU0:router(config-evpn)# virtual neighbor 70.70.70.70 pw-id 17300001 RP/0/RSP0/CPU0:router(config-evpn-ac-pw)# ethernet-segment RP/0/RSP0/CPU0:router(config-evpn-ac-pw-es)# identifier type 0 12.12.00.00.00.01.00.00.03 RP/0/RSP0/CPU0:router(config-evpn-ac-pw-es)# bgp route-target 1212.8888.0003 RP/0/RSP0/CPU0:router(config-evpn-ac-pw-es)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 569: Running Configuration - Access Pw

    0 12.12.00.00.00.01.00.00.03 bgp route-target 1212.8888.0003 timers peering 15 /* On DCI2 */ configure l2vpn bridge group bg1 bridge-domain bd1 neighbor 70.70.70.70 pw-id 27300001 evi 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 570: Configure Access Vfi

    RP/0/RSP0/CPU0:router(config-evpn-ac-vfi-es)# commit /* Configure DCI2 */ RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# l2vpn RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group bg1 RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bd1 RP/0/RSP0/CPU0:router(config-bg-bd)# access-vfi ac-vfi-1 RP/0/RSP0/CPU0:router(config-bg-bd-accessvfi)# neighbor 70.70.70.70 pw-id 27100005 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 571: Running Configuration - Access Vfi

    70.70.70.70 pw-id 17100005 neighbor 80.80.80.80 pw-id 18100005 evi 1 member vni 10001 evpn virtual vfi ac-vfi-1 ethernet-segment identifier type 0 12.12.00.00.00.01.00.00.01 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 572 10.10.10.10 pw-id 17100005 neighbor 20.20.20.20 pw-id 27100005 neighbor 80.80.80.80 pw-id 78100005 /* On PE2 */ configure l2vpn bridge group bg71 bridge-domain bd71-1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 573: Evpn Anycast Gateway All-Active Static Pseudowire

    RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group bg1 RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bd1 RP/0/RSP0/CPU0:router(config-bg-bd)# neighbor 10.0.0.1 pw-id 17300001 RP/0/RSP0/CPU0:router(config-bg-bd-pw)# mpls static label local 1000 remote 2000 /* Configure EVPN */ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 574: Running Configuration

    0 14.14.00.00.00.01.00.00.03 /* On PE2 */ configure l2vpn bridge group bg1 bridge-domain bd1 neighbor 10.0.0.1 pw-id 17300001 mpls static label local 1000 remote 2000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 575: Verification

    Unknown unicast: enabled MAC aging time: 300 s, Type: inactivity MAC limit: 4000, Action: none, Notification: syslog MAC limit reached: no MAC port down flush: enabled L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 576 Encapsulation MPLS, protocol none Source address 10.0.0.1 PW type Ethernet, control word disabled, interworking none PW backup disable delay 0 sec Sequencing not set MPLS Local Remote L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 577 - Interface already Access Protected, - Interface forced single-homed, - BGP RID not received, - Interface in redundancy standby state, - ESI-extracted MAC Conflict L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 578 ------------------------ ---------------------------------- -------------------- 0014.1400.0000.0100.0003 PW:10.0.0.1,17300001 128.0.0.2 128.0.0.1 ES to BGP Gates : Ready ES to L2FIB Gates : Ready Virtual Access Name : PW_10.0.0.1_17300001 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 579: Cfm Support For Evpn

    EVPN Multiple Services per Ethernet Segment feature allows you to configure multiple services over single Ethernet Segment (ES). Instead of configuring multiple services over multiple ES, you can configure multiple services over a single ES. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 580: Configure Evpn Multiple Services Per Ethernet Segment

    Route(config)# l2vpn Router(config-l2vpn)# xconnect group xg22001 Router(config-l2vpn-xc)# p2p evpn-vpws-mclag-22001 Router(config-l2vpn-xc-p2p)# interface Bundle-Ether22001.11 Router(config-l2vpn-xc-p2p)# neighbor evpn evi 22101 target 220101 source 220301 Router(config-l2vpn-xc-p2p)# commit Router(config-l2vpn-xc-p2p)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 581: Running Configuration

    /* Configure EVPN-VPWS xconnect service and native EVPN with IRB */ interface Bundle-Ether22001.11 l2transport encapsulation dot1q 1 second-dot1q 11 rewrite ingress tag pop 2 symmetric L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 582 Unresolved: 0 Partially-programmed: 0 AC-PW: 505 AC-AC: 0 PW-PW: 0 Monitor-Session-PW: 0 Number of Admin Down segments: 0 Number of MP2MP xconnects: 0 Up 0 Down 0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 583: Associated Commands

    DCI gateway by stitching two MP-BGP control planes, one on the DC side, and the other on the MPLS WAN side. Following are the use cases of this feature: • Single Homing VXLAN L2 gateway L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 584: Single Homing Vxlan L2 Gw

    VXLAN. A total of four copies are created. Each copy is sent to one Nexus 9000 leaf node. Nexus 9000 leaf nodes that are configured as DFs forward the traffic to IP hosts on VMs. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 585: Anycast Vxlan L2 Gateway

    9000 nodes advertise inclusive multicast routes using VTEP5 IP address. Nexus 9000 leaf nodes discover only one VTEP hosted by two ASR 9000 nodes. Figure 82: Anycast VXLAN L2 Gateway L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 586: All-Active Multihoming Vxlan L2 Gateway

    VNI level. One half of the VNIs elect top PE as DF. The other half elect bottom PE. DF PE accepts traffic both from DC and WAN. Non-DF drops traffic from DC and WAN. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 587: Configure Evpn Vxlan Ingress Replication

    The Nexus 9000 leaf nodes forward traffic to an IP host. Configure EVPN VXLAN Ingress Replication Perform the following tasks to configure EVPN VXLAN Ingress Replication feature: • Configure DCI • Configure ToR L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 588 Router(config-bgp)# neighbor 192.168.0.2 -------> DCI BGP neighbour Router(config-bgp-nbr)# remote-as 100 Router(config-bgp-nbr)# update-source Loopback0 Router(config-bgp-nbr)# address-fmaily l2vpn evpn Router(config-bgp-nbr-af)# import stitching-rt reoriginate Router(config-bgp-nbr-af)# advertise l2vpn evpn re-originated stitching-rt Router(config-bgp-nbr-af)# commit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 589: Running Configuration

    Router(config-bgp-nbr)# update-source Loopback0 Router(config-bgp-nbr)# address-fmaily l2vpn evpn Router(config-bgp-nbr-af)# send-community extended Router(config-bgp-nbr-af)# commit Running Configuration /* DCI Configuration */ interface nve40 member vni 40002 host-reachability protocol bgp L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 590 200:40000 route-target export 200:40000 router bgp 200 bgp router-id 10.5.41.41 address-family l2vpn evpn maximum-paths 8 maximum-paths ibgp 8 neighbor 192.168.0.4 -----------> DCI neighbour: ebgp L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 591: Verification

    Source MAC : 0000.0000.0000 (N/A) Topology Operational : MH Configured : All-active (AApF) (default) Primary Services : Auto-selection Secondary Services: Auto-selection Service Carving Results: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 592 Label/VNI -------------------------------- ------ ---------- --------------- ---------- l2cp-ir:l2cp-40 0xfff01002 192.168.0.2 24004 ;; MPLS-side 192.168.0.3 24003 l2cp-ir:l2cp-40 0xfffc1805 10.5.41.41 40000 ;; VXLAN side 10.6.41.41 40000 ------------------------------------------------------------------------------------------ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 593: Evpn Routing Policy

    Ethernet segment (ES). They carry the list of EVIs that belong to the ES. The ESI field is set to zero when a CE is single-homed. An Ethernet A-D route type specific EVPN NLRI consists of the following fields: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 594 The host's IP and MAC addresses are advertised to the peers within NLRI. The control plane learning of MAC addresses reduces unknown unicast flooding. A MAC/IP Advertisement Route type specific EVPN NLRI consists of the following fields: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 595 PE to a remote PE. This route is advertised on per VLAN and per ESI basis. An Inclusive Multicast Ethernet Tag route type specific EVPN NLRI consists of the following fields: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 596 PE devices that are connected to the same Ethernet segment. An Ethernet Segment route type specific EVPN NLRI consists of the following fields: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 597 (00a1.a2a3.a4a5.a6a7.a8a9)] [and/or evpn-originator in (1.1.1.1)] then set .. endif end-policy Route Type 5: IP Prefix Route An IP Prefix Route type specific EVPN NLRI consists of the following fields: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 598: Evpn Rpl Attribute

    EVPN route type attribute consists of one octet. This specifies the EVPN route type. The EVPN route type attribute is used to identify a specific EVPN NLRI prefix format. It is a net attribute in all EVPN route types. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 599 VLAN. An EVPN instance consists of one or more broadcast domains. It is a net attribute in EVPN route type 1, 2, 3 and 5. Example etag in (10000) L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 600: Evpn Rpl Attribute Set

    The address is required, but the other three parts are optional. The prefix-set specifies one or more IP prefixes. Example prefix-set ip_prefix_set 14.2.0.0/16, 54.0.0.0/16, 12.12.12.0/24, 50:50::1:0/112 end-set L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 601: Evpn Attributes And Operators

    The etag-set specifies one or more Ethernet tags. Example etag-set evpn_etag_set 10000, 20000 end-set EVPN Attributes and Operators This table summarizes the EVPN attributes and operators per attach points. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 602: Configure Evpn Rpl Feature

    Router(config-rpl)# if mac in demo_mac_set then Router(config-rpl-if)# set med 200 Router(config-rpl-if)# else Router(config-rpl-else)# set med 1000 Router(config-rpl-else)# endif Router(config-rpl)# end-policy Router(config)# commit Router(config)# router bgp 100 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 603: Running Configuration

    /* Configuring a mac-set and refering it in a route-policy (Attach point - neighbor-in) */ mac-set demo_mac_set 1234.ffff.aaa3, 2323.4444.ffff end-set route-policy policy_use_pass_mac_set if mac in demo_mac_set then L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 604 5 then set extcommunity bandwidth (100:9999) else pass endif end-policy route-policy samp end-policy route-policy samp1 if rd in (30.0.101.2:0) then pass endif end-policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 605 2 then set next-hop 10.2.3.4 else pass endif end-policy route-policy test2 if evpn-route-type is 2 then set next-hop 10.10.10.10 else drop endif end-policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 606 (20000) then pass else drop endif end-policy route-policy samp27 if destination in (99.99.99.1) and etag in (20000) then pass else drop endif end-policy route-policy samp31 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 607 (6000.6000.6002) then pass else drop endif end-policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 608 1 and etag in evpn_etag_set1 then drop elseif evpn-route-type is 2 and mac in evpn_mac_set1 then L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 609 EVPN Features Running Configuration drop elseif evpn-route-type is 5 and esi in evpn_esi_set1 then drop else pass endif end-policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 610 EVPN Features Running Configuration L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 611: Configure Evpn Irb

    Layer 3 forwarding among hosts across different IP subnets, while maintaining the multi-homing capabilities of EVPN. Also, EVPN IRB feature enables EVPN hosts or subnets to communicate with IP VPNs. Figure 84: EVPN IRB L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 612: Evpn Single-Homing Access Evpn Gateway

    In remote peer gateway, these IP-MAC EVPN routes are imported into IP VPN routing table from EVPN route-type 2 routes with secondary label and Layer 3 VRF route-target. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 613: Evpn Irb Support

    • Layer 2 stretch within redundancy group of leafs with orphan ports MAC and IP Unicast Control Plane This use case has following types: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 614: Intra-Subnet Unicast Data Plane

    ARP adjacency towards the host. IP ECMP on the remote EVPN PEs is established through local and re-originated routes advertised from the local EVPN PEs. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 615: Vm Mobility Support

    /* Note: When a VM migrates from one subnet to another (subnet stretching), apply the following IRB configuration to both the EVPN PEs. *\ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 616: Running Configuration For Evpn Irb

    RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group irb RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain irb1 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# interface bundle-Ether3.1001 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)# routed interface BVI100 RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-bvi)# split-horizon group core RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-bvi)# evi 10001 Running Configuration for EVPN IRB L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 617 /* Configure EVPN. */ evpn evi 10001 route-target import 1000:1 route-target export 1000:1 advertise-mac unknown-unicast-suppression /* Configure Layer2 VPN. */ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 618: Verify Evpn Irb

    Flags: incomplete adj, Additional Adjacency Information (4 bytes long), Upto first 4 bytes (in hex): 01000000 Netio idb pointer not cached Cached interface type: 78 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 619 Opaque Data Len Opaque Data Value ------- ----------- ---------- ---- ---------- ------ ----- ---------------- --------------- ----------------- 0022.6730.0001 10.130.0.2 L2VPN Bundle-Ether6.1300 SB 0 12 0x06000000 0x22000080 0x00000000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 620 172.16.0.2/24014/ME Verify entries to obtain details of EVPN. RP/0/RSP0/CPU0:router# show evpn evi vpn-id 1 mac ipv4 10.1.1.93 detail MAC address IP address Nexthop Label L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 621 Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.2:1 RP/0/RSP0/CPU0:router# show bgp l2vpn evpn rd 172.16.0.1:1 [2][0][48][0000.f65a.357c][128][10:1:1::93]/232 [2][0][48][0000.f65a.357c][128][10:1:1::93]/232 BGP routing table entry for [2][0][48][0000.f65a.357c][128][10:1:1::93]/232, Route L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 622 Received Path ID 0, Local Path ID 0, version 16712 Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100 Originator: 172.16.0.1, Cluster list: 172.16.0.9 EVPN ESI: 0100.6cbc.a77c.c180.0000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 623 Verify the remote peer gateway with host routes of IPv4 /32 addresses imported into the IP VRF routing table. RP/0/RSP0/CPU0:router# show bgp vpnv4 unicast vrf evpn1 10.1.1.93/32 BGP routing table entry for 10.1.1.93/32, Route Distinguisher: 172.16.0.7:11 Versions: L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 624 Extended community: SoO:172.16.0.2:1 RT:100:1 RT:100:100 Originator: 172.16.0.1, Cluster list: 172.16.0.9 Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 172.16.0.1:1 >>>> Source from >>>> L2VPN and from L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 625 RP/0/RSP0/CPU0:PE11-R1#show route vrf evpn1 10.1.1.93 Routing entry for 10.1.1.93/32 Known via "bgp 3107", distance 200, metric 0, type internal Installed Feb 28 15:57:28.154 for 2d20h L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 626 100.0.67.6/32 Te0/0/0/1 labels imposed {ImplNull 24010 24031} The following sections describe how to verify the subnet stretching. Verify the VRF. RP/0/RP0/CPU0:leafW# show run vrf cust130 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 627: Evpn Ipv6 Hosts With Mobility

    For 6PE, the labels are allocated per IPv6 prefix learnt from connected customer edge (CE) routers and for 6VPE, the PE router can be configured to allocate labels on a per-prefix or per-CE and per-VRF level. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 628: Configure Evpn Ipv6 Hosts With Mobility

    Perform the following tasks to configure EVPN IPv6 Hosts with Mobility feature: • Configure VRF • Configure ISIS • Configure BGP • Configure AC interface • Configure BVI interface • Configure EVPN • Configure L2VPN L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 629 Route(config-isis-if)# passive Route(config-isis-if)# address-family ipv4 unicast Route(config-isis-af)# exit Route(config-isis)# interface loopback10 Route(config-isis-if)# passive Route(config-isis-if)# address-family ipv4 unicast Route(config-isis-af)# prefix-sid index 1605 Route(config-isis-af)# commit Route(config-isis-af)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 630 Router(config-bgp-nbr-af)# advertise vpnv4 unicast re-originated -> For Route Type 5 Router(config-bgp-nbr-af)# advertise vpnv6 unicast re-originated -> For Route Type 5 Router(config-bgp-nbr-af)# exit Router(config-bgp)# neighbor 160.0.0.1 Router(config-bgp-nbr)# use neighbor-group evpn-rr L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 631 Router# configure Router(config)# evpn Router(config-evpn)# evi 102 Router(config-evpn-evi)# bgp Router(config-evpn-evi)# rd 1605:102 Router(config-evpn-evi-bgp)# route-target import 160102:102 Router(config-evpn-evi-bgp)# route-target export 160102:102 Router(config-evpn-evi-bgp)# exit Router(config-evpn-evi)# advertise-mac L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 632: Running Configuration

    160102:16102 export route-target 160102:16102 address-family ipv6 unicast import route-target 6160102:16102 export route-target 6160102:16102 / * Configure ISIS */ router isis v6 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 633 ---> ECMP redistribute connected --> V4 Global VRF address-family vpnv4 unicast ---> VRF vrf all label mode per-vrf address-family ipv6 unicast ---> For 6PE L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 634 102 rewrite ingress tag pop 1 symmetric /* Configure BVI interface */ interface BVI100 ipv4 address 56.78.100.1 255.255.255.0 ipv6 address 56:78:100::1/64 mac-address 22.22.22 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 635 /* Configure L2VPN */ l2vpn bridge group bg102 bridge-domain bd102 interface Bundle-Ether1.102 interface Bundle-Ether2.102 interface Bundle-Ether3.102 interface Bundle-Ether4.102 interface Bundle-Ether5.102 routed interface BVI102 evi 102 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 636: Verification

    Received Path ID 0, Local Path ID 0, version 9 mac: 10:11:04:64:f2:7f /* Verify Ethernet Segments are peering for Dual homing */ Router# show evpn ethernet-segment int bundle-Ether 1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 637 EVI E : 184, 186, 188, 190, 192, 194, EVI E : 196, 198, 200, 202, 204, 206, EVI E : 208, 210, 212, 214, 216, 218, L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 638: Evpn Irb: Dhcpv4 And Dhcpv6 Relay

    When the relay information option, relay information option vpn, relay information option von-mode cisco and relay information option von-mode rfc commands are configured on the DHCP relay L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 639: Configuration

    Router(config-dhcpv4-relay-profile)# helper-address vrf default 10.20.20.20 giaddr 192.0.2.1 Router(config-dhcpv4-relay-profile)# relay information option vpn Router(config-dhcpv4-relay-profile)# relay information option vpn-mode rfc Router(config-dhcpv4-relay-profile)# exit Router(config-dhcpv4)# exit Router(config)# interface BVI1 relay profile DHCPv4_RELAY L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 640 DHCPv4_RELAY relay helper-address vrf default 10.20.20.20 giaddr 192.0.2.1 relay information option vpn relay information option vpn-mode cisco interface BVI1 relay profile DHCPv4_RELAY L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 641 Thu Feb 15 21:44:31.550 IST dhcp ipv4 profile TEST relay helper-address vrf default 10.11.11.3 relay information option vpn relay information option vpn-mode rfc interface GigabitEthernet0/1/0/0 relay profile TEST L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 642 DHCP IPv4 Relay Statistics for VRF default: TYPE RECEIVE TRANSMIT DROP ------------------------------------------------------------------- DISCOVER OFFER REQUEST DECLINE RELEASE INFORM LEASEQUERY LEASEUNASSIGNED LEASEUNKNOWN LEASEACTIVE BOOTP-REQUEST BOOTP-REPLY BOOTP-INVALID L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 643 DHCP IPv6 Relay Statistics for VRF default: TYPE RECEIVE TRANSMIT DROP ------------------------------------------------------------------- SOLICIT ADVERTISE REQUEST REPLY CONFIRM DECLINE RENEW REBIND RELEASE RECONFIG INFORM RELAY_FWD RELAY_REP LEASEQUERY LEASEQUERY_REP LEASEQUERY_DONE LEASEQUERY_DATA L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 644 Configure EVPN IRB Configuration L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 645: L2Vpn Services Over Segment Routing For Traffic Engineering Policy

    EVPN VPWS On-Demand Next Hop with SR-TE, on page 650 • Overview of Segment Routing , on page 665 • How Segment Routing Works , on page 666 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 646: Evpn Vpws Preferred Path Over Sr-Te Policy

    To disable EVPN dual homing, configure bundle-Ether AC with ESI value set to zero. evpn interface Bundle-Ether12 ethernet-segment identifier type 0 00.00.00.00.00.00.00.00.00 /* Or globally */ Evpn ethernet-segment type 1 auto-generation-disable L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 647: Configure Evpn Vpws Preferred Path Over Sr-Te Policy

    • Configure VPWS pseudowire headend over SR-TE policy Configure Prefix-SID in ISIS Configure Prefix-SID on PE1, P1, P2, and PE3. /* Configure Prefix-SID on PE1 */ Router# configure Router(config)# segment-routing L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 648 /* Configure Prefix-SID on P2 */ Router# configure Router(config)# segment-routing Router(config-sr)# global-block 180000 200000 Router(config-sr)# exit Router# configure Route(config)# router isis core Route(config-isis)# is-type level-2-only Route(config-isis)# net 49.0002.0330.2000.0022.00 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 649: Configure Adjacency-Sid In Isis

    Router# configure Route(config)# router isis core Route(config-isis)# interface Bundle-Ether121 Route(config-isis-if)# circuit-type level-2-only Route(config-isis-if)# point-to-point Route(config-isis-if)# hello-padding disable Route(config-isis-if)# address-family ipv4 unicast Route(config-isis-if-af)# adjacency-sid absolute 15101 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 650 Route(config-isis-if-af)# metric 20 Route(config-isis-if-af)# adjacency-sid absolute 15201 Route(config-isis-if-af)# exit Router# configure Route(config)# router isis core Route(config-isis)# interface TenGigE0/0/0/5 Route(config-isis-if)# circuit-type level-2-only Route(config-isis-if)# point-to-point Route(config-isis-if)# hello-padding disable L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 651: Configure Segment-List

    /* Configure Segment-list on PE1 using adjacency-SID */ Router# configure Router(config)# segment-routing Router(config-sr)# local-block 15000 15999 Router(config-sr)# traffic-eng Router(config-sr-te)# logging Router(config-sr-te-log)# policy status Router(config-sr-te-log)# exit Router# configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 652: Configure Sr-Te Policy

    Router(config-sr-te-policy)# preference 200 Router(config-sr-te-pp-info)# explicit segment-list PE1-PE3-P1-t0016 Router(config-sr-te-pp-info)# exit Router(config-sr-te-policy)# preference 700 <----------largest number takes the precendence Router(config-sr-te-pp-info)# explicit segment-list PE1-P1 Router(config-sr-te-pp-info)# commit Router(config-sr-te-pp-info)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 653: Configure Evpn Vpws Over Sr-Te Policy

    Router(config-gen-if-list)# interface TenGigE0/1/0/6/2 Router(config-gen-if-list)# exit Router(config)# l2vpn Router(config-l2vpn)# pw-class pw1003 Router(config-l2vpn-pwc)# encapsulation mpls Router(config-l2vpn-pwc-mpls)# transport-mode ethernet Router(config-l2vpn-pwc-mpls)# preferred-path sr-te policy 1003 fallback disable Router(config-l2vpn-pwc-mpls)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 654: Running Configuration

    2 mpls traffic-eng level-2-only mpls traffic-eng router-id Loopback0 segment-routing mpls sr-prefer segment-routing prefix-sid-map advertise-local interface Loopback0 address-family ipv4 unicast prefix-sid index 180015 configure segment-routing L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 655 15101 interface TenGigE0/0/1/6 circuit-type level-2-only point-to-point hello-padding disable address-family ipv4 unicast adjacency-sid absolute 15102 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 656 15201 PE3: configure segment-routing local-block 15000 15999 router isis core interface TenGigE0/0/0/1 circuit-type level-2-only point-to-point hello-padding disable address-family ipv4 unicast adjacency-sid absolute 15301 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 657 /* You can configure multiple preferences for an SR policy. Among the configured preferences, the largest number takes the highest precedence */ segment-routing traffic-eng L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 658: Verify Evpn Vpws Preferred Path Over Sr-Te Policy Configuration

    PE1#show segment-routing traffic-eng forwarding policy name pref_sid_to_PE3 detail Policy Segment Outgoing Outgoing Next Hop Bytes Name List Label Interface Switched ------------- --------------- ----------- ------------------- --------------- ------------ pref_sid_to_PE3 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 659 : enabled PW HE interface : PE3001 Outgoing Interface: evpn_to_PE5_3001 (ifhandle 0x0000fc20) PE1# show l2vpn forwarding main-port pwhe location 0/2/CPU0 PWHE-MP Interface: PW-Ether3001 ifhandle: 0x000101e0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 660: Associated Commands

    This is because, when the SR policy is deleted, the PW too gets deleted and the statistics information associated with the old PW is cleared. The counter restarts from zero when the new PW is created after the switch takes place. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 661: Configure L2Vpn Vpls Or Vpws Preferred Path Over Sr-Te Policy

    Route(config-isis)# is-type level-2-only Route(config-isis)# net 49.0002.0330.2000.0031.00 Route(config-isis)# nsr Route(config-isis)# nsf ietf Route(config-isis)# log adjacency changes Route(config-isis)# address-family ipv4 unicast Route(config-isis-af)# metric-style wide level 2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 662: Configure Adjacency-Sid In Isis

    Route(config-isis-af)# prefix-sid index 16300 Route(config-isis-af)# commit Route(config-isis-af)# exit Configure Adjacency-SID in ISIS Configure Adjacency-SID on PE1, PE2, and PE3. /* Configure Adjacency-SID on PE1 */ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 663 Route(config)# router isis core Route(config-isis)# interface TenGigE0/0/0/7 Route(config-isis-if)# circuit-type level-2-only Route(config-isis-if)# point-to-point Route(config-isis-if)# hello-padding disable Route(config-isis-if)# address-family ipv4 unicast Route(config-isis-if-af)# adjacency-sid absolute 15202 Route(config-isis-if-af)# commit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 664: Configure Segment-List

    Router(config-sr-te-sl)# index 1 mpls label 16300 Router(config-sr-te-sl)# index 2 mpls label 16200 Router(config-sr-te-sl)# exit Router(config-sr-te)# segment-list segment-list name PE1-PE2_BE121 Router(config-sr-te-sl)# index 1 mpls label 15100 Router(config-sr-te-sl)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 665: Configure Sr-Te Policy

    Router(config-sr-te-policy)# color 1 end-point ipv4 2.2.2.2 Router(config-sr-te-policy)# candidate-paths Router(config-sr-te-policy)# preference 400 Router(config-sr-te-pp-info)# explicit segment-list PE1-PE3-PE2 Router(config-sr-te-pp-info)# exit Router(config-sr-te-policy)# preference 500 <-----------------largest number takes the precedence Router(config-sr-te-pp-info)# explicit segment-list PE1-PE2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 666: Configure Vpls Over Sr-Te Policy

    L2VPN PW will be down when the SR-policy is down. Preferred-path is the action of pinning down a PW to a SR TE policy */ L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 667: Configure Vpws Over Sr-Te Policy

    Router(config)# generic-interface-list 1 Router(config-gen-if-list)# interface Bundle-Ether1 Router(config-gen-if-list)# interface TenGigE0/1/0/6/1 Router(config-gen-if-list)# interface TenGigE0/1/0/6/2 Router(config-gen-if-list)# exit Router(config)# l2vpn Router(config-l2vpn)# pw-class pw1003 Router(config-l2vpn-pwc)# encapsulation mpls Router(config-l2vpn-pwc-mpls)# transport-mode ethernet L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 668: Running Configuration

    49.0002.0330.2000.3030.0030.0035.00 address-family ipv4 unicast metric-style wide level 2 mpls traffic-eng level-2-only mpls traffic-eng router-id Loopback0 segment-routing mpls sr-prefer segment-routing prefix-sid-map advertise-local L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 669 15202 PE3: router isis core interface TenGigE0/0/0/1 circuit-type level-2-only point-to-point hello-padding disable address-family ipv4 unicast adjacency-sid absolute 15301 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 670 16000 23999 local-block 15000 15999 traffic-eng segment-list name PE3-PE1 index 1 mpls label 16100 segment-list name PE3-PE2-PE1 index 1 mpls label 16200 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 671 Bundle-Ether41.501 interface TenGigE0/0/1/0.501 split-horizon group vfi vpls1 neighbor 2.2.2.2 pw-id 501 pw-class pw100 neighbor 3.3.3.3 pw-id 501 /*Configure VPWS over SR-TE policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 672: Verify L2Vpn Vpls Or Vpws Preferred Path Over Sr-Te Policy Configuration

    Adj SID: 65051 (unprotected) 15100 (unprotected) Adj SID: 41516 (unprotected) 15301 (unprotected) Adj SID: 41519 (unprotected) 15302 (unprotected) Adj SID: 46660 (unprotected) 15201 (unprotected) L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 673 Inactive Reason: unresolved first label Weight: 0, Metric Type: IGP Attributes: Binding SID: 27525 Allocation mode: dynamic State: Programmed Policy selected: yes Forward Class: 0 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 674 (router alert label) (TTL expiry) (TTL expiry) ------------ ------------------------------ ------------------------- Incoming Status (PW Status TLV): Status code: 0x0 (Up) in Notification message MIB cpwVcIndex: 2684362965 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 675 Preferred path Active : SR TE 1013, Statically configured, fallback disabled Tunnel : Up PW Status TLV in use MPLS Local Remote ------------ ------------------------------ ----------------------------- Label 55510 25363 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 676: Associated Commands

    PCC to update and modify parameters of LSPs it controls. It also enables a PCC to allow the PCE to initiate computations and to perform network-wide orchestration. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 677: Configure Evpn Vpws On Demand Next Hop With Sr-Te

    SR-TE in the core. The PCE, which is configured on the P router, calculates the best path from PE1 to PE2. Path computation client (PCC) is configured on PE1 and PE2. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 678: Configure Prefix-Sid In Isis

    Route(config-isis)# distribute link-state Route(config-isis)# nsf cisco Route(config-isis)# address-family ipv4 unicast Route(config-isis-af)# metric-style wide Route(config-isis-af)# mpls traffic-eng level-1 Route(config-isis-af)# mpls traffic-eng router-id loopback0 Route(config-isis-af)# segment-routing mpls L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 679: Configure Sr-Te

    Route(config-isis-if-af)# fast-reroute per-prefix ti-lfa Route(config-isis-if-af)# commit Configure SR-TE Configure SR-TE for P and PE routers. /Configure SR-TE on PE1 */ Router# configure Router(config)# segment-routing Router(config-sr)# traffic-eng L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 680: Configure Pce And Pcc

    Router(config-sr-te-pcc)# source-address ipv4 205.1.0.1 Router(config-sr-te-pcc)# pce address ipv4 205.2.0.2 Router(config-sr-te-pcc)# commit /* Configure PCE on P router */ Router# configure Router(config)# segment-routing Router(config-sr)# traffic-eng L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 681: Configure Sr Color

    EVPN route. The "rd" refers to the address of the PE and acts as Ethernet virtual interconnect for the L2 service. /* Configure EVPN route policy on PE1 */ Router# configure Router(config)# route-policy evpn_odn_policy L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 682: Configure Bgp

    /* Configure BGP on PE2 */ Router# configure Router(config)# router bgp 100 Routerconfig-bgp)# bgp router-id 205.3.0.3 Routerconfig-bgp)# bgp graceful-restart Router(config-bgp)# address-family l2vpn evpn Router(config-bgp-af)# exit Router(config-bgp)# neighbor 205.1.0.1 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 683: Configure Evpn Vpws

    Figure 89: VPWS with Pseudowire Headend Router# configure Router(config)# generic-interface-list ifl Router(config-gen-if-list)# interface HundredGigE0/0/0/0 Router(config-gen-if-list)# exit Router(config)# interface PW-Ether18 Router(config-if)# attach generic-interface-list ifl Router(config-gen-if-list)# exit L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 684: Running Configuration

    Loopback0 address-family ipv4 unicast prefix-sid index 30101 interface HundredGigE0/0/0/0 circuit-type level-1 point-to-point hello-padding disable address-family ipv4 unicast fast-reroute per-prefix fast-reroute per-prefix ti-lfa L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 685 Loopback0 address-family ipv4 unicast prefix-sid index 30103 interface HundredGigE0/0/0/1 circuit-type level-1 point-to-point hello-padding disable address-family ipv4 unicast fast-reroute per-prefix fast-reroute per-prefix ti-lfa L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 686 13 dynamic mpls /* Configure PCE and PCC */ PE1: configure segment-routing traffic-eng source-address ipv4 205.1.0.1 pce address ipv4 205.2.0.2 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 687 /* Configure EVPN route policy */ PE1: configure route-policy evpn_odn_policy if rd in (205.3.0.3:2) then set extcommunity color color1 set next-hop 205.3.0.3 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 688 205.1.0.1 remote-as 100 update-source Loopback0 address-family l2vpn evpn route-policy evpn_odn_policy in /* Configure EVPN VPWS */ PE1: configure L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 689 Verify EVPN VPWS On Demand Next Hop with SR-TE Configuration Verify if SR-TE policy is auto-provisioned for each L2 service configured on EVPN ODN. PE1# show segment-routing traffic-eng policy SR-TE policy database L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 690 Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 205.1.0.1:2 (default for vrf VPWS:2) *>i[1][0000.0000.0000.0000.0000][1]/120 205.3.0.3 T:bgp_AP_1 100 0 i PE1# show evpn evi ead detail L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 691: Related Topics

    Segment routing utilizes the network bandwidth more effectively than traditional MPLS networks and offers lower latency. A segment is encoded as an MPLS label. An ordered L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 692: How Segment Routing Works

    SID is a link between two routers. Since the adjacency SID is relative to a specific router, it is locally unique. A node segment can be a multi-hop path while an adjacency segment is a one-hop path. L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 693: Segment Routing Global Block

    SID value associated to an IGP Prefix Segment can change from node to node. The SRGB default value is 16000 to 23999. The SRGB can be configured as follows: Router(config)# router isis 1 Router(config-isis)#segment-routing global-block 45000 55000 L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...
  • Page 694 L2VPN Services over Segment Routing for Traffic Engineering Policy Segment Routing Global Block L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x...

Table of Contents

Save PDF