Skip to main content

Cisco VXLAN Single site


DC12SP1
hostname DC12SP1

!enable features
nv overlay evpn
feature ospf
feature bgp
feature pim
feature nv overlay

!configure multicast
ip pim rp-address 10.0.12.11 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 10.0.12.11 10.0.12.1
ip pim anycast-rp 10.0.12.11 10.0.12.2

!Interface config
interface Ethernet1/1
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.11.101.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/2
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.11.102.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/3
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.11.103.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface loopback0
  ip address 10.0.12.1/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

interface loopback1
  ip address 10.0.12.11/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

!OSPF config
router ospf UNDERLAY

!BGP and L2vpn evpn config
router bgp 65000
  router-id 10.1.12.1
  address-family ipv4 unicast
  address-family l2vpn evpn
  neighbor 10.0.12.0/24
    remote-as 65000
    update-source loopback0
    address-family ipv4 unicast
      send-community
      send-community extended
      route-reflector-client
      soft-reconfiguration inbound
    address-family l2vpn evpn
      send-community
      send-community extended
      route-reflector-client

DC12SP2
hostname DC12SP2
!enable features
nv overlay evpn
feature ospf
feature bgp
feature pim
feature nv overlay

!configure  Multicast
ip pim rp-address 10.0.12.11 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 10.0.12.11 10.0.12.1
ip pim anycast-rp 10.0.12.11 10.0.12.2

!Interface config
interface Ethernet1/1
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.22.101.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/2
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.22.102.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/3
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.22.103.1/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface loopback0
  ip address 10.0.12.2/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

interface loopback1
  ip address 10.0.12.22/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

!OSPF config
router ospf UNDERLAY

!BGP & l2vpn evpn config
router bgp 65000
  router-id 10.1.12.2
  address-family ipv4 unicast
  address-family l2vpn evpn
  neighbor 10.0.12.0/24
    remote-as 65000
    update-source loopback0
    address-family ipv4 unicast
      send-community
      send-community extended
      route-reflector-client
    address-family l2vpn evpn
      send-community
      send-community extended
      route-reflector-client

DC12SP12LF1
hostname DC12SP12LF1

nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay

fabric forwarding anycast-gateway-mac 0000.1234.5678
ip pim rp-address 10.0.12.11 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,100,500
vlan 100
  vn-segment 100100
vlan 500
  vn-segment 50000

route-map Overlay_Subnets permit 10
  match tag 54321 
vrf context TENANT1
  vni 50000
  ip pim ssm range 232.0.0.0/8
  rd auto
  address-family ipv4 unicast
    route-target both auto
    route-target both auto evpn

interface Vlan100
  no shutdown
  mtu 9150
  vrf member TENANT1
  ip address 10.100.0.1/24 tag 54321
  ip pim sparse-mode
  fabric forwarding mode anycast-gateway

interface Vlan500
  no shutdown
  vrf member TENANT1
  no ip redirects
  ip forward

interface nve1
  no shutdown
  host-reachability protocol bgp
  source-interface loopback0
  member vni 50000 associate-vrf
  member vni 100100
    suppress-arp
    mcast-group 239.0.0.100

interface Ethernet1/1
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.11.101.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/2
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.22.101.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

!Srv1
interface Ethernet1/7
  switchport access vlan 100

interface loopback0
  ip address 10.0.12.101/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

router ospf UNDERLAY
router bgp 65000
  router-id 10.1.12.101
  neighbor 10.0.12.1
    remote-as 65000
    update-source loopback0
    address-family l2vpn evpn
      send-community
      send-community extended
  neighbor 10.0.12.2
    remote-as 65000
    update-source loopback0
    address-family l2vpn evpn
      send-community
      send-community extended
  vrf TENANT1
    address-family ipv4 unicast
      redistribute direct route-map Overlay_Subnets
evpn
  vni 100100 l2
    rd auto
    route-target import auto
    route-target export auto

DC12SP12LF2
hostname DC12SP12LF2

!enable features
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay

!configure anycast gateway
fabric forwarding anycast-gateway-mac 0000.1234.5678

!configure multicast
ip pim rp-address 10.0.12.11 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8

!vlan and associate vn-segment for L2
vlan 1,100,200,500
vlan 100
  vn-segment 100100
