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

VPLS BGP-AD LDP Signaling

Picture
VPLS with BGP AD allows for the PE routers to discover other PE routers dynamically, form pseudowires dynamically with the discovered PE routers, exchange labels and exchange MAC addresses to allow CE routers to communicate inside the same VLAN.


CSR1
interface GigabitEthernet3
 service instance 2000 ethernet
  encapsulation dot1q 2000
!
interface GigabitEthernet5
 service instance 2001 ethernet
  encapsulation dot1q 2000
!
l2vpn vfi context BGP_AD_LDP_VLAN 
 vpn id 2000
 autodiscovery bgp signaling ldp 
!
bridge-domain 2000 
 member GigabitEthernet3 service-instance 2000
 member GigabitEthernet5 service-instance 2001
 member vfi BGP_AD_LDP_VLAN
!
router bgp 100
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 192.0.2.3 remote-as 100
 neighbor 192.0.2.3 update-source Loopback0
 neighbor 192.0.2.9 remote-as 100
 neighbor 192.0.2.9 update-source Loopback0
!
 address-family l2vpn vpls
  neighbor 192.0.2.3 activate
  neighbor 192.0.2.9 activate
  neighbor 192.0.2.9 prefix-length-size 2
 exit-address-family


CSR2
interface GigabitEthernet4
 service instance 2000 ethernet
  encapsulation dot1q 2000
!
l2vpn vfi context BGP_AD_LDP_VLAN 
 vpn id 2000
 autodiscovery bgp signaling ldp 
!
bridge-domain 2000 
 member GigabitEthernet4 service-instance 2000
 member vfi BGP_AD_LDP_VLAN
!
router bgp 100
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 192.0.2.3 remote-as 100
 neighbor 192.0.2.3 update-source Loopback0
 neighbor 192.0.2.9 remote-as 100
 neighbor 192.0.2.9 update-source Loopback0
!
​ address-family l2vpn vpls
  neighbor 192.0.2.3 activate
  neighbor 192.0.2.9 activate
  neighbor 192.0.2.9 prefix-length-size 2
 exit-address-family

CSR4
interface GigabitEthernet4
 service instance 2000 ethernet
  encapsulation dot1q 2000
!
l2vpn vfi context BGP_AD_LDP_VLAN 
 vpn id 2000
 autodiscovery bgp signaling ldp 
!
bridge-domain 2000 
 member GigabitEthernet4 service-instance 2000
 member vfi BGP_AD_LDP_VLAN
!
router bgp 100
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 192.0.2.3 remote-as 100
 neighbor 192.0.2.3 update-source Loopback0
 neighbor 192.0.2.9 remote-as 100
 neighbor 192.0.2.9 update-source Loopback0
!
​ address-family l2vpn vpls
  neighbor 192.0.2.3 activate
  neighbor 192.0.2.9 activate
  neighbor 192.0.2.9 prefix-length-size 2
 exit-address-family

XR12
interface g0/0/0/2.2000 l2transport
 encapsulation dot1q 2000
!
bridge group BGP_AD_LDP_VLAN
  bridge-domain 2000
   interface GigabitEthernet0/0/0/2.2000
   !
   vfi BGP_AD_LDP_VLAN
    vpn-id 2000
    autodiscovery bgp
     rd auto
     route-target import 100:2000
     route-target export 100:2000
     signaling-protocol ldp
!
router bgp 100
 address-family l2vpn vpls-vpws
 !
 neighbor 192.0.2.3
  remote-as 100
  update-source Loopback0
  !
  address-family l2vpn vpls-vpws
  !
 !
 neighbor 192.0.2.9
  remote-as 100
  update-source Loopback0
  session-open-mode active-only
  !
  address-family l2vpn vpls-vpws
   Signalling bgp disable

CSR3
outer bgp 100
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor IBGP peer-group
 neighbor IBGP remote-as 100
 neighbor IBGP update-source Loopback0
 neighbor 192.0.2.1 peer-group IBGP
 neighbor 192.0.2.2 peer-group IBGP
 neighbor 192.0.2.4 peer-group IBGP
 neighbor 192.0.2.12 peer-group IBGP
!
 address-family l2vpn vpls
  neighbor IBGP route-reflector-client
  neighbor 192.0.2.1 activate
  neighbor 192.0.2.2 activate
  neighbor 192.0.2.4 activate
  neighbor 192.0.2.5 activate
  neighbor 192.0.2.12 activate
  neighbor 192.0.2.12 prefix-length-size 2
 exit-address-family

XR9
router bgp 100
 address-family l2vpn vpls-vpws
 !
 neighbor 192.0.2.1
  remote-as 100
  update-source Loopback0
  !
  address-family l2vpn vpls-vpws
   route-reflector-client
   Signalling bgp disable
  !
 !
 neighbor 192.0.2.2
  remote-as 100
  update-source Loopback0
  !
  address-family l2vpn vpls-vpws
   route-reflector-client
   Signalling bgp disable
  !
 !
 neighbor 192.0.2.4
  remote-as 100
  update-source Loopback0
  !
  address-family l2vpn vpls-vpws
   route-reflector-client
   Signalling bgp disable
  !
 !
 neighbor 192.0.2.5
  remote-as 100
  update-source Loopback0
  !
  address-family l2vpn vpls-vpws
   route-reflector-client
   Signalling bgp disable
  !
 !
 neighbor 192.0.2.12
  remote-as 100
  update-source Loopback0
  session-open-mode passive-only
  !
  address-family l2vpn vpls-vpws
   route-reflector-client
   Signalling bgp disable

