M LAG Configuration
Requirements
- Switches connected through 100G ports
- Management IPs of both switches
- Management interfaces of both switches interconnected with Ethernet cable
Tasks
-
Log in to Switch A
-
Enter System Mode:
system-view -
Configure Virtual Spanning Tree Protocol (V-STP):
``` stp mode rstp
stp v-stp enable ```
stp mode rstp stp v-stp enable stp bdu-protection-protection stp tc-protection
-
Configure a DFS group and bind the IPs of the Management network ports to the group:
dfs-group 1priority 150dual-active detection source ip MGMT_IP_A peer MGMT_IP_Bauthentication-mode hmac-sha256 password PASSWDpeerl-link mac-address remain enable paired-port -
Configure a peer-link for the switch:
interface eth-trunk 1mode lacp-staticlacp timeout fastpeer-link 1port vlan exclude 1trunkport 100GE1/0/INTERFACE1trunkport 100GE1/0/INTERFACE2 -
Log in to Switch B
-
Run the same commands, changing the order of MGMT_IPs on this command:
dual-active detection source ip MGMT_IP_B peer MGMT_IP_A -
Save changes:
save -
Verify MLAG status:
display dfs-group 1 m-lag