vlan 200
  vn-segment 100200

!vlan and associate vn-segment for L3
vlan 500
  vn-segment 50000

!route-map config for inserting vlan into TENANT1
route-map Overlay_Subnets permit 10
  match tag 54321 

!configure vrf for TENANT1
vrf context TENANT1
  vni 50000
  ip pim ssm range 232.0.0.0/8
  rd auto
  address-family ipv4 unicast
    route-target both auto
    route-target both auto evpn

!configure vlan interfaces
interface Vlan100
  no shutdown
  mtu 9150
  vrf member TENANT1
  ip address 10.100.0.1/24 tag 54321
  ip pim sparse-mode
  fabric forwarding mode anycast-gateway

interface Vlan200
  no shutdown
  mtu 9150
  vrf member TENANT1
  ip address 10.200.0.1/24 tag 54321
  ip pim sparse-mode
  fabric forwarding mode anycast-gateway

!configure vlan500 for L3
interface Vlan500
  no shutdown
  vrf member TENANT1
  ip forward

!configure vtep
interface nve1
  no shutdown
  host-reachability protocol bgp
  source-interface loopback0
  member vni 50000 associate-vrf
  member vni 100100
    suppress-arp
    mcast-group 239.0.0.100
  member vni 100200
    suppress-arp
    mcast-group 239.0.0.200

!configure physical interface
interface Ethernet1/1
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.11.102.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/2
  no switchport
  mtu 9150
  no ip redirects
  ip address 10.22.102.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

!Srv 2
interface Ethernet1/6
  switchport access vlan 200
!Srv 3
interface Ethernet1/7
  switchport access vlan 100

interface loopback0
  ip address 10.0.12.102/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

!OSPF config
router ospf UNDERLAY

!BGP & l2vpn evpn config
router bgp 65000
  router-id 10.1.12.102
  address-family ipv4 unicast
  neighbor 10.0.12.1
    remote-as 65000
    update-source loopback0
    address-family ipv4 unicast
      send-community
      send-community extended
    address-family l2vpn evpn
      send-community
      send-community extended
  neighbor 10.0.12.2
    remote-as 65000
    update-source loopback0
    address-family ipv4 unicast
      send-community
      send-community extended
    address-family l2vpn evpn
      send-community
      send-community extended
  vrf TENANT1
    address-family ipv4 unicast
      redistribute direct route-map Overlay_Subnets
evpn
  vni 100100 l2
    rd auto
    route-target import auto
    route-target export auto
  vni 100200 l2
    rd auto
    route-target import auto
    route-target export auto

DC12SP12LF3
hostname DC12SP12LF3

nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay

fabric forwarding anycast-gateway-mac 0000.1234.5678
ip pim rp-address 10.0.12.11 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,200,500
vlan 200
  vn-segment 100200
vlan 500
  vn-segment 50000

route-map Overlay_Subnets permit 10
  match tag 54321 
vrf context TENANT1
  vni 50000
  ip pim ssm range 232.0.0.0/8
  rd auto
  address-family ipv4 unicast
    route-target both auto
    route-target both auto evpn

interface Vlan1

interface Vlan200
  no shutdown
  mtu 9150
  vrf member TENANT1
  ip address 10.200.0.1/24 tag 54321
  ip pim sparse-mode
  fabric forwarding mode anycast-gateway

interface Vlan500
  no shutdown
  vrf member TENANT1
  ip forward

interface nve1
  no shutdown
  host-reachability protocol bgp
  source-interface loopback0
  member vni 50000 associate-vrf
  member vni 100200
    suppress-arp
    mcast-group 239.0.0.200

interface Ethernet1/1
  no switchport
  mtu 9150
  ip address 10.11.103.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/2
  no switchport
  mtu 9150
  ip address 10.22.103.2/30
  ip ospf network point-to-point
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet1/7
  switchport access vlan 200

interface loopback0
  ip address 10.0.12.103/32
  ip router ospf UNDERLAY area 0.0.0.0
  ip pim sparse-mode

router ospf UNDERLAY
router bgp 65000
  router-id 10.1.12.103
  neighbor 10.0.12.1
    remote-as 65000
    update-source loopback0
    address-family l2vpn evpn
      send-community
      send-community extended
  neighbor 10.0.12.2
    remote-as 65000
    update-source loopback0
    address-family l2vpn evpn
      send-community
      send-community extended
  vrf TENANT1
    address-family ipv4 unicast
      redistribute direct route-map Overlay_Subnets
