Single-level M-LAG technology sharing

Latest reply: Sep 30, 2018 08:21:42 361 1 2 0

Single-level M-LAG

A server is often connected to a network through link aggregation. If the device connected to the server fails, services are interrupted. To prevent this problem, a server can connect to a network through M-LAG. That is, deploy M-LAG between SW1 and SW2 and connect the server to SW1 and SW2. SW1 and SW2 load balance traffic. When one device fails, traffic can be rapidly switched to the other device to ensure nonstop service transmission.

The virtual ip will be work as the gateway of the server.

 

Single-level M-LAG configure example:
  SW1:
stp mode rstp
 stp v-stp enable
#
ip vpn-instance management  
 ipv4-family
 route-distinguisher 100:1
 vpn-target 111:1 both
#
interface Meth 0/0/0
ip binding vpn-instance management
ip address x.x.x.x x
#
dfs-group 1
 source ip x.x.x.x  //ip of the meth0/0/0
 priority 150
#
interface eth-trunk 1  //connect to SW2
 trunkport 10ge x/0/a to x/0/b
 mode lacp-static
 peer-link 1
#
vlan batch x  //service vlan
#
interface eth-trunk 2  //connect to server
 mode lacp-static
 port link-type trunk
 port trunk allow-pass vlan x
 trunkport 10ge x/0/x
 dfs-group 1 m-lag 1
#
interface vlanif x
 ip address x.x.x.2 x
 vrrp vrid 1 virtual-ip x.x.x.1
#
 commit
SW2:
 stp v-stp enable
#
ip vpn-instance management  
 ipv4-family
 route-distinguisher 100:1
 vpn-target 111:1 both
#
interface Meth 0/0/0
ip binding vpn-instance management
ip address x.x.x.x x
#
dfs-group 1
 source ip x.x.x.x  //ip of meth0/0/0
 priority 120
#
interface eth-trunk 1 //connect to SW1
 trunkport 10ge x/0/a to x/0/b
 mode lacp-static
 peer-link 1
#
vlan batch x  //service vlan
#
interface eth-trunk 2
 mode lacp-static
 port link-type trunk
 port trunk allow-pass vlan x
 trunkport 10ge x/0/x
 dfs-group 1 m-lag 1
#
interface vlanif x
 ip address x.x.x.3 x
 vrrp vrid 1 virtual-ip x.x.x.1
#
commit

 

This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

yWX511501
Created Sep 30, 2018 08:21:42 Helpful(0) Helpful(0)

It is very help for me , thank you very much!
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login