EVPN with iBGP Configuration Example

Configuration Notes

iBGP auto-RT capability is used.
Note

Note

If 4 byte AS numbers are used, RTs should be manually created.
  • MLAG peers share the same LTEP IP, but use different BGP router IDs.
  • OSPF adjacency between Leafs and Spines, between MLAG peers. PTP link type is used.
  • OSPF routes are exported to BGP on Spine 1.
  • On MLAG peers OSPF router IDs should be different (manually configured).
  • Static LACP MAC is configured on MLAG peers.
  • BGP maximum paths is set to 2 for this topology and IP route sharing is enabled.
  • ARP suppression is enabled on tenant VLANs.
  • Spines are configured as RR.
Note

Note

  • On SLX and other platforms “retain route-targets” should be enabled on spine/transit L3 nodes.ExtremeXOS by default retains all RTs and does not have a command to tun it off.
  • ExtremeXOS does not support multi-hop BFD currently—under certain conditions convergence might take longer time.

Leaf 1 Configuration

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-36
configure vr VR-Default add ports 1-36
configure vlan default delete ports 1,4-5,7,16,19,21
enable jumbo-frame ports all
create vlan "isc"
configure vlan isc tag 4000
create vlan "loop"
enable loopback-mode vlan loop
create vlan "mlagvtep"
enable loopback-mode vlan mlagvtep
create vlan "tenant"
configure vlan tenant tag 10
configure vlan tenant suppress arp-only
create vlan "trunk1_2"
configure vlan trunk1_2 tag 4001
create vlan "trunk1_3"
create vlan "trunk1_4"
create vlan "untagtenant"
configure vlan untagtenant suppress arp-only
configure ports 1 auto off speed 10000 duplex full
configure ports 2 auto off speed 10000 duplex full
configure ports 3 auto off speed 10000 duplex full
configure ports 4 auto off speed 10000 duplex full
configure ports 5 auto off speed 10000 duplex full
configure ports 6 auto off speed 10000 duplex full
configure ports 7 auto off speed 10000 duplex full
configure ports 8 auto off speed 10000 duplex full
configure ports 9 auto off speed 10000 duplex full
configure ports 10 auto off speed 10000 duplex full
configure ports 11 auto off speed 10000 duplex full
configure ports 12 auto off speed 10000 duplex full
configure ports 13 auto off speed 10000 duplex full
configure ports 14 auto off speed 10000 duplex full
configure ports 15 auto off speed 10000 duplex full
configure ports 16 auto off speed 10000 duplex full
configure ports 17 auto off speed 10000 duplex full
configure ports 18 auto off speed 10000 duplex full
configure ports 19 auto off speed 10000 duplex full
configure ports 20 auto off speed 10000 duplex full
configure ports 21 auto off speed 10000 duplex full
configure ports 22 auto off speed 10000 duplex full
configure ports 23 auto off speed 10000 duplex full
configure ports 24 auto off speed 10000 duplex full
configure ports 26 auto off speed 10000 duplex full
configure ports 27 auto off speed 10000 duplex full
configure ports 28 auto off speed 10000 duplex full
enable sharing 1 grouping 1 algorithm address-based L2 lacp
configure vlan Default add ports 2-3,6,8-15,17-18,20,22-36 untagged
configure vlan isc add ports 21 tagged
configure vlan tenant add ports 1,16,21 tagged
configure vlan trunk1_2 add ports 21 tagged
configure vlan trunk1_3 add ports 5 untagged
configure vlan trunk1_4 add ports 7 untagged
configure vlan untagtenant add ports 1,16,21 untagged
configure vlan isc ipaddress 172.16.1.0 255.255.255.254
configure vlan loop ipaddress 1.1.1.1 255.255.255.255
enable ipforwarding vlan loop
configure vlan Mgmt ipaddress 10.127.16.27 255.255.255.0
configure vlan mlagvtep ipaddress 1.1.1.200 255.255.255.255
enable ipforwarding vlan mlagvtep
configure vlan tenant ipaddress 10.1.100.100 255.255.255.0
enable ipforwarding vlan tenant
configure vlan trunk1_2 ipaddress 192.168.5.0 255.255.255.254
enable ipforwarding vlan trunk1_2
configure vlan trunk1_3 ipaddress 192.168.1.0 255.255.255.254
enable ipforwarding vlan trunk1_3
configure vlan trunk1_4 ipaddress 192.168.2.0 255.255.255.254
enable ipforwarding vlan trunk1_4
configure vlan untagtenant ipaddress 20.1.100.100 255.255.255.0
enable ipforwarding vlan untagtenant

#
# Module mcmgr configuration.
#
disable igmp snooping vlan "tenant"
disable igmp snooping vlan "untagtenant"

#
# Module vsm configuration.
#
create mlag peer "leaf2"
configure mlag peer "leaf2" ipaddress 172.16.1.1 vr VR-Default
configure mlag peer "leaf2" lacp-mac 00:00:de:ad:be:ef
enable mlag port 1 peer "leaf2" id 1

#
# Module ospf configuration.
#
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan loop area 0.0.0.0
configure ospf vlan loop priority 0
configure ospf add vlan mlagvtep area 0.0.0.0
configure ospf add vlan trunk1_2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk1_3 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk1_4 area 0.0.0.0 link-type point-to-point

