SONiCを利用したオープンネットワーク環境の構成例です。
MC-LAGによる高可用性ネットワークを実現し、AI/HPC基盤や大規模ストレージ環境における冗長化構成をシンプルに構築できます。
sudo config hostname LEAF-1
sudo config hostname LEAF-2
sudo date -s "10/19 14:47 2023"
Thu Oct 19 14:47:00 UTC 2023
sudo config portchannel add PortChannel01
sudo config portchannel add PortChannel02
sudo config portchannel add PortChannel03
sudo config portchannel add PortChannel04
sudo config portchannel member add PortChannel01 Ethernet48
sudo config portchannel member add PortChannel01 Ethernet52
sudo config portchannel member add PortChannel02 Ethernet0
sudo config portchannel member add PortChannel03 Ethernet1
sudo config portchannel member add PortChannel04 Ethernet2
sudo config vlan add 10
sudo config vlan add 1
sudo config vlan member add 10 PortChannel01
sudo config vlan member add -u 1 PortChannel01
sudo config vlan member add -u 1 PortChannel02
sudo config vlan member add -u 1 PortChannel03
sudo config vlan member add -u 1 PortChannel04
MC1
sudo config mclag add 1 192.168.10.1 192.168.10.2 PortChannel01
sudo config mclag unique-ip add Vlan10
sudo config mclag member add 1 PortChannel02
sudo config mclag member add 1 PortChannel03
sudo config mclag member add 1 PortChannel04
MC2
sudo config mclag add 1 192.168.10.2 192.168.10.1 PortChannel01
sudo config mclag unique-ip add Vlan10
sudo config mclag member add 1 PortChannel02
sudo config mclag member add 1 PortChannel03
sudo config mclag member add 1 PortChannel04
MC1
sudo config interface ip add Vlan10 192.168.10.1/24
MC2
sudo config interface ip add Vlan10 192.168.10.2/24
設定が終了したら保存を必ず行います
sudo config portchannel add PortChannel05
sudo config portchannel member add PortChannel05 Ethernet46
sudo config portchannel member add PortChannel05 Ethernet47
sudo config vlan member add -u 1 PortChannel05
sudo config mclag member add 1 PortChannel05
sudo config save
Existing files wil be overwritten, continue? [y/N]: y
上位のMCLAG装置でも同様にMCLAGのメンバーに含めます
sudo config vlan add 2
sudo config portchannel add PortChannel06
sudo config portchannel add PortChannel07
sudo config portchannel add PortChannel08
sudo config portchannel member add PortChannel06 Ethernet3
sudo config portchannel member add PortChannel07 Ethernet4
sudo config portchannel member add PortChannel08 Ethernet5
sudo config vlan member add -u 2 PortChannel06
sudo config vlan member add -u 2 PortChannel07
sudo config vlan member add -u 2 PortChannel08
sudo config mclag member add 1 PortChannel06
sudo config mclag member add 1 PortChannel07
sudo config mclag member add 1 PortChannel08
sudo config vlan member add 2 PortChannel05
sudo config save
Existing files wil be overwritten, continue? [y/N]: y