- Enter the SONiC Management Framework CLI.
- Enter configuration mode.
- Specify a hostname.
- Change the interface naming mode to standard.
- Exit back to the Linux shell to activate the changes.
Spine1 Spine2 sonic-cli
configure terminal
hostname Spine1
interface-naming standard
end
exitsonic-cli
configure terminal
hostname Spine2
interface-naming standard
end
exit - Enter the SONiC Management Framework CLI.
- Enter configuration mode.
- Set the switch spanning tree mode to rapid per-VLAN spanning tree (RPVST).
- Create the management VRF as a best practice. Doing so provides an isolated routing table for the management interface. The management VRF must be named mgmt as shown.
- Put the SSH server in the management VRF.
Spine1 Spine2 sonic-cli
configure terminal
spanning-tree mode rapid-pvst
ip vrf mgmt
ssh-server vrf mgmtsonic-cli
configure terminal
spanning-tree mode rapid-pvst
ip vrf mgmt
ssh-server vrf mgmt