#
# Module bgp configuration.
#
configure bgp AS-number 10000
configure bgp routerid 1.1.1.1
configure bgp maximum-paths 2
configure bgp add network 1.1.1.1/32
configure bgp add network 1.1.1.200/32
create bgp neighbor 2.2.2.2 remote-AS-number 10000
configure bgp neighbor 2.2.2.2 source-interface ipaddress 1.1.1.1
enable bgp neighbor 2.2.2.2
create bgp neighbor 3.3.3.100 remote-AS-number 10000
configure bgp neighbor 3.3.3.100 source-interface ipaddress 1.1.1.1
enable bgp neighbor 3.3.3.100
create bgp neighbor 4.4.4.4 remote-AS-number 10000
configure bgp neighbor 4.4.4.4 source-interface ipaddress 1.1.1.1
enable bgp neighbor 4.4.4.4
enable bgp neighbor 2.2.2.2 capability l2vpn-EVPN
enable bgp neighbor 3.3.3.100 capability l2vpn-EVPN
enable bgp neighbor 4.4.4.4 capability l2vpn-EVPN
enable bgp export direct address-family ipv4-unicast
enable bgp

#
# Module otm configuration.
#
configure virtual-network local-endpoint ipaddress 1.1.1.200 vr "VR-Default"
create virtual-network "vni1" flooding standard
configure virtual-network "vni1" VXLAN vni 100
configure virtual-network "vni1" add vlan tenant
create virtual-network "vni2" flooding standard
configure virtual-network "vni2" VXLAN vni 200
configure virtual-network "vni2" add vlan untagtenant

Leaf 2 Configuration

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-72
configure vr VR-Default add ports 1-72
configure vlan default delete ports 1-72
enable jumbo-frame ports all
create vlan "isc"
configure vlan isc tag 4000
create vlan "loop"
enable loopback-mode vlan loop
create vlan "loop2"
enable loopback-mode vlan loop2
create vlan "mlagvtep"
enable loopback-mode vlan mlagvtep
create vlan "tenant"
configure vlan tenant tag 10
configure vlan tenant suppress arp-only
create vlan "trunk1_2"
configure vlan trunk1_2 tag 4001
create vlan "trunk2_3"
create vlan "trunk2_4"
create vlan "untagtenant"
configure vlan untagtenant suppress arp-only
configure ports 50 auto off speed 10000 duplex full
configure ports 51 auto off speed 10000 duplex full
configure ports 52 auto off speed 10000 duplex full
enable sharing 53 grouping 53-56 algorithm address-based L2 lacp
configure vlan isc add ports 66 tagged
configure vlan tenant add ports 4-5,53,66 tagged
configure vlan trunk1_2 add ports 66 tagged
configure vlan trunk2_3 add ports 57 untagged
configure vlan trunk2_4 add ports 49 untagged
configure vlan untagtenant add ports 4-5,53,66 untagged
configure vlan isc ipaddress 172.16.1.1 255.255.255.254
configure vlan loop ipaddress 2.2.2.2 255.255.255.255
enable ipforwarding vlan loop
configure vlan loop2 ipaddress 2.2.2.100 255.255.255.255
enable ipforwarding vlan loop2
configure vlan Mgmt ipaddress 10.127.16.19 255.255.255.0
configure vlan mlagvtep ipaddress 1.1.1.200 255.0.0.0
enable ipforwarding vlan mlagvtep
configure vlan tenant ipaddress 10.1.100.100 255.255.255.0
enable ipforwarding vlan tenant
configure vlan trunk1_2 ipaddress 192.168.5.1 255.255.255.254
enable ipforwarding vlan trunk1_2
configure vlan trunk2_3 ipaddress 192.168.3.0 255.255.255.254
enable ipforwarding vlan trunk2_3
configure vlan trunk2_4 ipaddress 192.168.4.0 255.255.255.254
enable ipforwarding vlan trunk2_4
configure vlan untagtenant ipaddress 20.1.100.100 255.255.255.0
enable ipforwarding vlan untagtenant
#
# Module mcmgr configuration.
#
disable igmp snooping vlan "tenant"
disable igmp snooping vlan "untagtenant"


#
# Module otm configuration.
#
configure virtual-network local-endpoint ipaddress 1.1.1.200 vr "VR-Default"
create virtual-network "vni1" flooding standard
configure virtual-network "vni1" VXLAN vni 100
configure virtual-network "vni1" add vlan tenant
create virtual-network "vni2" flooding standard
configure virtual-network "vni2" VXLAN vni 200
configure virtual-network "vni2" add vlan untagtenant


#
# Module bgp configuration.
#
configure bgp AS-number 10000
configure bgp routerid 2.2.2.2
configure bgp maximum-paths 2
configure bgp add network 1.1.1.200/32
configure bgp add network 2.2.2.2/32
create bgp neighbor 1.1.1.1 remote-AS-number 10000
configure bgp neighbor 1.1.1.1 source-interface ipaddress 2.2.2.2
enable bgp neighbor 1.1.1.1
create bgp neighbor 3.3.3.100 remote-AS-number 10000
configure bgp neighbor 3.3.3.100 source-interface ipaddress 2.2.2.2
enable bgp neighbor 3.3.3.100
create bgp neighbor 4.4.4.4 remote-AS-number 10000
configure bgp neighbor 4.4.4.4 source-interface ipaddress 2.2.2.2
enable bgp neighbor 4.4.4.4
enable bgp neighbor 1.1.1.1 capability l2vpn-EVPN
enable bgp neighbor 3.3.3.100 capability l2vpn-EVPN
enable bgp neighbor 4.4.4.4 capability l2vpn-EVPN
enable bgp export direct address-family ipv4-unicast
enable bgp
#
# Module ospf configuration.
#
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan loop area 0.0.0.0
configure ospf add vlan mlagvtep area 0.0.0.0
configure ospf add vlan trunk1_2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk2_3 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk2_4 area 0.0.0.0 link-type point-to-point