evpn
  vni 100200 l2
    rd auto
    route-target import auto
    route-target export auto

===================================
Reachability Test from 10.100.0.101 to SRV2, SRV3, SRV4
DC12LF1-SRV1> ping 10.100.0.102          

84 bytes from 10.100.0.102 icmp_seq=1 ttl=64 time=30.638 ms
84 bytes from 10.100.0.102 icmp_seq=2 ttl=64 time=29.371 ms
84 bytes from 10.100.0.102 icmp_seq=3 ttl=64 time=35.213 ms
84 bytes from 10.100.0.102 icmp_seq=4 ttl=64 time=38.032 ms
84 bytes from 10.100.0.102 icmp_seq=5 ttl=64 time=41.162 ms

DC12LF1-SRV1> ping 10.200.0.102

84 bytes from 10.200.0.102 icmp_seq=1 ttl=62 time=44.935 ms
84 bytes from 10.200.0.102 icmp_seq=2 ttl=62 time=37.947 ms
84 bytes from 10.200.0.102 icmp_seq=3 ttl=62 time=30.984 ms
84 bytes from 10.200.0.102 icmp_seq=4 ttl=62 time=38.258 ms
84 bytes from 10.200.0.102 icmp_seq=5 ttl=62 time=30.641 ms

DC12LF1-SRV1> ping 10.200.0.103

84 bytes from 10.200.0.103 icmp_seq=1 ttl=62 time=34.343 ms
84 bytes from 10.200.0.103 icmp_seq=2 ttl=62 time=32.379 ms
84 bytes from 10.200.0.103 icmp_seq=3 ttl=62 time=30.974 ms
84 bytes from 10.200.0.103 icmp_seq=4 ttl=62 time=38.525 ms
84 bytes from 10.200.0.103 icmp_seq=5 ttl=62 time=31.162 ms

Check IP PIM RP
DC12SP12LF1# show ip pim rp
PIM RP Status Information for VRF "default"
BSR disabled
Auto-RP disabled
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None

RP: 10.0.12.11, (0), 
 uptime: 01:31:16   priority: 255, 
 RP-source: (local),  
 group ranges:
 224.0.0.0/4

NVE Interface Status
DC12SP12LF1# show nve interface
Interface: nve1, State: Up, encapsulation: VXLAN
 VPC Capability: VPC-VIP-Only [not-notified]
 Local Router MAC: 5000.0003.0007
 Host Learning Mode: Control-Plane
 Source-Interface: loopback0 (primary: 10.0.12.101, secondary: 0.0.0.0)

NVE VNI association
DC12SP12LF1# show nve vni
Codes: CP - Control Plane        DP - Data Plane          
       UC - Unconfigured         SA - Suppress ARP        
       SU - Suppress Unknown Unicast
 
Interface VNI      Multicast-group   State Mode Type [BD/VRF]      Flags
--------- -------- ----------------- ----- ---- ------------------ -----
nve1      50000    n/a               Up    CP   L3 [TENANT1]                 
nve1      100100   239.0.0.100       Up    CP   L2 [100]           SA  

Multicast neighbors
DC12SP12LF1# show ip pim neighbor
PIM Neighbor Status for VRF "default"
Neighbor        Interface            Uptime    Expires   DR       Bidir-  BFD    ECMP Redirect
                                                         Priority Capable State     Capable
10.11.101.1     Ethernet1/1          01:25:37  00:01:37  1        yes     n/a     no
10.22.101.1     Ethernet1/2          01:25:37  00:01:28  1        yes     n/a     no
DC12SP12LF2# show ip pim neighbor
PIM Neighbor Status for VRF "default"
Neighbor        Interface            Uptime    Expires   DR       Bidir-  BFD    ECMP Redirect
                                                         Priority Capable State     Capable
10.11.102.1     Ethernet1/1          03:07:48  00:01:37  1        yes     n/a     no
10.22.102.1     Ethernet1/2          00:00:04  00:01:40  1        yes     n/a     no
DC12SP12LF3# show ip pim neighbor
PIM Neighbor Status for VRF "default"
Neighbor        Interface            Uptime    Expires   DR       Bidir-  BFD    ECMP Redirect
                                                         Priority Capable State     Capable
