Home > Networking Solutions > Enterprise/Data Center Networking Solutions > Enterprise SONiC Networking Solutions > Guides > Dell Technologies Enterprise SONiC Edge > Full switch configuration
Note: The GNS3 topology uses Enterprise SONiC vAppliance(s). The RetailEndPoints are Sonic vAppliances to test end dev connectivity.
The end devices connected on leaf12 ports Eth1/22 and Eth1/24 are not configured in this GNS3 setup but was tested separately with a N3248PXE switch running edge image for PoE and Dot1x features.
LEAF1 |
hostname LEAF1 ip anycast-mac-address 00:00:00:01:02:03 ip anycast-address enable ! mclag gateway-mac 00:11:00:11:00:11 ! ip vrf Vrf1 ! interface Vlan50 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.50.254/24 ! interface Vlan60 no autostate ip vrf forwarding Vrf1 ! interface Vlan140 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.140.254/24 ! interface Loopback 0 description router-id ip address 10.0.2.1/32 ! interface Loopback 1 description lvtep ip address 10.10.10.1/32 ! interface PortChannel 100 description MCLAG_Peerlink switchport trunk allowed Vlan 50,60,140 no shutdown ! mclag domain 1 source-ip 10.0.2.1 peer-ip 10.0.2.2 peer-link PortChannel100 mclag-system-mac 00:00:a1:a1:a1:a1 keepalive-interval 1 session-timeout 30 delay-restore 90 ! interface PortChannel 202 mode on switchport trunk allowed Vlan 50,140 no shutdown mclag 1
interface Eth1/1 description SPINE1 mtu 9100 speed 25000 no shutdown ipv6 enable
interface Eth1/3 description host mtu 9100 speed 25000 channel-group 202 no shutdown
interface Eth1/4 description SPINE2 mtu 9100 speed 25000 no shutdown ipv6 enable
interface Eth1/7 description MCLAG_MBR mtu 9100 speed 25000 channel-group 100 no shutdown ! interface Eth1/8 description MCLAG_MBR mtu 9100 speed 25000 channel-group 100 no shutdown
router bgp 65001 vrf Vrf1 router-id 10.0.2.1 log-neighbor-changes timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise ipv4 unicast ! router bgp 65001 router-id 10.0.2.1 log-neighbor-changes bestpath as-path multipath-relax timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise-all-vni ! peer-group SPINE remote-as external timers connect 30 advertisement-interval 0 capability extended-nexthop ! address-family ipv4 unicast activate allowas-in 2 send-community both ! address-family l2vpn evpn activate ! neighbor interface Eth1/1 peer-group SPINE
! neighbor interface Eth1/4 peer-group SPINE ! interface vxlan vtep1 source-ip 10.10.10.1 map vni 1400 vlan 140 map vni 500 vlan 50 map vni 600 vlan 60 map vni 600 vrf Vrf1 |
LEAF2 |
hostname LEAF2 ip anycast-mac-address 00:00:00:01:02:03 ip anycast-address enable ! mclag gateway-mac 00:11:00:11:00:11 ! ip vrf Vrf1 ! interface Vlan50 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.50.254/24 ! interface Vlan60 no autostate ip vrf forwarding Vrf1 ! interface Vlan140 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.140.254/24 ! interface Loopback 0 description router-id ip address 10.0.2.2/32 ! interface Loopback 1 description lvtep ip address 10.10.10.1/32 ! interface PortChannel 100 description MCLAG_Peerlink switchport trunk allowed Vlan 50,60,140 no shutdown ! mclag domain 1 source-ip 10.0.2.2 peer-ip 10.0.2.1 peer-link PortChannel100 mclag-system-mac 00:00:a1:a1:a1:a1 keepalive-interval 1 session-timeout 30 delay-restore 90
interface PortChannel 202 mode on switchport trunk allowed Vlan 50,140 no shutdown mclag 1
interface Eth1/2 mtu 9100 speed 25000 no shutdown ipv6 enable
interface Eth1/3 description host mtu 9100 speed 25000 channel-group 202 no shutdown
interface Eth1/5 mtu 9100 speed 25000 no shutdown ipv6 enable
interface Eth1/7 mtu 9100 speed 25000 channel-group 100 no shutdown ! interface Eth1/8 mtu 9100 speed 25000 channel-group 100 no shutdown !
router bgp 65001 vrf Vrf1 router-id 10.0.2.2 log-neighbor-changes timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise ipv4 unicast ! router bgp 65001 router-id 10.0.2.2 log-neighbor-changes bestpath as-path multipath-relax timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise-all-vni ! peer-group SPINE remote-as external timers connect 30 advertisement-interval 0 capability extended-nexthop ! address-family ipv4 unicast activate allowas-in 2 send-community both ! address-family l2vpn evpn activate ! neighbor interface Eth1/2 peer-group SPINE
! neighbor interface Eth1/5 peer-group SPINE ! interface vxlan vtep2 source-ip 10.10.10.1 map vni 1400 vlan 140 map vni 500 vlan 50 map vni 600 vlan 60 map vni 600 vrf Vrf1 |
LEAF12 |
ip anycast-mac-address 00:00:00:01:02:03 ip anycast-address enable ! ip vrf Vrf1 ! interface Vlan50 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.50.254/24 ! interface Vlan60 neigh-suppress no autostate ip vrf forwarding Vrf1 ! interface Vlan140 neigh-suppress no autostate ip vrf forwarding Vrf1 ip anycast-address 192.168.140.254/24 ! interface Loopback 0 description router-id ip address 10.0.2.12/32 ! interface Loopback 1 description lvtep ip address 10.10.10.12/32
interface Eth1/1 mtu 9100 speed 25000 no shutdown switchport trunk allowed Vlan 140
interface Eth1/2 mtu 9100 speed 25000 no shutdown switchport trunk allowed Vlan 50 ! interface Eth1/3 mtu 9100 speed 25000 no shutdown ipv6 enable
router bgp 650012 vrf Vrf1 log-neighbor-changes timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 1 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise ipv4 unicast ! router bgp 650012 router-id 10.0.2.12 log-neighbor-changes bestpath as-path multipath-relax timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! address-family l2vpn evpn advertise-all-vni ! peer-group SPINE remote-as external timers connect 30 advertisement-interval 0 capability extended-nexthop ! address-family ipv4 unicast activate allowas-in 2 send-community both ! address-family l2vpn evpn activate ! neighbor interface Eth1/3 peer-group SPINE ! neighbor interface Eth1/6 peer-group SPINE ! interface vxlan vtep12 source-ip 10.10.10.12 primary-ip 10.0.2.12 map vni 1400 vlan 140 map vni 500 vlan 50 map vni 600 vlan 60 map vni 600 vrf Vrf1 |
SPINE1 |
interface Loopback 0 description router-id ip address 10.0.1.1/32 ! interface Eth1/1 description LEAF1 mtu 9100 speed 25000 no shutdown ipv6 enable ! interface Eth1/2 description LEAF2 mtu 9100 speed 25000 no shutdown ipv6 enable ! interface Eth1/3 description LEAF12 mtu 9100 speed 25000 no shutdown ipv6 enable
router bgp 65000 router-id 10.0.1.1 log-neighbor-changes bestpath as-path multipath-relax timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 2 maximum-paths ibgp 1 ! peer-group LEAF remote-as external timers 60 180 timers connect 30 advertisement-interval 0 capability extended-nexthop ! address-family ipv4 unicast activate send-community both ! address-family l2vpn evpn activate ! neighbor interface Eth1/1 peer-group LEAF ! neighbor interface Eth1/2 peer-group LEAF ! neighbor interface Eth1/3 peer-group LEAF |
SPINE2 |
interface Loopback 0 description router-id ip address 10.0.1.2/32
interface Eth1/4 mtu 9100 speed 25000 no shutdown ipv6 enable ! interface Eth1/5 mtu 9100 speed 25000 no shutdown ipv6 enable ! interface Eth1/6 mtu 9100 speed 25000 no shutdown ipv6 enable
router bgp 65000 router-id 10.0.1.2 log-neighbor-changes bestpath as-path multipath-relax timers 60 180 ! address-family ipv4 unicast redistribute connected maximum-paths 3 maximum-paths ibgp 1 ! peer-group LEAF remote-as external timers connect 30 advertisement-interval 0 capability extended-nexthop ! address-family ipv4 unicast activate send-community both ! address-family l2vpn evpn activate ! neighbor interface Eth1/4 peer-group LEAF ! neighbor interface Eth1/5 peer-group LEAF ! neighbor interface Eth1/6 peer-group LEAF ! |
ENDHOSTs |
host1:
interface Vlan50 ip address 192.168.50.10/24 ! interface PortChannel 202 mode on switchport trunk allowed Vlan 50 no shutdown
interface Eth1/3 mtu 9100 speed 10000 channel-group 202 no shutdown ! interface Eth1/4 mtu 9100 speed 10000 channel-group 202 no shutdown
ip route 192.0.0.0/8 192.168.50.254
host2:
! interface Vlan140 ip address 192.168.140.10/24 ! interface Eth1/1 mtu 9100 speed 25000 no shutdown switchport trunk allowed Vlan 140 ip route 192.0.0.0/8 192.168.140.254
host3: ! interface Vlan 50 ip address 192.168.50.20/24 ! interface Eth1/2 mtu 9100 speed 25000 no shutdown switchport trunk allowed Vlan 50
ip route 192.0.0.0/8 192.168.50.254 |