sonic-mclag-cover-1

MC-LAG Configuration on Asterfusion Enterprise SONiC Distribution Switch

1 Purpose

2 Model and Version

3 MC-LAG introduction

mclag-configuration-1

4 Asterfusion Enterprise SONiC Distribution switch MC-LAG configuration

4.1 Configure MC-LAG

4.2 Configure peer-link

4.3 Configure the heartbeat detection link

4.3.1 Using a separate physical link to configure heartbeat detection 

4.3.2 Using the peer-link to configure the heartbeat detection link

4.4 Configure MC-LAG member interfaces

4.5 Configure Monitor Link group

5 MC-LAG typical configuration case

5.1 Requirements

5.2 Topology

sonic-mclag

5.3 Testing environment

5.3.1 Hardware

DEVICEMODELHAREWARE INDICATORSQUANTITYNOTE
Spine switchCX532P-NRefer to Product manual1
Leaf switchCX308P-48Y-N-V2Refer to Product manual3
ServerX86Normal server2
Optical moduleMulti-mode100G QSFP286
Optical fiberMulti-mode100G3
Optical moduleMulti-mode10G SFP+6
Optical fiberMulti-mode10G3

5.3.2 Software

SOFTWAREVERSIONNOTE
Switch systemAsterNOSv3.1
Server systemCentOS Linux 7.8.2003
Server kernel3.10.0-1127.18.2.el7
iperf33.9

5.3.3 Management IP

DEVICE NAMEINTERFACEIP ADDRESSNOTE
SpineMgmt010.230.1.31
Leaf1Mgmt010.230.1.21
Leaf2Mgmt010.230.1.22
Leaf3Mgmt010.230.1.23
Server1Eth510.230.1.11
Server2Eth510.230.1.12

5.3.4 Device communication IP

DEVICE NAMEINTERFACEIP ADDRESSNOTE
SpineEthernet 0/010.0.10.201
SpineEthernet 0/410.0.11.201
SpineEthernet 0/810.0.12.201
SpineLoopback 0172.16.0.1
Leaf1Ethernet 0/0 (Mc-Lag)100.0.10.201
Leaf1Ethernet 0/4 (peer-link)11.0.0.11
Leaf1Ethernet 0/4810.0.10.1
Leaf1Loopback 0172.16.0.2
Leaf2Ethernet 0/0 (Mc-Lag)100.0.10.201
Leaf2Ethernet 0/4 (peer-link)11.0.0.12
Leaf2Ethernet 0/4810.0.11.1
Leaf2Loopback 0172.16.0.3
Leaf3Ethernet 0/0100.0.20.201
Leaf3Ethernet 0/4810.0.12.1
Leaf3Loopback 0172.16.0.4
Server1Bond0100.0.10.200
Server2Eth0100.0.20.200

5.4 Preparation before testing

5.5 Configuration step

Step 1 Configure the IP address and gateway for server1’s bond0 interface

Step 2 Configure the IP address and gateway for server2’s eth0 interface

Step 3 Config Spine switch IP address

Step 4 Configure IP addresses and MC-LAG on three Leaf devices

Step 5 Configure BGP on Spine device

Step 6 Configure BGP on three Leaf devices

Step 7 Use server1 to send traffic to server2 and Check The Traffic

sonic-mclag-check-1

Step 8 Bring down interface 0/48 on leaf1 and Check The Traffic

sonic-mclag-check-2

6 Conclusion

Asterfusion CX-N & CX-M SONiC switches as the links below

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *