- SONiC管理フレームワークCLIを起動します。
- 設定モードにします。
- ホスト名を指定します。
- インターフェイスの命名モードを標準に変更します。
- 終了してLinuxシェルに戻り、変更をアクティブにします。
スパイン1 スパイン2 sonic-cli
configure terminal
hostname Spine1
interface-naming standard
end
exitsonic-cli
configure terminal
hostname Spine2
interface-naming standard
end
exit - SONiC管理フレームワークCLIを起動します。
- 設定モードにします。
- スイッチ スパニング ツリー モードを、VLANごとの高速スパニング ツリー(RPVST)に設定します。
- ベスト プラクティスとして、管理VRFを作成します。 これにより、分離されたルーティング テーブルが管理インターフェイスに提供されます。図に示されているように、管理VRFには mgmtという名前を付ける必要があります。
- SSHサーバーを管理VRFに配置します。
スパイン1 スパイン2 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