#
# Module vrrp configuration.
#
create vrrp vlan tenant vrid 1
configure vrrp vlan tenant vrid 1 priority 255
create vrrp vlan untagtenant vrid 1
configure vrrp vlan untagtenant vrid 1 priority 255
configure vrrp vlan tenant vrid 1 add 10.1.100.100
configure vrrp vlan untagtenant vrid 1 add 20.1.100.100
enable vrrp vlan tenant vrid 1
enable vrrp vlan untagtenant vrid 1

#
# Module vsm configuration.
#
create mlag peer "leaf1"
configure mlag peer "leaf1" ipaddress 172.16.1.0 vr VR-Default
configure mlag peer "leaf1" lacp-mac 00:00:de:ad:be:ef
enable mlag port 53 peer "leaf1" id 1

Leaf 3

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-56
configure vr VR-Default add ports 1-56
configure vlan default delete ports 1,50-51
enable jumbo-frame ports all
create vlan "leaf3_trunk1"
create vlan "leaf3_trunk2"
create vlan "loop"
enable loopback-mode vlan loop
create vlan "tenant"
configure vlan tenant tag 10
configure vlan tenant suppress arp-only
create vlan "untagtenant"
configure vlan untagtenant suppress arp-only
configure ports 49 auto off speed 10000 duplex full
configure ports 50 auto off speed 10000 duplex full
configure ports 51 auto off speed 10000 duplex full
configure ports 52 auto off speed 10000 duplex full
configure ports 54 auto off speed 10000 duplex full
configure ports 55 auto off speed 10000 duplex full
configure ports 56 auto off speed 10000 duplex full
configure vlan Default add ports 2-49,52-56 untagged
configure vlan leaf3_trunk1 add ports 51 untagged
configure vlan leaf3_trunk2 add ports 50 untagged
configure vlan tenant add ports 1 tagged
configure vlan untagtenant add ports 1 untagged
configure vlan leaf3_trunk1 ipaddress 192.168.6.0 255.255.255.254
enable ipforwarding vlan leaf3_trunk1
configure vlan leaf3_trunk2 ipaddress 192.168.7.0 255.255.255.254
enable ipforwarding vlan leaf3_trunk2
configure vlan loop ipaddress 5.5.5.5 255.255.255.255
enable ipforwarding vlan loop
configure vlan Mgmt ipaddress 10.127.16.17 255.255.255.0
configure vlan tenant ipaddress 10.1.100.100 255.255.255.0
enable ipforwarding vlan tenant
configure vlan untagtenant ipaddress

# Module mcmgr configuration.
#
disable igmp snooping vlan "tenant"
disable igmp snooping vlan "untagtenant"

#
# Module otm configuration.
#
configure virtual-network local-endpoint ipaddress 5.5.5.5 vr "VR-Default"
create virtual-network "vni1" flooding standard
configure virtual-network "vni1" VXLAN vni 100
configure virtual-network "vni1" add vlan tenant
create virtual-network "vni2" flooding standard
configure virtual-network "vni2" VXLAN vni 200
configure virtual-network "vni2" add vlan untagtenant

#
# Module bgp configuration.
#
configure bgp AS-number 10000
configure bgp routerid 5.5.5.5
configure bgp maximum-paths 2
configure bgp restart both
configure bgp add network 5.5.5.5/32
create bgp neighbor 3.3.3.100 remote-AS-number 10000
configure bgp neighbor 3.3.3.100 source-interface ipaddress 5.5.5.5
enable bgp neighbor 3.3.3.100
create bgp neighbor 4.4.4.4 remote-AS-number 10000
configure bgp neighbor 4.4.4.4 source-interface ipaddress 5.5.5.5
enable bgp neighbor 4.4.4.4
enable bgp neighbor 3.3.3.100 capability l2vpn-EVPN
enable bgp neighbor 4.4.4.4 capability l2vpn-EVPN
enable bgp
#
# Module ospf configuration.
#
enable ospf
configure ospf add vlan leaf1_trunk2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan leaf3_trunk2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan loop area 0.0.0.0 link-type point-to-point


#
# Module vrrp configuration.
#
create vrrp vlan tenant vrid 1
configure vrrp vlan tenant vrid 1 priority 255
create vrrp vlan untagtenant vrid 1
configure vrrp vlan untagtenant vrid 1 priority 255
configure vrrp vlan tenant vrid 1 add 10.1.100.100
configure vrrp vlan untagtenant vrid 1 add 20.1.100.100
enable vrrp vlan tenant vrid 1
enable vrrp vlan untagtenant vrid 1

