- SONiC管理フレームワークCLIを起動します。
- 設定モードにします。
- ホスト名を指定します。
- インターフェイスの命名モードを標準に変更します。 注: デル・テクノロジーズ, Dell Technologiesでは、標準インターフェイス命名モードを使用することを推奨します。デフォルトの命名モードでは、ポート番号は0から始まります。標準命名モードでは、ポート番号は1から始まり、スイッチ上に印字されている番号と一致します。
- 終了してLinuxシェルに戻り、変更をアクティブにします。
リーフ1A リーフ1B sonic-cli
configure terminal
hostname Leaf1A
interface-naming standard
end
exitsonic-cli
configure terminal
hostname Leaf1B
interface-naming standard
end
exit - SONiC管理フレームワークCLIを起動します。
- 設定モードにします。
- 固有のIPエニーキャストMACアドレスを設定します。 このアドレスは、リーフスパイン ファブリック内のすべてのリーフ スイッチで同じである必要があります。
- IPv4およびIPv6エニーキャスト アドレス指定を有効にします。
- スイッチ スパニング ツリー モードを、VLANごとの高速スパニング ツリー(RPVST)に設定します。 注: このトポロジーはループフリーであり、適切にケーブル接続および構成されている場合、スパニング ツリーによってブロックされるポートはありません。 スパニング ツリーの使用はベスト プラクティスであり、予防措置としてのみ使用されます。
- エッジ ポートのブリッジ プロトコル データ フィルタリング ユニット(BPDU)フィルタリングをグローバルに設定します。
- ベスト プラクティスとして、管理仮想ルーティングおよび転送(VRF)インスタンスを作成します。 このインスタンスにより、分離されたルーティング テーブルが管理インターフェイスに提供されます。図に示されているように、管理VRFには mgmtという名前を付ける必要があります。
- デフォルト以外(またはテナント)のVRFインスタンスを作成します。 VRF名は「 Vrf」で始まる必要があり、最大15文字のテキスト文字列です。注: デフォルト以外のVRFは、 VXLANで対称統合ブリッジングおよびルーティング(IRB)を使用する必要があります。対称IRBでは、入力および出力 VTEP, VTEPsの両方がパケットを最終的な宛先にルーティングします。
- 管理VRFを作成した場合は、スイッチのSSHサーバーを管理VRFに配置します。 これにより、SSHを使用して管理インターフェイス上のスイッチ コンソールにアクセスできます。
- ダウンストリーム リンクのリンク状態トラッキングを有効にします。 この設定は、スイッチがオフラインになった場合に、スイッチのフェールオーバー時間を最小限に抑えるのに役立ちます。
リーフ1A リーフ1B 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