Simplified Networking
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto

xconnect on IOS and IOS XR

Picture
We’ll configure XR12 to peer with CSR1. The data plane does not work due to XRs inability to switch the traffic at layer 2. We’ll just focus on the peering and verification of the label bindings.

​CSR1
xconnect 192.0.2.12 2 encapsulation mpls
 
%LDP-5-NBRCHG: LDP Neighbor 192.0.2.12:0 (3) is UP
 
XR12
interface GigabitEthernet0/0/0/2
 no shutdown
 l2transport
 !
!
l2vpn
 xconnect group P2P
  p2p xconnect
   interface GigabitEthernet0/0/0/2
   neighbor ipv4 192.0.2.1 pw-id 2
   !
 
%ROUTING-LDP-5-NBR_CHANGE : VRF 'default' (0x60000000), Neighbor 192.0.2.1:0 is UP (IPv4 connection)
 
CSR1#show xconnect all
Legend:    XC ST=Xconnect State  S1=Segment1 State  S2=Segment2 State
  UP=Up       DN=Down            AD=Admin Down      IA=Inactive
  SB=Standby  HS=Hot Standby     RV=Recovering      NH=No Hardware
 
XC ST  Segment 1                         S1 Segment 2                         S2
------+---------------------------------+--+---------------------------------+--
UP pri   ac Gi3:9(Ethernet)              UP mpls 192.0.2.12:2                 UP
 
RP/0/0/CPU0:XR12#show l2vpn xconnect
Sun Sep  1 23:24:00.601 UTC
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
        SB = Standby, SR = Standby Ready, (PP) = Partially Programmed
 
XConnect                   Segment 1                       Segment 2               
Group      Name       ST   Description            ST       Description            ST   
------------------------   -----------------------------   -----------------------------
P2P        xconnect   UP   Gi0/0/0/2              UP       192.0.2.1       2      UP   
----------------------------------------------------------------------------------------
 
Initially we see the peering come online and that both ends of the connection are operational from a control plane perspective.
 
CSR1#show xconnect peer 192.0.2.12 vcid 2 detail
Legend:    XC ST=Xconnect State  S1=Segment1 State  S2=Segment2 State
  UP=Up       DN=Down            AD=Admin Down      IA=Inactive
  SB=Standby  HS=Hot Standby     RV=Recovering      NH=No Hardware
 
XC ST  Segment 1                         S1 Segment 2                         S2
------+---------------------------------+--+---------------------------------+--
UP pri   ac Gi3:9(Ethernet)              UP mpls 192.0.2.12:2                 UP
            Interworking: none                   Local VC label 68             
                                                 Remote VC label 24030         
 
RP/0/0/CPU0:XR12#show l2vpn xconnect detail
Sun Sep  1 23:25:26.536 UTC
 
Group P2P, XC xconnect, state is up; Interworking none
  AC: GigabitEthernet0/0/0/2, state is up
    Type Ethernet
    MTU 1500; XC ID 0x1; interworking none
    Statistics:
      packets: received 0, sent 0
      bytes: received 0, sent 0
  PW: neighbor 192.0.2.1, PW ID 2, state is up ( established )
    PW class not set, XC ID 0xff000001
    Encapsulation MPLS, protocol LDP
    Source address 192.0.2.12
    PW type Ethernet, control word disabled, interworking none
    PW backup disable delay 0 sec
    Sequencing not set
 
    PW Status TLV in use
      MPLS         Local                          Remote                       
      ------------ ------------------------------ -----------------------------
      Label        24030                          68                           
      Group ID     0x400                          unknown                      
      Interface    GigabitEthernet0/0/0/2         unknown                      
      MTU          1500                           1500                         
      Control word disabled                       disabled                     
      PW type      Ethernet                       Ethernet                     
      VCCV CV type 0x2                            0x2                          
                   (LSP ping verification)        (LSP ping verification)      
      VCCV CC type 0x6                            0x6                          
                   (router alert label)           (router alert label)         
                   (TTL expiry)                   (TTL expiry)                 
      ------------ ------------------------------ -----------------------------
    Incoming Status (PW Status TLV):
      Status code: 0x0 (Up) in Notification message
    Outgoing Status (PW Status TLV):
      Status code: 0x0 (Up) in Notification message
    MIB cpwVcIndex: 4278190081
    Create time: 01/09/2019 23:22:18 (00:03:07 ago)
    Last time status changed: 01/09/2019 23:22:24 (00:03:02 ago)
    Statistics:
      packets: received 0, sent 0
      bytes: received 0, sent 0
 
Like we saw in the previous post, both CSR1 and XR12 allocate labels for the L2 circuit. CSR1 allocates label 68 and XR12 allocates label 24030.
 
IOS17#ping 10.100.1.22
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.100.1.22, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
 
CSR1#show mpls forwarding-table labels 68
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop   
Label      Label      or Tunnel Id     Switched      interface             
68         No Label   l2ckt(2)         0             Gi3        point2point
 
 
RP/0/0/CPU0:XR12#show mpls forwarding interface g0/0/0/2
Sun Sep  1 23:29:31.969 UTC
Local  Outgoing    Prefix             Outgoing     Next Hop        Bytes      
Label  Label       or ID              Interface                    Switched   
------ ----------- ------------------ ------------ --------------- ------------
24030  Pop         PW(192.0.2.1:2)    Gi0/0/0/2    point2point     0          
 
A ping is sent from IOS17 to XR12 and no replies are received. We check the LFIB of both devices and see no hits. 

Powered by Create your own unique website with customizable templates.
  • Home
  • Technology VoD!
    • Cisco >
      • Route & Switch / Enterprise Infrastructure
  • Technology Breakdowns!
    • Route&Switch/Ent. Infra. >
      • L2 Technologies
      • L3 Technologies
      • VPN Technologies
      • Services >
        • IOS - Dynamic NAT
        • HSRP - IPv4 Setup
        • HSRP - Priority and Preemption
    • Service Provider >
      • IGPs (Interior Gateway Protocols)
      • First Hop Redundancy >
        • HSRP (Hot Standby Router Protocol) >
          • HSRP - IOS/IOS XE Setup
          • HSRP - IOS XR Setup
      • BGP (Border Gateway Protocol)
      • Inter AS Multicast (MSDP)
      • Intra-AS MPLS
      • Inter-AS MPLS
    • Security >
      • IOS Firewall
      • ASA Firewall
      • FirePOWER Threat Defense >
        • FTD - FTD NGFW Device Setup and FMC Integration
      • VPNs >
        • PKI
        • Site to Site VPNs
        • Remote Access VPNs >
          • IOS Remote Access
          • ASA Remote Access
    • Data Center >
      • Nexus 9000v >
        • Nexus 9000v - Enabling Features
        • Nexus 9000v - VLANs and Trunks
        • Nexus 9000v - LACP Port Channels
        • Nexus 9000v - vPC (Virtual Port Channel)
        • Nexus 9000v - OSPFv2
        • Nexus 9000v - VXLAN - Ingress Replication Flood and Learn
        • Nexus 9000v - IP Multicast
        • Nexus 9000v - VxLAN - Multicast Flood and Learn
        • Nexus 9000v - VxLAN - BGP EVPN with Multicast
        • Nexus 9000v - VxLAN - BGP EVPN w/Ingress Replication
        • Nexus 9000v - VxLAN - Inter-VxLAN Routing with BGP EVPN
        • Nexus 9000v - VXLAN - External Routing
      • Nexus 7000v
    • Palo Alto