Spine 1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-128
configure vr VR-Default add ports 1-128
configure vlan default delete ports 33,57,89,105
enable jumbo-frame ports all
create vlan "leaf3_trunk1"
create vlan "loop"
enable loopback-mode vlan loop
create vlan "routed"
configure vlan routed tag 4030
create vlan "trunk1_3"
create vlan "trunk2_3"
configure vlan Default add ports 1-32,34-56,58-88,90-104,106-128 untagged
configure vlan leaf3_trunk1 add ports 89 untagged
configure vlan routed add ports 33 tagged
configure vlan trunk1_3 add ports 57 untagged
configure vlan trunk2_3 add ports 105 untagged
configure vlan leaf3_trunk1 ipaddress 192.168.6.1 255.255.255.254
enable ipforwarding vlan leaf3_trunk1
configure vlan loop ipaddress 3.3.3.100 255.0.0.0
enable ipforwarding vlan loop
configure vlan Mgmt ipaddress 10.127.16.24 255.255.255.0
configure vlan routed ipaddress 172.16.1.1 255.255.255.0
enable ipforwarding vlan routed
configure vlan trunk1_3 ipaddress 192.168.1.1 255.255.255.254
enable ipforwarding vlan trunk1_3
configure vlan trunk2_3 ipaddress 192.168.3.1 255.255.255.254
enable ipforwarding vlan trunk2_3

#

#
# Module ospf configuration.
#
enable ospf
configure ospf add vlan leaf3_trunk1 area 0.0.0.0 link-type point-to-point
configure ospf add vlan loop area 0.0.0.0 link-type point-to-point
configure ospf add vlan routed area 0.0.0.0
configure ospf add vlan trunk1_3 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk2_3 area 0.0.0.0 link-type point-to-point
#
# Module bgp configuration.
#
configure bgp AS-number 10000
configure bgp routerid 3.3.3.3
configure bgp maximum-paths 2
configure bgp add network 3.3.3.100/32
create bgp neighbor 1.1.1.1 remote-AS-number 10000
configure bgp neighbor 1.1.1.1 route-reflector-client
configure bgp neighbor 1.1.1.1 source-interface ipaddress 3.3.3.100
enable bgp neighbor 1.1.1.1
create bgp neighbor 2.2.2.2 remote-AS-number 10000
configure bgp neighbor 2.2.2.2 route-reflector-client
configure bgp neighbor 2.2.2.2 source-interface ipaddress 3.3.3.100
enable bgp neighbor 2.2.2.2
create bgp neighbor 5.5.5.5 remote-AS-number 10000
configure bgp neighbor 5.5.5.5 route-reflector-client
configure bgp neighbor 5.5.5.5 source-interface ipaddress 3.3.3.100
enable bgp neighbor 5.5.5.5
enable bgp neighbor 1.1.1.1 capability l2vpn-EVPN
enable bgp neighbor 2.2.2.2 capability l2vpn-EVPN
enable bgp neighbor 5.5.5.5 capability l2vpn-EVPN
enable bgp export ospf-extern1 address-family ipv4-unicast
enable bgp export ospf-extern2 address-family ipv4-unicast
enable bgp export ospf-inter address-family ipv4-unicast
enable bgp export ospf-intra address-family ipv4-unicast
enable bgp

Spine 2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-64
configure vr VR-Default add ports 1-64
configure vlan default delete ports 25,27,49
create vlan "leaf3_trunk2"
create vlan "loop"
enable loopback-mode vlan loop
create vlan "trunk1_4"
create vlan "trunk2_4"
configure ports 1 auto off speed 10000 duplex full
configure ports 2 auto off speed 10000 duplex full
configure ports 3 auto off speed 10000 duplex full
configure ports 4 auto off speed 10000 duplex full
configure ports 5 auto off speed 10000 duplex full
configure ports 6 auto off speed 10000 duplex full
configure ports 7 auto off speed 10000 duplex full
configure ports 8 auto off speed 10000 duplex full
configure ports 9 auto off speed 10000 duplex full
configure ports 10 auto off speed 10000 duplex full
configure ports 11 auto off speed 10000 duplex full
configure ports 12 auto off speed 10000 duplex full
configure ports 13 auto off speed 10000 duplex full
configure ports 14 auto off speed 10000 duplex full
configure ports 15 auto off speed 10000 duplex full
configure ports 16 auto off speed 10000 duplex full
configure ports 17 auto off speed 10000 duplex full
configure ports 18 auto off speed 10000 duplex full
configure ports 19 auto off speed 10000 duplex full
configure ports 20 auto off speed 10000 duplex full
configure ports 21 auto off speed 10000 duplex full
configure ports 22 auto off speed 10000 duplex full
configure ports 23 auto off speed 10000 duplex full
configure ports 24 auto off speed 10000 duplex full
configure ports 25 auto off speed 10000 duplex full
configure ports 26 auto off speed 10000 duplex full
configure ports 27 auto off speed 10000 duplex full
configure ports 28 auto off speed 10000 duplex full
configure ports 29 auto off speed 10000 duplex full
configure ports 30 auto off speed 10000 duplex full
configure ports 31 auto off speed 10000 duplex full
configure ports 32 auto off speed 10000 duplex full
configure ports 33 auto off speed 10000 duplex full
configure ports 34 auto off speed 10000 duplex full
configure ports 35 auto off speed 10000 duplex full
configure ports 36 auto off speed 10000 duplex full
configure ports 37 auto off speed 10000 duplex full
configure ports 38 auto off speed 10000 duplex full
configure ports 39 auto off speed 10000 duplex full
configure ports 40 auto off speed 10000 duplex full
configure ports 41 auto off speed 10000 duplex full
configure ports 42 auto off speed 10000 duplex full
configure ports 43 auto off speed 10000 duplex full
configure ports 44 auto off speed 10000 duplex full
configure ports 45 auto off speed 10000 duplex full
configure ports 46 auto off speed 10000 duplex full
configure ports 47 auto off speed 10000 duplex full
configure ports 48 auto off speed 10000 duplex full
configure vlan Default add ports 1-24,26,28-48,50-64 untagged
configure vlan leaf3_trunk2 add ports 25 untagged
configure vlan trunk1_4 add ports 27 untagged
configure vlan trunk2_4 add ports 49 untagged
configure vlan leaf3_trunk2 ipaddress 192.168.7.1 255.255.255.254
enable ipforwarding vlan leaf3_trunk2
configure vlan loop ipaddress 4.4.4.4 255.255.255.255
enable ipforwarding vlan loop
configure vlan Mgmt ipaddress 10.127.13.10 255.255.255.0
configure vlan trunk1_4 ipaddress 192.168.2.1 255.255.255.254
enable ipforwarding vlan trunk1_4
configure vlan trunk2_4 ipaddress 192.168.4.1 255.255.255.254
enable ipforwarding vlan trunk2_4

