The (Unofficial) CCNP-SP Study Guide
  • About
    • About the Author
    • About This Study Guide
  • MPLS
    • LDP
      • LDP Transport Address
      • LDP Conditional Advertisement
      • LDP Authentication
      • LDP/IGP Sync
      • LDP Session Protection
    • MPLS-TE
      • MPLS-TE Basics, Pt. 1 (TED)
      • MPLS-TE Basics, Pt.2 (RSVP)
      • MPLS-TE Basics, Pt.3 (CSPF)
      • MPLS-TE Basics, Pt.4 (Routing)
      • MPLS-TE Fast Reroute (FRR)
      • MPLS-TE with OSPF
    • Unified MPLS
    • Segment Routing
      • Introduction, Theory Pt.1
      • Introduction, Lab (OSPF) Pt.2
      • Introduction, Lab (ISIS) Pt. 3
      • Multi-Area/Level Segment Routing
      • Segment Routing using BGP
      • Migrating LDP to SR
      • LDP/SR Interworking
      • TI-LFA Pt. 1 (Theory)
      • TI-LFA Pt. 2 (Implementation)
      • TI-LFA Pt. 3 (Node and SRLG Protection)
      • SR-TE Pt. 1 (Overview)
      • SR-TE Pt. 2 (Creating an SR-TE Policy)
      • SR-TE Pt. 3 (Using a PCE)
      • SR-TE Pt. 4 (Automated Steering)
      • SR-TE Pt. 5 (On-Demand Nexthop)
      • SR-TE Pt. 6 (Flex Algo)
    • MPLS OAM
      • Classic Traceroute Behavior in MPLS Networks
      • LSP Ping
      • LSP Traceroute
  • Routing
    • BGP
      • BGP Synchronization
      • BGP Load Sharing (Multipath)
      • An Intuitive Look at Path Attributes
      • AS Path Prepending on XE and XR
      • RPL
    • BGP Security
      • BGP TTL Security, Pt. 1
      • BGP TTL Security, Pt. 2 (IOS-XE)
      • BGP TTL Security, Pt. 3 (IOS-XR)
      • BGP MD5 Authentication
      • BGP Maximum Prefixes
      • BGP RFD (Route Flap Dampening)
      • RTBH
      • Flowspec
      • BGPsec
    • L3VPN
      • An In-Depth Look at RD and RT, Pt. 1
      • An In-Depth Look at RD and RT, Pt. 2
      • An In-Depth Look at RD and RT, Pt. 3
      • An In-Depth Look at RD and RT, Pt. 4
      • Inter-AS L3VPN Pt. 1, Overview
      • Inter-AS L3VPN Pt. 2, Option A
      • Inter-AS L3VPN Pt. 3, Option B
      • Inter-AS L3VPN Pt. 4, Option C
      • CSC (Carrier Supporting Carrier)
      • PE NAT
    • OSPF
      • Type 7 to Type 5 Translation
      • OSPF Authentication
      • Troubleshooting OSPF Adjacencies
      • OSPFv3 LSA Types
      • OSPFv3 LSAs Example (Single Area)
    • ISIS
      • The Potential for Asymmetric Routing with Multi-Area ISIS
      • Interarea Routing is Distance-Vector
      • Basic ISIS - LSPDB
      • Multitopology
      • What is the role of CLNS and CLNP in ISIS?
      • Troubleshooting ISIS Adjacencies
    • IPv6 Transition
      • Overview
      • NAT64
      • 6to4
      • 6RD (IPv6 Rapid Deployment)
      • DS Lite (Dual Stack Lite)
      • MAP (Mapping of Address and Port)
      • Tunneling IPv6 Dynamic Routing Protocols over IPv4
    • Multicast
      • Introduction
      • IP and MAC Addressing
      • Tree Formation and Packet Forwarding
      • IGMP
      • PIM-DM (Dense Mode)
      • PIM-SM (Sparse Mode)
      • PIM-SM SPT Switchover
      • PIM-SM Tunnel Interfaces
      • PIM DR and the Assert Message
      • PIM-SM RP Discovery
      • PIM-BiDir
      • PIM-SSM (Source-Specific Multicast)
      • Interdomain Multicast (PIM-SM)
      • IPv6 Multicast
      • mVPN Introduction
      • mVPN Profile 0
      • mVPN Profile 1
      • Multicast Routing on IOS-XR
  • L2VPN & Ethernet
    • IOS-XE Ethernet Services
      • Service Instances
      • E-Line
      • E-LAN (VPLS)
      • E-Tree
      • E-Access
      • VPLS with BGP Autodiscovery
      • Martini/Kompella Circuits
    • EVPN
      • Introduction to EVPN
      • Learning EVPN VXLAN First
      • E-Line (EVPN VPWS)
      • E-Line (EVPN VPWS) on IOS-XR
      • E-Line (EVPN VPWS) Multi-Homed
      • E-LAN (EVPN Single-Homed)
    • Carrier Ethernet
      • 802.1ah (MAC-in-MAC)
      • 802.3ah (Ethernet OAM)
      • 802.1ag (CFM)
      • Cisco REP (Resilient Ethernet Protocol)
      • ITU G.8032 ERPS (Ethernet Ring Protection Switching)
  • Security
    • CoPP (Control Plane Policing)
    • LPTS (Local Packet Transport Services)
  • Misc
    • QoS
      • QoS Introduction (Part 1)
      • QoS Tools Overview and QoS Models (Part 2)
      • QoS Classification and Marking (Part 3)
      • QoS Queuing/Congestion Management (Part 4)
      • QoS Shaping and Policing (Part 5)
      • QoS for IPv6
      • MPLS QoS Basics
      • MPLS QoS Modes
      • MPLS TE QoS (DS-TE)
      • MPLS TE CBTS/PBTS
    • Automation and Assurance
      • NSO
      • NSO Command Cheat Sheet
      • Intro to YANG/NETCONF
      • YANG In-Depth
      • NETCONF In-Depth
      • RESTCONF
      • Model-Driven Telemetry
      • Automation Tool Comparison
      • Netflow
      • SNMP
    • Virtualization
      • NFV (Network Function Virtualization)
      • OpenStack
    • Transport
      • xPON
      • SONET/SDH
      • WDM
      • 4G and 5G RAN
    • High Availability (HA)
      • NSF/GR
      • NSR
      • NSF/NSR Whitepapers
      • BFD
      • Link Aggregation on IOS-XE
      • Link Aggregation on IOS-XR
    • IOS Software Overview
  • Labs
    • Lab Challenges
      • How to Use These Labs
      • Basic LDP
      • Advanced LDP
      • BGP Security
      • Unified MPLS
      • BGP Fundamentals
      • Ethernet Services
      • L3VPN Extranet
      • Multicast
      • Inter-area OSPF
      • ISIS
      • MPLS-TE
      • Control Plane Policing
      • QoS