10.11.103.1     Ethernet1/1          01:29:01  00:01:38  1        yes     n/a     no
10.22.103.1     Ethernet1/2          01:29:01  00:01:37  1        yes     n/a     no

Multicast route
DC12SP12LF1# show ip mroute 239.0.0.100
IP Multicast Routing Table for VRF "default"

(*, 239.0.0.100/32), uptime: 01:43:58, nve pim ip 
  Incoming interface: Ethernet1/1, RPF nbr: 10.11.101.1
  Outgoing interface list: (count: 1)
    nve1, uptime: 01:43:58, nve


(10.0.12.101/32, 239.0.0.100/32), uptime: 01:43:58, nve mrib pim ip 
  Incoming interface: loopback0, RPF nbr: 10.0.12.101
  Outgoing interface list: (count: 1)
    Ethernet1/1, uptime: 01:42:33, pim

VTEP peers
DC12SP12LF1# sh nve peers 
Interface Peer-IP          State LearnType Uptime   Router-Mac       
--------- ---------------  ----- --------- -------- -----------------
nve1      10.0.12.102      Up    CP        01:18:43 5000.0004.0007   
nve1      10.0.12.103      Up    CP        00:08:19 5000.0005.0007
DC12SP12LF2# sh nve peers 
Interface Peer-IP          State LearnType Uptime   Router-Mac       
--------- ---------------  ----- --------- -------- -----------------
nve1      10.0.12.101      Up    CP        00:25:13 5000.0003.0007   
nve1      10.0.12.103      Up    CP        00:09:26 5000.0005.0007 
DC12SP12LF3# sh nve peers 
Interface Peer-IP          State LearnType Uptime   Router-Mac       
--------- ---------------  ----- --------- -------- -----------------
nve1      10.0.12.101      Up    CP        00:25:47 5000.0003.0007   
nve1      10.0.12.102      Up    CP        01:20:26 5000.0004.0007

Vxlan info
DC12SP12LF1# show vxlan
Vlan            VN-Segment
====            ==========
100             100100
500             50000

Tenant info
DC12SP12LF1# show ip int brief vrf TENANT1

IP Interface Status for VRF "TENANT1"(3)
Interface            IP Address      Interface Status
Vlan100              10.100.0.1      protocol-up/link-up/admin-up       
Vlan500              forward-enabled protocol-up/link-up/admin-up  

TENANT1 Details
DC12SP12LF1# show vrf TENANT1 detail
VRF-Name: TENANT1, VRF-ID: 3, State: Up
    VPNID: unknown
    RD: 10.1.12.101:3
    VNI: 50000
    Max Routes: 0  Mid-Threshold: 0
    Table-ID: 0x80000003, AF: IPv6, Fwd-ID: 0x80000003, State: Up
    Table-ID: 0x00000003, AF: IPv4, Fwd-ID: 0x00000003, State: Up

NVE Peers detail
DC12SP12LF1# show nve peers interface nve 1 detail
Details of nve Peers:
----------------------------------------
Peer-Ip: 10.0.12.102
    NVE Interface       : nve1
    Peer State          : Up
    Peer Uptime         : 01:32:51
    Router-Mac          : 5000.0004.0007
    Peer First VNI      : 100100
    Time since Create   : 01:32:51
    Configured VNIs     : 50000,100100
    Provision State     : peer-add-complete
    Learnt CP VNIs      : 50000,100100
    vni assignment mode : SYMMETRIC
    Peer Location       : N/A
Peer-Ip: 10.0.12.103
    NVE Interface       : nve1
    Peer State          : Up
    Peer Uptime         : 00:22:27
    Router-Mac          : 5000.0005.0007
    Peer First VNI      : 50000
    Time since Create   : 00:22:27
    Configured VNIs     : 50000,100100
    Provision State     : peer-add-complete
    Learnt CP VNIs      : 50000
    vni assignment mode : SYMMETRIC
    Peer Location       : N/A

NVE VNI association info
DC12SP12LF1# show nve vni 100100
Codes: CP - Control Plane        DP - Data Plane          
       UC - Unconfigured         SA - Suppress ARP        
       SU - Suppress Unknown Unicast
 