#
# Module bgp configuration.
#
configure bgp AS-number 10000
configure bgp routerid 4.4.4.4
configure bgp maximum-paths 2
configure bgp add network 3.3.3.100/32
configure bgp add network 4.4.4.4/32
create bgp neighbor 1.1.1.1 remote-AS-number 10000
configure bgp neighbor 1.1.1.1 route-reflector-client
configure bgp neighbor 1.1.1.1 source-interface ipaddress 4.4.4.4
enable bgp neighbor 1.1.1.1
create bgp neighbor 2.2.2.2 remote-AS-number 10000
configure bgp neighbor 2.2.2.2 route-reflector-client
configure bgp neighbor 2.2.2.2 source-interface ipaddress 4.4.4.4
enable bgp neighbor 2.2.2.2
create bgp neighbor 5.5.5.5 remote-AS-number 10000
configure bgp neighbor 5.5.5.5 route-reflector-client
configure bgp neighbor 5.5.5.5 source-interface ipaddress 4.4.4.4
enable bgp neighbor 5.5.5.5
enable bgp neighbor 1.1.1.1 capability l2vpn-EVPN
enable bgp neighbor 2.2.2.2 capability l2vpn-EVPN
enable bgp neighbor 5.5.5.5 capability l2vpn-EVPN
enable bgp
#
# Module ospf configuration.
#
enable ospf
configure ospf add vlan leaf3_trunk2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan loop area 0.0.0.0
configure ospf add vlan trunk1_4 area 0.0.0.0 link-type point-to-point
configure ospf add vlan trunk2_4 area 0.0.0.0 link-type point-to-point

Verification

Leaf1.1 # show ospf neighbor
Neighbor ID     Pri State              Up/Dead Time             Address         Interface
          BFD Session State
==========================================================================================
2.2.2.2           1 FULL      /DROTHER 00:00:59:02/00:00:00:08  192.168.5.1     trunk1_2
          None

192.168.6.1       1 FULL      /DROTHER 00:00:59:02/00:00:00:02  192.168.1.1     trunk1_3
          None

192.168.7.1       1 FULL      /DROTHER 00:00:59:02/00:00:00:00  192.168.2.1     trunk1_4
          None

Total number of neighbors: 3 (All neighbors in Full state)

Leaf2.15 # show ospf neighbor
Neighbor ID     Pri State              Up/Dead Time             Address         Interface
          BFD Session State
==========================================================================================
1.1.1.1           1 FULL      /DROTHER 00:00:59:22/00:00:00:02  192.168.5.0     trunk1_2
          None

192.168.6.1       1 FULL      /DROTHER 00:00:59:37/00:00:00:05  192.168.3.1     trunk2_3
          None

192.168.7.1       1 FULL      /DROTHER 00:00:59:37/00:00:00:06  192.168.4.1     trunk2_4
          None

Leaf3.12 # show ospf neighbor
Neighbor ID     Pri State              Up/Dead Time             Address         Interface
          BFD Session State
==========================================================================================
192.168.6.1       1 FULL      /DROTHER 00:00:02:00/00:00:00:01  192.168.6.1     leaf3_tru
          None

192.168.7.1       1 FULL      /DROTHER 00:01:33:25/00:00:00:01  192.168.7.1     leaf3_tru
          None
Total number of neighbors: 2 (All neighbors in Full state)

Spine1.1 # show ospf neighbor
Neighbor ID     Pri State              Up/Dead Time             Address         Interface
          BFD Session State
==========================================================================================
192.168.7.0       1 FULL      /DROTHER 00:00:22:40/00:00:00:01  192.168.6.0     leaf3_tru
          None

1.1.1.1           1 FULL      /DROTHER 00:01:23:37/00:00:00:07  192.168.1.0     trunk1_3
          None

2.2.2.2           1 FULL      /DROTHER 00:01:23:53/00:00:00:03  192.168.3.0     trunk2_3
          None

Total number of neighbors: 3 (All neighbors in Full state)

Spine2.1 # show ospf neighbor
Neighbor ID     Pri State              Up/Dead Time             Address         Interface
          BFD Session State
==========================================================================================
192.168.7.0       1 FULL      /DROTHER 00:01:54:24/00:00:00:04  192.168.7.0     leaf3_tru
          None

1.1.1.1           1 FULL      /DROTHER 00:01:23:55/00:00:00:05  192.168.2.0     trunk1_4
          None