Powered by GitBook
On this page
  1. L2VPN & Ethernet
  2. EVPN

E-Line (EVPN VPWS) on IOS-XR

This is a short article on configuring EVPN VPWS on IOS-XR.

The configuration is very similar to IOS-XE with a local and remote target value which is used in the type 1 route as the ethernet tag ID

RP/0/RP0/CPU0:R1#show run int gi0/0/0/0
Thu Oct  6 15:25:32.710 UTC
interface GigabitEthernet0/0/0/0
 l2transport

RP/0/RP0/CPU0:R1#show run l2vpn
Thu Oct  6 15:25:08.519 UTC
l2vpn
 xconnect group evpn-vpws
  p2p evpn1
   interface GigabitEthernet0/0/0/0
   neighbor evpn evi 100 target 12 source 10
RP/0/RP0/CPU0:R3#show run int gi0/0/0/0
Thu Oct  6 15:25:42.775 UTC
interface GigabitEthernet0/0/0/0
 l2transport

RP/0/RP0/CPU0:R3#show run l2vpn
Thu Oct  6 15:25:21.290 UTC
l2vpn
 xconnect group evpn-vpws
  p2p evpn1
   interface GigabitEthernet0/0/0/0
   neighbor evpn evi 100 target 10 source 12

The default RT value is <ASN>:<evi> on IOS-XR just like IOS-XE. (The screenshot below uses ASN 100 and EVI 100).

Additionally, IOS-XR advertises a second extcommunity which is used to signal the MTU:

Differing MTUs on each PE does bring down the xconnect on IOS-XR:

#R3
int Gi0/0/0/0
 mtu 1400

#R1
RP/0/RP0/CPU0:R1#show l2vpn xconnect detail
Thu Oct  6 15:31:20.634 UTC

Group evpn-vpws, XC evpn1, state is down; Interworking none
  AC: GigabitEthernet0/0/0/0, state is up
    Type Ethernet
    MTU 1500; XC ID 0x2; interworking none
    Statistics:
      packets: received 130, sent 134
      bytes: received 15160, sent 15115
  EVPN: neighbor 3.3.3.3, PW ID: evi 100, ac-id 12, state is down ( all ready )
    XC ID 0xa0000003
    Encapsulation MPLS
    Source address 1.1.1.1
    Encap type Ethernet, control word disabled
    Sequencing not set
    Ignore MTU mismatch: Disabled
    Transmit MTU zero: Disabled
    LSP : Up

      EVPN         Local                          Remote                        
      ------------ ------------------------------ -----------------------------
      Label        24000                          24000                         
      MTU          1500                           1386                          
      Control word disabled                       disabled                      
      AC ID        10                             12                            
      EVPN type    Ethernet                       Ethernet                      

      ------------ ------------------------------ -----------------------------
    Create time: 06/10/2022 15:11:31 (00:19:48 ago)
    Last time status changed: 06/10/2022 15:31:17 (00:00:02 ago)
    Last time PW went down: 06/10/2022 15:31:17 (00:00:02 ago)
    Error: MTU mismatched
    Statistics:
      packets: received 134, sent 130
      bytes: received 15115, sent 15160

IOS-XR implementation of EVPN VPWS seems to resemble the LDP xconnect.

To get the equivalent of IOS-XE EVPN VPWS with no MTU checking, you would need to implement bridging instead of VPWS. We will cover bridging (E-LAN) in a subsequent article. Unfortunately you cannot commit a l2vpn bridge config on XRv9k so we can only lab this with IOS-XE.

evpn
 evi 100
!
l2vpn bridge group evpn
 bridge-domain evpn1
  int Gi0/0/0/0
  evi 100

Further Reading

PreviousE-Line (EVPN VPWS)NextE-Line (EVPN VPWS) Multi-Homed

Last updated 2 years ago

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/vpn/66x/b-l2vpn-cg-ncs5500-66x/b-l2vpn-cg-ncs5500-66x_chapter_01011.html
https://xrdocs.io/design/blogs/2019-02-02-modernizing-ixp-design/#p2p-peer-interconnect-using-evpn-vpws