Interface VNI      Multicast-group   State Mode Type [BD/VRF]      Flags
--------- -------- ----------------- ----- ---- ------------------ -----
nve1      100100   239.0.0.100       Up    CP   L2 [100]           SA 

NVE peer route info
DC12SP12LF1# show ip route 10.100.0.102 vrf TENANT1
...
10.100.0.102/32, ubest/mbest: 1/0
    *via 10.0.12.102%default, [200/0], 00:08:15, bgp-65000, internal, tag 65000 (evpn) segid: 50000 tunnelid: 0xa000c66 encap: VXLAN
 
L2 - MAC learning
DC12SP12LF1# show system internal l2fwder mac 
Legend: 
        * - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC
        age - seconds since last seen,+ - primary entry using vPC Peer-Link,
        (T) - True, (F) - False, C - ControlPlane MAC
   VLAN     MAC Address      Type      age     Secure NTFY Ports
---------+-----------------+--------+---------+------+----+------------------
G   500    5000.0003.0007    static   -          F     F   sup-eth1(R)
*   100    0050.7966.6806   dynamic   00:09:25   F     F     Eth1/7  
G   100    5000.0003.0007    static   -          F     F   sup-eth1(R)
*   100    0050.7966.6807    static   -          F     F  nve-peer1 10.0.12.102 

L2VPN Summary
DC12SP12LF1# sh bgp l2vpn evpn summary 
...
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.12.1       4 65000     140      91      153    0    0 01:17:49 7         
10.0.12.2       4 65000     141      87      153    0    0 01:20:49 7 
DC12SP12LF2# sh bgp l2vpn evpn summary 
...
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.12.1       4 65000     371     215      960    0    0 02:59:37 6         
10.0.12.2       4 65000     372     215      960    0    0 02:59:48 6 
DC12SP12LF3# sh bgp l2vpn evpn summary 
...
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.12.1       4 65000     143      86      141    0    0 01:20:42 7         
10.0.12.2       4 65000     141      86      141    0    0 01:20:39 7 

L2VPN EVPN advertised-routes from Leaf 1
DC12SP12LF1# show bgp l2vpn evpn neighbors 10.0.12.1 advertised-routes 

Peer 10.0.12.1 routes for address family L2VPN EVPN:
BGP table version is 153, Local Router ID is 10.1.12.101
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-i
njected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 10.1.12.101:32867    (L2VNI 100100)
*>l[2]:[0]:[0]:[48]:[0050.7966.6806]:[0]:[0.0.0.0]/216
                      10.0.12.101                       100      32768 i
*>l[2]:[0]:[0]:[48]:[0050.7966.6806]:[32]:[10.100.0.101]/272
                      10.0.12.101                       100      32768 i

Route Distinguisher: 10.1.12.102:3

Route Distinguisher: 10.1.12.102:32867

Route Distinguisher: 10.1.12.102:32967

Route Distinguisher: 10.1.12.103:3

Route Distinguisher: 10.1.12.103:32967

Route Distinguisher: 10.1.12.101:3    (L3VNI 50000)
*>l[5]:[0]:[0]:[24]:[10.100.0.0]/224
                      10.0.12.101              0        100      32768 ?

BGP l2vpn evpn route info
DC12SP12LF1# show bgp l2vpn evpn
BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 183, Local Router ID is 10.1.12.101
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 10.1.12.101:32867    (L2VNI 100100)
*>l[2]:[0]:[0]:[48]:[0050.7966.6806]:[0]:[0.0.0.0]/216
                      10.0.12.101                       100      32768 i
*>i[2]:[0]:[0]:[48]:[0050.7966.6807]:[0]:[0.0.0.0]/216
                      10.0.12.102                       100          0 i
*>l[2]:[0]:[0]:[48]:[0050.7966.6806]:[32]:[10.100.0.101]/272
                      10.0.12.101                       100      32768 i