2.2.2.2           1 FULL      /DROTHER 00:01:24:10/00:00:00:10  192.168.4.0     trunk2_4
          None

Total number of neighbors: 3 (All neighbors in Full state)

Verify BGP Adjacency

Leaf1.1 # show bgp neighbor

     Peer                                    AS         Weight State        InMsgs OutMsgs(InQ)  Up/Down
------------------------------------------------------------------------------------------------------------
Ie-- 2.2.2.2                                 10000      1      ESTABLISHED  150    149   (0    ) 0:1:59:37
Ie-- 3.3.3.100                               10000      1      ESTABLISHED  182    149   (0    ) 0:1:59:37
Ie-- 4.4.4.4                                 10000      1      ESTABLISHED  191    158   (0    ) 0:0:17:47

Flags: (d) disabled, (e) enabled, (E) external peer, (I) internal peer
       (m) EBGP multihop, (r) route reflector client

BGP Peer Statistics
  Total Peers       : 3
  EBGP Peers        : 0                 IBGP Peers          : 3
  RR Client         : 0                 EBGP Multihop       : 0
  Enabled           : 3                 Disabled            : 0

(Software Update Required) Leaf2.16 # show bgp neighbor

     Peer                                    AS         Weight State        InMsgs OutMsgs(InQ)  Up/Down
------------------------------------------------------------------------------------------------------------
Ie-- 1.1.1.1                                 10000      1      ESTABLISHED  271    288   (0    ) 0:1:59:59
Ie-- 3.3.3.100                               10000      1      ESTABLISHED  556    415   (0    ) 0:2:52:09
Ie-- 4.4.4.4                                 10000      1      ESTABLISHED  1585   1509  (0    ) 0:20:58:35

Flags: (d) disabled, (e) enabled, (E) external peer, (I) internal peer
       (m) EBGP multihop, (r) route reflector client

BGP Peer Statistics
  Total Peers       : 3
  EBGP Peers        : 0                 IBGP Peers          : 3
  RR Client         : 0                 EBGP Multihop       : 0
  Enabled           : 3                 Disabled            : 0

Leaf3.1 # show bgp neighbor

     Peer                                    AS         Weight State        InMsgs OutMsgs(InQ)  Up/Down
------------------------------------------------------------------------------------------------------------
Ie-- 3.3.3.100                               10000      1      ESTABLISHED  171    144   (0    ) 0:1:55:46
Ie-- 4.4.4.4                                 10000      1      ESTABLISHED  175    144   (0    ) 0:1:55:37

Flags: (d) disabled, (e) enabled, (E) external peer, (I) internal peer
       (m) EBGP multihop, (r) route reflector client

BGP Peer Statistics
  Total Peers       : 2
  EBGP Peers        : 0                 IBGP Peers          : 2
  RR Client         : 0                 EBGP Multihop       : 0
  Enabled           : 2                 Disabled            : 0

Spine1.2 # show bgp neighbor

     Peer                                    AS         Weight State        InMsgs OutMsgs(InQ)  Up/Down
------------------------------------------------------------------------------------------------------------
Ier- 1.1.1.1                                 10000      1      ESTABLISHED  150    183   (0    ) 0:2:00:42
Ier- 2.2.2.2                                 10000      1      ESTABLISHED  222    265   (0    ) 0:2:52:53
Ier- 5.5.5.5                                 10000      1      ESTABLISHED  184    249   (0    ) 0:1:56:07

Flags: (d) disabled, (e) enabled, (E) external peer, (I) internal peer
       (m) EBGP multihop, (r) route reflector client

BGP Peer Statistics
  Total Peers       : 3
  EBGP Peers        : 0                 IBGP Peers          : 3
  RR Client         : 3                 EBGP Multihop       : 0
  Enabled           : 3                 Disabled            : 0

Spine2.2 # show bgp neighbor

     Peer                                    AS         Weight State        InMsgs OutMsgs(InQ)  Up/Down
------------------------------------------------------------------------------------------------------------
Ier- 1.1.1.1                                 10000      1      ESTABLISHED  276    390   (0    ) 0:0:19:14
Ier- 2.2.2.2                                 10000      1      ESTABLISHED  1501   1606  (0    ) 0:20:59:40
Ier- 5.5.5.5                                 10000      1      ESTABLISHED  1465   1595  (0    ) 0:1:56:20

Flags: (d) disabled, (e) enabled, (E) external peer, (I) internal peer
       (m) EBGP multihop, (r) route reflector client

BGP Peer Statistics
  Total Peers       : 3
  EBGP Peers        : 0                 IBGP Peers          : 3
  RR Client         : 3                 EBGP Multihop       : 0
  Enabled           : 3                 Disabled            : 0

Verify EVPN EVI

Leaf1.2 # show bgp EVPN evi
Flgs EVI-Idx Name                        VNI Local VTEP                        RD            Import RT            Export RT
---- ------- -------------------- ---------- --------------- -------------------- -------------------- --------------------
*         10                             100 1.1.1.200               1.1.1.200:10
*                                                                                             10000:10             10000:10
*                                                                                      10000:268435556      10000:268435556
*                                                                                     10000:1073741834     10000:1073741834
*       4087                             200 1.1.1.200             1.1.1.200:4087
*                                                                                           10000:4087           10000:4087
*                                                                                      10000:268435656      10000:268435656
*                                                                                     10000:1073745911     10000:1073745911

Flags: (*) Entry is active, (S) Entry is statically configured.
RD: Route Distinguisher
RT: Route Target

