Single-level M-LAG technology sharing

Created Sep 30, 2018 16:20:03Latest reply Sep 30, 2018 16:21:42 276 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  Novice   Created Sep 30, 2018 16:21:42 Helpful(0) Helpful(0)

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

Responses

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

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top