*>i[2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272
                      10.0.12.102                       100          0 i

Route Distinguisher: 10.1.12.102:3
*>i[5]:[0]:[0]:[24]:[10.100.0.0]/224
                      10.0.12.102              0        100          0 ?
* i                   10.0.12.102              0        100          0 ?
* i[5]:[0]:[0]:[24]:[10.200.0.0]/224
                      10.0.12.102              0        100          0 ?
*>i                   10.0.12.102              0        100          0 ?

Route Distinguisher: 10.1.12.102:32867
* i[2]:[0]:[0]:[48]:[0050.7966.6807]:[0]:[0.0.0.0]/216
                      10.0.12.102                       100          0 i
*>i                   10.0.12.102                       100          0 i
*>i[2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272
                      10.0.12.102                       100          0 i
* i                   10.0.12.102                       100          0 i

Route Distinguisher: 10.1.12.102:32967
*>i[2]:[0]:[0]:[48]:[0050.7966.6809]:[32]:[10.200.0.102]/272
                      10.0.12.102                       100          0 i
* i                   10.0.12.102                       100          0 i

Route Distinguisher: 10.1.12.103:3
*>i[5]:[0]:[0]:[24]:[10.200.0.0]/224
                      10.0.12.103              0        100          0 ?
* i                   10.0.12.103              0        100          0 ?

Route Distinguisher: 10.1.12.103:32967
* i[2]:[0]:[0]:[48]:[0050.7966.6808]:[32]:[10.200.0.103]/272
                      10.0.12.103                       100          0 i
*>i                   10.0.12.103                       100          0 i

Route Distinguisher: 10.1.12.101:3    (L3VNI 50000)
*>i[2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272
                      10.0.12.102                       100          0 i
*>i[2]:[0]:[0]:[48]:[0050.7966.6808]:[32]:[10.200.0.103]/272
                      10.0.12.103                       100          0 i
*>i[2]:[0]:[0]:[48]:[0050.7966.6809]:[32]:[10.200.0.102]/272
                      10.0.12.102                       100          0 i
* i[5]:[0]:[0]:[24]:[10.100.0.0]/224
                      10.0.12.102              0        100          0 ?
*>l                   10.0.12.101              0        100      32768 ?
* i[5]:[0]:[0]:[24]:[10.200.0.0]/224
                      10.0.12.103              0        100          0 ?
*>i                   10.0.12.102              0        100          0 ?

Leaf 2 SRV2 (L2 - 10.100.0.102 MAC address info)
DC12SP12LF1# show bgp l2vpn evpn 0050.7966.6807
BGP routing table information for VRF default, address family L2VPN EVPN
Route Distinguisher: 10.1.12.101:32867    (L2VNI 100100)
BGP routing table entry for [2]:[0]:[0]:[48]:[0050.7966.6807]:[0]:[0.0.0.0]/216, version 187
Paths: (1 available, best #1)
Flags: (0x000212) (high32 00000000) on xmit-list, is in l2rib/evpn, is not in HW

  Advertised path-id 1
  Path type: internal, path is valid, is best path, no labeled nexthop, in rib
             Imported from 10.1.12.102:32867:[2]:[0]:[0]:[48]:[0050.7966.6807]:[0]:[0.0.0.0]/216 
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.1 (10.1.12.1)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100
      Extcommunity: RT:65000:100100 ENCAP:8
      Originator: 10.1.12.102 Cluster list: 10.1.12.1 

  Path-id 1 not advertised to any peer
BGP routing table entry for [2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272, version 170
Paths: (1 available, best #1)
Flags: (0x000212) (high32 00000000) on xmit-list, is in l2rib/evpn, is not in HW

  Advertised path-id 1
  Path type: internal, path is valid, is best path, no labeled nexthop, in rib
             Imported from 10.1.12.102:32867:[2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272 
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.1 (10.1.12.1)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100 50000
      Extcommunity: RT:65000:50000 RT:65000:100100 ENCAP:8 Router MAC:5000.0004.0007
      Originator: 10.1.12.102 Cluster list: 10.1.12.1 

  Path-id 1 not advertised to any peer

Route Distinguisher: 10.1.12.102:32867
BGP routing table entry for [2]:[0]:[0]:[48]:[0050.7966.6807]:[0]:[0.0.0.0]/216, version 186
Paths: (2 available, best #2)
Flags: (0x000202) (high32 00000000) on xmit-list, is not in l2rib/evpn, is not in HW

  Path type: internal, path is valid, not best reason: Neighbor Address, no labeled nexthop
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.2 (10.1.12.2)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100
      Extcommunity: RT:65000:100100 ENCAP:8
      Originator: 10.1.12.102 Cluster list: 10.1.12.2 

  Advertised path-id 1
  Path type: internal, path is valid, is best path, no labeled nexthop
             Imported to 1 destination(s)
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.1 (10.1.12.1)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100
      Extcommunity: RT:65000:100100 ENCAP:8
      Originator: 10.1.12.102 Cluster list: 10.1.12.1 

  Path-id 1 not advertised to any peer
BGP routing table entry for [2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272, version 164
Paths: (2 available, best #1)
Flags: (0x000202) (high32 00000000) on xmit-list, is not in l2rib/evpn, is not in HW

  Advertised path-id 1
  Path type: internal, path is valid, is best path, no labeled nexthop
             Imported to 3 destination(s)
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.1 (10.1.12.1)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100 50000
      Extcommunity: RT:65000:50000 RT:65000:100100 ENCAP:8 Router MAC:5000.0004.0007
      Originator: 10.1.12.102 Cluster list: 10.1.12.1 

  Path type: internal, path is valid, not best reason: Neighbor Address, no labeled nexthop
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.2 (10.1.12.2)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100 50000
      Extcommunity: RT:65000:50000 RT:65000:100100 ENCAP:8 Router MAC:5000.0004.0007
      Originator: 10.1.12.102 Cluster list: 10.1.12.2 

  Path-id 1 not advertised to any peer

Route Distinguisher: 10.1.12.101:3    (L3VNI 50000)
BGP routing table entry for [2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272, version 169
Paths: (1 available, best #1)
Flags: (0x000202) (high32 00000000) on xmit-list, is not in l2rib/evpn, is not in HW

  Advertised path-id 1
  Path type: internal, path is valid, is best path, no labeled nexthop
             Imported from 10.1.12.102:32867:[2]:[0]:[0]:[48]:[0050.7966.6807]:[32]:[10.100.0.102]/272 
  AS-Path: NONE, path sourced internal to AS
    10.0.12.102 (metric 81) from 10.0.12.1 (10.1.12.1)
      Origin IGP, MED not set, localpref 100, weight 0
      Received label 100100 50000
      Extcommunity: RT:65000:50000 RT:65000:100100 ENCAP:8 Router MAC:5000.0004.0007
      Originator: 10.1.12.102 Cluster list: 10.1.12.1 

  Path-id 1 not advertised to any peer


















Comments

Popular posts from this blog

VXLAN - External connectivity for TENANT using eBGP

  Ping from DCB-SRV4 in DCB to loopback 0 of BCA-BB-A,BCA-BB-B,BCA-MPLS-A, and BCA-MPLS-B DCB-SRV4> ping 10.1.100.1 -i 5 84 bytes from 10.1.100.1 icmp_seq=1 ttl=251 time=60.865 ms 84 bytes from 10.1.100.1 icmp_seq=2 ttl=251 time=51.113 ms 84 bytes from 10.1.100.1 icmp_seq=3 ttl=251 time=56.060 ms 84 bytes from 10.1.100.1 icmp_seq=4 ttl=251 time=50.108 ms 84 bytes from 10.1.100.1 icmp_seq=5 ttl=251 time=56.570 ms DCB-SRV4> ping 10.1.100.2 -i 5 84 bytes from 10.1.100.2 icmp_seq=1 ttl=251 time=83.532 ms 84 bytes from 10.1.100.2 icmp_seq=2 ttl=251 time=48.313 ms 84 bytes from 10.1.100.2 icmp_seq=3 ttl=251 time=51.152 ms 84 bytes from 10.1.100.2 icmp_seq=4 ttl=251 time=47.318 ms 84 bytes from 10.1.100.2 icmp_seq=5 ttl=251 time=50.505 ms DCB-SRV4> ping 10.1.100.3 -i 5 84 bytes from 10.1.100.3 icmp_seq=1 ttl=250 time=68.015 ms 84 bytes from 10.1.100.3 icmp_seq=2 ttl=250 time=51.954 ms 84 bytes from 10.1.100.3 icmp_seq=3 ttl=250 time=51.534 ms 84 bytes from 10.1.100.3 icmp_seq=4 t...