Some static entries may have multiple Route Target sets. These are listed in rows immediately following the initial row
for the EVI-Idx.

EVIs Displayed - Total: 2   Static: 0   Dyn: 2

Leaf2.17 # show bgp EVPN evi
Flgs EVI-Idx Name                        VNI Local VTEP                        RD            Import RT            Export RT
---- ------- -------------------- ---------- --------------- -------------------- -------------------- --------------------
*         10                             100 1.1.1.200               1.1.1.200:10
*                                                                                             10000:10             10000:10
*                                                                                      10000:268435556      10000:268435556
*                                                                                     10000:1073741834     10000:1073741834
*       4088                             200 1.1.1.200             1.1.1.200:4088
*                                                                                           10000:4088           10000:4088
*                                                                                      10000:268435656      10000:268435656
*                                                                                     10000:1073745912     10000:1073745912

Flags: (*) Entry is active, (S) Entry is statically configured.
RD: Route Distinguisher
RT: Route Target

Some static entries may have multiple Route Target sets. These are listed in rows immediately following the initial row
for the EVI-Idx.

EVIs Displayed - Total: 2   Static: 0   Dyn: 2

Leaf3.2 # show bgp EVPN evi
Flgs EVI-Idx Name                        VNI Local VTEP                        RD            Import RT            Export RT
---- ------- -------------------- ---------- --------------- -------------------- -------------------- --------------------
*         10                             100 5.5.5.5                   5.5.5.5:10
*                                                                                             10000:10             10000:10
*                                                                                      10000:268435556      10000:268435556
*                                                                                     10000:1073741834     10000:1073741834
*       4090                             200 5.5.5.5                 5.5.5.5:4090
*                                                                                           10000:4090           10000:4090
*                                                                                      10000:268435656      10000:268435656
*                                                                                     10000:1073745914     10000:1073745914

Flags: (*) Entry is active, (S) Entry is statically configured.
RD: Route Distinguisher
RT: Route Target

Some static entries may have multiple Route Target sets. These are listed in rows immediately following the initial row
for the EVI-Idx.

EVIs Displayed - Total: 2   Static: 0   Dyn: 2

Spine1.3 # show bgp EVPN evi
Flgs EVI-Idx Name                        VNI Local VTEP                        RD            Import RT            Export RT
---- ------- -------------------- ---------- --------------- -------------------- -------------------- --------------------
*         10                             100 3.3.3.100               3.3.3.100:10
*                                                                                             10000:10             10000:10
*                                                                                      10000:268435556      10000:268435556
*                                                                                     10000:1073741834     10000:1073741834
*       4091                             200 3.3.3.100             3.3.3.100:4091
*                                                                                           10000:4091           10000:4091
*                                                                                      10000:268435656      10000:268435656
*                                                                                     10000:1073745915     10000:1073745915

Flags: (*) Entry is active, (S) Entry is statically configured.
RD: Route Distinguisher
RT: Route Target

Some static entries may have multiple Route Target sets. These are listed in rows immediately following the initial row
for the EVI-Idx.

EVIs Displayed - Total: 2   Static: 0   Dyn: 2

Verify IMR

Leaf1.4 # show bgp routes l2vpn-EVPN inclusive-multicast all

Routes:
     Originating IP      Tunnel ID           VNI          Peer                                  Next-Hop            AS-Path
------------------------------------------------------------------------------------------------------------------------------
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          2.2.2.2                               1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          2.2.2.2                               1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          4.4.4.4                               1.1.1.200
  ?  RD: 3.3.3.100:10       Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           100          3.3.3.100                             3.3.3.100
  ?  RD: 3.3.3.100:4091     Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           200          3.3.3.100                             3.3.3.100
  ?  RD: 5.5.5.5:10         Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             100          3.3.3.100                             5.5.5.5
  ?  RD: 5.5.5.5:10         Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             100          4.4.4.4                               5.5.5.5
  ?  RD: 5.5.5.5:4090       Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             200          3.3.3.100                             5.5.5.5
  ?  RD: 5.5.5.5:4090       Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             200          4.4.4.4                               5.5.5.5

Flags: (*) Preferred BGP route, (>) Active, (d) Suppressed, (h) History
       (s) Stale, (m) Multipath, (u) Unfeasible

Origin: (?) Incomplete, (e) EGP, (i) IGP

BGP Route Statistics EVPN route type 3
  Total Rxed Routes : 10
  Feasible Routes   : 10
  Active Routes     : 0
  Rejected Routes   : 0
  Unfeasible Routes : 0
Route Statistics on Session Type
  Routes from Int Peer: 10
  Routes from Ext Peer: 0

Leaf2.18 #  show bgp routes l2vpn-EVPN inclusive-multicast all

Routes:
     Originating IP      Tunnel ID           VNI          Peer                                  Next-Hop            AS-Path
------------------------------------------------------------------------------------------------------------------------------
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          1.1.1.1                               1.1.1.200
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          4.4.4.4                               1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          1.1.1.1                               1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          4.4.4.4                               1.1.1.200
  ?  RD: 3.3.3.100:10       Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           100          3.3.3.100                             3.3.3.100
  ?  RD: 3.3.3.100:4091     Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           200          3.3.3.100                             3.3.3.100
  ?  RD: 5.5.5.5:10         Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             100          3.3.3.100                             5.5.5.5
  ?  RD: 5.5.5.5:10         Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             100          4.4.4.4                               5.5.5.5
  ?  RD: 5.5.5.5:4090       Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             200          3.3.3.100                             5.5.5.5
  ?  RD: 5.5.5.5:4090       Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             200          4.4.4.4                               5.5.5.5