CSR3#show bgp l2vpn vpls all 
BGP table version is 57, local router ID is 192.0.2.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:100
 *>i 100:100:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
 *>i 100:100:192.0.2.5/96
                       192.0.2.5                0    100      0 ?
Route Distinguisher: 100:101
 *>i 100:101:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
Route Distinguisher: 100:1100
 *>i 100:1100:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
Route Distinguisher: 100:2000
 *>i 100:2000:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 192.0.2.12:65535
 *>i 192.0.2.12:65535:192.0.2.12/96
                       192.0.2.12                    100      0 i


RP/0/0/CPU0:XR9#show bgp l2vpn vpls         
Sat Sep 14 06:27:20.367 UTC
BGP router identifier 192.0.2.9, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0   RD version: 0
BGP main routing table version 11
BGP NSR Initial initsync version 6 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs

Status codes: s suppressed, d damped, h history, * valid, > best
              i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network            Next Hop        Rcvd Label      Local Label
Route Distinguisher: 100:100
*>i192.0.2.1/32       192.0.2.1       nolabel         nolabel         
*>i192.0.2.5/32       192.0.2.5       nolabel         nolabel         
Route Distinguisher: 100:101
*>i192.0.2.1/32       192.0.2.1       nolabel         nolabel         
Route Distinguisher: 100:1100
*>i192.0.2.1/32       192.0.2.1       nolabel         nolabel         
Route Distinguisher: 100:2000
*>i192.0.2.1/32       192.0.2.1       nolabel         nolabel         
*>i192.0.2.2/32       192.0.2.2       nolabel         nolabel         
*>i192.0.2.4/32       192.0.2.4       nolabel         nolabel         
Route Distinguisher: 192.0.2.12:65535
*>i192.0.2.12/32      192.0.2.12      nolabel         nolabel         

Processed 8 prefixes, 8 paths


CSR1#show bgp l2vpn vpls rd 100:2000
BGP table version is 84, local router ID is 192.0.2.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:2000
 *>  100:2000:192.0.2.1/96
                       0.0.0.0                            32768 ?
 *>i 100:2000:192.0.2.2/96
                       192.0.2.2                0    100      0 ?
 *>i 100:2000:192.0.2.4/96
                       192.0.2.4                0    100      0 ?


CSR2#show bgp l2vpn vpls rd 100:2000
BGP table version is 55, local router ID is 192.0.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:2000
 *>i 100:2000:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
 *>  100:2000:192.0.2.2/96
                       0.0.0.0                            32768 ?
 *>i 100:2000:192.0.2.4/96
                       192.0.2.4                0    100      0 ?


CSR4#show bgp l2vpn vpls rd 100:2000
BGP table version is 25, local router ID is 192.0.2.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:2000
 *>i 100:2000:192.0.2.1/96
                       192.0.2.1                0    100      0 ?
 *>i 100:2000:192.0.2.2/96
                       192.0.2.2                0    100      0 ?
 *>  100:2000:192.0.2.4/96
                       0.0.0.0                            32768 ?


CSR1#show l2vpn vfi name BGP_AD_LDP_VLAN 
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No

VFI name: BGP_AD_LDP_VLAN, state: up, type: multipoint, signaling: LDP
  VPN ID: 2000, VPLS-ID: 100:2000
  RD: 100:2000, RT: 100:2000, 
  Bridge-Domain 2000 attachment circuits:
  Pseudo-port interface: pseudowire100016
  Interface          Peer Address     VC ID        Discovered Router ID    S
  pseudowire100050   192.0.2.12       2000         192.0.2.12              Y
  pseudowire100048   192.0.2.4        2000         192.0.2.4               Y
  pseudowire100047   192.0.2.2        2000         192.0.2.2               Y


CSR2#show l2vpn vfi name BGP_AD_LDP_VLAN
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No

VFI name: BGP_AD_LDP_VLAN, state: up, type: multipoint, signaling: LDP
  VPN ID: 2000, VPLS-ID: 100:2000
  RD: 100:2000, RT: 100:2000, 
  Bridge-Domain 2000 attachment circuits:
  Pseudo-port interface: pseudowire100017
  Interface          Peer Address     VC ID        Discovered Router ID    S
  pseudowire100041   192.0.2.12       2000         192.0.2.12              Y
  pseudowire100040   192.0.2.4        2000         192.0.2.4               Y
  pseudowire100039   192.0.2.1        2000         192.0.2.1               Y


CSR4#show l2vpn vfi name BGP_AD_LDP_VLAN
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No

VFI name: BGP_AD_LDP_VLAN, state: up, type: multipoint, signaling: LDP
  VPN ID: 2000, VPLS-ID: 100:2000
  RD: 100:2000, RT: 100:2000, 
  Bridge-Domain 2000 attachment circuits:
  Pseudo-port interface: pseudowire100001
  Interface          Peer Address     VC ID        Discovered Router ID    S
  pseudowire100018   192.0.2.12       2000         192.0.2.12              Y
  pseudowire100017   192.0.2.2        2000         192.0.2.2               Y
  pseudowire100016   192.0.2.1        2000         192.0.2.1               Y


CSR8
interface GigabitEthernet4.2000
 encapsulation dot1Q 2000
 ip address 10.100.200.8 255.255.255.0
!
router eigrp 2000
 network 10.100.200.0 0.0.0.255

CSR8#sh ip eigrp 2000 neighbors 
EIGRP-IPv4 Neighbors for AS(2000)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
2   10.100.200.24           Gi4.2000                 12 05:47:27   66   396  0  81
1   10.100.200.21           Gi4.2000                 11 5d22h     177  1062  0  67
0   10.100.200.17           Gi4.2000                 14 1w1d       29   174  0  27
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