- Enter the SONiC Management Framework CLI.
- Enter configuration mode.
- Specify a hostname.
- Change the interface naming mode to standard. Note: Dell Technologies recommends using standard interface naming mode. In default naming mode, port numbers start at 0. In standard naming mode, port numbers start at 1, which matches the numbers that are printed on the switch.
- Exit back to the Linux shell to activate the changes.
Leaf1A Leaf1B sonic-cli
configure terminal
hostname Leaf1A
interface-naming standard
end
exitsonic-cli
configure terminal
hostname Leaf1B
interface-naming standard
end
exit - Enter the SONiC Management Framework CLI.
- Enter configuration mode.
- Configure a unique IP anycast MAC address. This address must be the same on all leaf switches in the leaf-spine fabric.
- Enable IPv4 and IPv6 anycast addressing.
- Set the switch spanning tree mode to rapid per-VLAN spanning tree (RPVST). Note: This topology is loop-free and no ports should be blocked by spanning tree when properly cabled and configured. The use of spanning tree is a best practice and is used here as a precaution only.
- Configure Bridge Protocol Data Filtering Unit (BPDU) filtering for edge ports globally.
- Create the management virtual routing and forwarding (VRF) instance as a best practice. This instance provides an isolated routing table for the management interface. The management VRF must be named mgmt as shown.
- Create a nondefault (or tenant) VRF instance. The VRF name must start with Vrf and is a text string with up to 15 characters.Note: A nondefault VRF is required to use symmetric integrated bridging and routing (IRB) with VXLAN. In symmetric IRB, both the ingress and egress VTEPs route packets to their final destination.
- If you created a management VRF, put the SSH server of the switch in the management VRF. Doing so enables you to access the switch console on the management interface by using SSH.
- Enable link state tracking for downstream links. This setting helps to minimize switch failover time if a switch goes offline.
Leaf1A Leaf1B sonic-cli
configure terminal
ip anycast-mac-address 00:00:00:11:11:11
ip anycast-address enable
ipv6 anycast-address enable
spanning-tree mode rapid-pvst
spanning-tree edge-port bpdufilter default
ip vrf mgmt
ip vrf VrfTenant1
ssh-server vrf mgmt
link state track mclag
timeout 180
downstream all-mclagsonic-cli
configure terminal
ip anycast-mac-address 00:00:00:11:11:11
ip anycast-address enable
ipv6 anycast-address enable
spanning-tree mode rapid-pvst
spanning-tree edge-port bpdufilter default
ip vrf mgmt
ip vrf VrfTenant1
ssh-server vrf mgmt
link state track mclag
timeout 180
downstream all-mclag