[Enterprise Switch] The behavior of MLAG and how to configure MLAG environment. Follow
The introduction of MLAG
- Multi-chassis Link Aggregation Group
- A non-standard protocol, implements link aggregation among multiple devices.
- The devices at both ends of the MLAG send MLAG negotiation packets through the peer-link.
- The main purpose of MLAG is to deliver system-level redundancy in the event one of the chassis fails.
- A multi-chassis link aggregation group (MLAG) is a pair of links that terminate on two cooperating switches and appear as an ordinary link aggregation group (LAG). The cooperating switches are MLAG peer switches and communicate through an interface called a peer link. While the peer link’s primary purpose is exchanging MLAG control information between peer switches, but also carries data traffic from devices that are attached to only one MLAG peer and have no alternative path. An MLAG domain consists of the peer switches and the control links that connect these switches.
Concept of simple L2 MLAG
MLAG Domain Topology
- MLAG must be enabled globally using the mlag command.
- The MLAG domain ID and peer link must be set using the mlag domain peer-link command.
- The MLAG ID, associated MLAG domain ID and MLAG member must be configured using the mlag group member command. The associated MLAG domain may be nonexistent, which causes MLAG to be inactive locally.
Limitation: For a port to be configured as MLAG peer link or member.
- STP cannot be enabled on a peer link or an MLAG member. An STP enabled port cannot be configured as a peer link or an MLAG member.
- LACP status of the port must be disabled.
- The port must not be any type of traffic segmentation port
- Please don't connect to the cable before you configure the MLAG peer-link ports.
- MLAG function is only supported by a static trunk with other devices.
MLAG configure scenario:
ECS5520-1 & 2 Configuration and MLAG command Usage:
<Disable spanning-tree on port 1, 17>
Console(config)#interface ethernet 1/1,17
<Configure MLAG domain (peer link)>
Console(config)#mlag domain test peer-link ethernet 1/17
<Configure MLAG group>
Console(config)#mlag group 1 domain test member ethernet 1/1
Console(config)#interface port-channel 1
Console(config-if)#interface ethernet 1/27,28
ECS5520-1 MLAG Status:
Global Status: Enabled
Domain List: test
MLAG List: 1
5520-1#show mlag domain test
Peer Link: Eth 1/17
MLAG List: 1
5520-1#show mlag group 1
Domain ID: test
Local Member: Eth 1/1
Local State: Up
Remote State: Up
Please sign in to leave a comment.