- Create an LACP port channel for use with the MC-LAG peer link. Note: Port channels created in Dell Technologies Enterprise SONiC use LACP by default.
- Provide a description.
- Assign all VLANs on the switch to the MC-LAG port channel. For a multirack deployment, include the VRF VLAN (2001 in this example).
- Enable the LACP
fast_rate
option to minimize the time required for failure detection. - Set the MTU size to 9216 bytes for best performance.
- Enable the interface.
- Create the MC-LAG domain with the mclag domain domain-id command. Note: Valid MC-LAG domain numbers are 1 to 4095. Only one domain is supported on a switch.
- For the source IP, specify the router ID of the local switch.
- For the peer IP, specify the router ID of the peer leaf switch.
- Specify the port channel to be used as the MC-LAG peer link.
- Assign an MC-LAG system MAC that is unique to this leaf pair. Use the same MAC on both leaf switches.
Leaf1A Leaf1B interface PortChannel 100
description "MC-LAG peer link"
switchport trunk allowed Vlan 103-106,140-143,150-152,161-162,2001
fast_rate
mtu 9216
no shutdown
!
mclag domain 1
source-ip 10.1.1.1
peer-ip 10.1.1.2
peer-link PortChannel100
mclag-system-mac 00:00:00:00:00:01interface PortChannel 100
description "MC-LAG peer link"
switchport trunk allowed Vlan 103-106,140-143,150-152,161-162,2001
fast_rate
mtu 9216
no shutdown
!
mclag domain 1
source-ip 10.1.1.2
peer-ip 10.1.1.1
peer-link PortChannel100
mclag-system-mac 00:00:00:00:00:01