Flags: (*) Preferred BGP route, (>) Active, (d) Suppressed, (h) History
       (s) Stale, (m) Multipath, (u) Unfeasible

Origin: (?) Incomplete, (e) EGP, (i) IGP

BGP Route Statistics EVPN route type 3
  Total Rxed Routes : 12
  Feasible Routes   : 12
  Active Routes     : 0
  Rejected Routes   : 0
  Unfeasible Routes : 0
Route Statistics on Session Type
  Routes from Int Peer: 12
  Routes from Ext Peer: 0

Leaf3.12 # show bgp routes l2vpn-EVPN inclusive-multicast all

Routes:
     Originating IP      Tunnel ID           VNI          Peer                                  Next-Hop            AS-Path
------------------------------------------------------------------------------------------------------------------------------
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          4.4.4.4                               1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          4.4.4.4                               1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          3.3.3.100                             1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          4.4.4.4                               1.1.1.200
  ?  RD: 3.3.3.100:10       Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           100          3.3.3.100                             3.3.3.100
  ?  RD: 3.3.3.100:4091     Ethernet Tag: 0     Tunnel Type: 6
     3.3.3.100           3.3.3.100           200          3.3.3.100                             3.3.3.100

Flags: (*) Preferred BGP route, (>) Active, (d) Suppressed, (h) History
       (s) Stale, (m) Multipath, (u) Unfeasible

Origin: (?) Incomplete, (e) EGP, (i) IGP

BGP Route Statistics EVPN route type 3
  Total Rxed Routes : 8
  Feasible Routes   : 8
  Active Routes     : 0
  Rejected Routes   : 0
  Unfeasible Routes : 0
Route Statistics on Session Type
  Routes from Int Peer: 8
  Routes from Ext Peer: 0

show bgp routes l2vpn-EVPN inclusive-multicast all

Routes:
     Originating IP      Tunnel ID           VNI          Peer                                  Next-Hop            AS-Path
------------------------------------------------------------------------------------------------------------------------------
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          1.1.1.1                               1.1.1.200
  ?  RD: 1.1.1.200:10       Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           100          2.2.2.2                               1.1.1.200
  ?  RD: 1.1.1.200:4087     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          1.1.1.1                               1.1.1.200
  ?  RD: 1.1.1.200:4088     Ethernet Tag: 0     Tunnel Type: 6
     1.1.1.200           1.1.1.200           200          2.2.2.2                               1.1.1.200
  ?  RD: 5.5.5.5:10         Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             100          5.5.5.5                               5.5.5.5
  ?  RD: 5.5.5.5:4090       Ethernet Tag: 0     Tunnel Type: 6
     5.5.5.5             5.5.5.5             200          5.5.5.5                               5.5.5.5

Flags: (*) Preferred BGP route, (>) Active, (d) Suppressed, (h) History
       (s) Stale, (m) Multipath, (u) Unfeasible

Origin: (?) Incomplete, (e) EGP, (i) IGP

BGP Route Statistics EVPN route type 3
  Total Rxed Routes : 6
  Feasible Routes   : 6
  Active Routes     : 0
  Rejected Routes   : 0
  Unfeasible Routes : 0
Route Statistics on Session Type
  Routes from Int Peer: 6
  Routes from Ext Peer: 0

Verify Type 2 MAC Routes

Leaf1.4 # show bgp EVPN mac
Src EVI-Idx MAC               BGP Next Hop           VNI ESI                            ESI-Port   In Use Sequence
--- ------- ----------------- --------------- ---------- ------------------------------ ---------- ------ --------
R        10 00:00:00:1c:7e:60 3.3.3.100              100                                           Yes
L        10 00:00:0b:cb:21:a4                        100                                           Yes
L        10 00:00:0c:14:88:4b                        100                                           Yes
L        10 00:00:0c:34:c1:ed                        100                                           Yes
L        10 00:04:96:9d:42:32                        100                                           Yes
L        10 00:04:96:a3:fb:b0                        100                                           Yes
R        10 00:11:88:ff:04:74 5.5.5.5                100                                           Yes
L      4087 00:00:00:1c:7e:5f                        200                                           Yes
R      4087 00:00:00:1c:7e:61 3.3.3.100              200                                           Yes
L      4087 00:00:04:d6:4d:6e                        200                                           Yes
L      4087 00:00:04:d6:4d:6f                        200                                           Yes
L      4087 00:04:96:9d:42:32                        200                                           Yes
L      4087 00:04:96:a3:fb:b0                        200                                           Yes
R      4087 00:11:88:ff:04:74 5.5.5.5                200                                           Yes

Src: (L) Local, (R) Remote
In Use: Yes/No - Indicates if entry is installed in MAC forwarding database.

Total MAC/IP entries displayed: 14

Leaf2.19 # show bgp EVPN mac
Src EVI-Idx MAC               BGP Next Hop           VNI ESI                            ESI-Port   In Use Sequence
--- ------- ----------------- --------------- ---------- ------------------------------ ---------- ------ --------
R        10 00:00:00:1c:7e:60 3.3.3.100              100                                           Yes
L        10 00:00:0b:cb:21:a4                        100                                           Yes
L        10 00:00:0c:14:88:4b                        100