The following table provides a complete list of commands needed at each switch to configure BGP.
configure terminal
router bgp 65001 router-id 10.0.1.1 bestpath as-path multipath-relax ! address-family ipv4 unicast redistribute connected maximum-paths 128 ! address-family l2vpn evpn advertise-all-vni ! peer-group spine remote-as external bfd capability extended-nexthop ! address-family ipv4 unicast activate allowas-in 2 ! address-family l2vpn evpn activate ! neighbor interface Ethernet92 peer-group spine ! end
write memory | configure terminal
router bgp 65000 router-id 10.0.1.0 bestpath as-path multipath-relax ! address-family ipv4 unicast redistribute connected maximum-paths 128 ! address-family l2vpn evpn ! peer-group borderRouter remote-as external bfd capability extended-nexthop ! address-family ipv4 unicast activate ! address-family l2vpn evpn activate ! peer-group leaf remote-as external bfd capability extended-nexthop ! address-family ipv4 unicast activate ! address-family l2vpn evpn activate ! neighbor interface Ethernet168 peer-group leaf ! neighbor interface Ethernet192 peer-group borderRouter ! end
write memory | configure terminal
router bgp 65012 router-id 10.0.1.12 bestpath as-path multipath-relax ! address-family ipv4 unicast redistribute connected maximum-paths 128 ! address-family l2vpn evpn advertise-all-vni ! peer-group spine remote-as external bfd capability extended-nexthop ! address-family ipv4 unicast activate allowas-in 2 ! address-family l2vpn evpn activate ! neighbor interface Ethernet92 peer-group spine ! end
write memory |