H3C Data Center Switches M-LAG Configuration Guide-6W100

HomeSupportResource CenterConfigure & DeployConfiguration GuidesH3C Data Center Switches M-LAG Configuration Guide-6W100
05-M-LAG and VRRP Configuration Example
Title Size Download
05-M-LAG and VRRP Configuration Example 292.24 KB

Example: Configuring M-LAG and VRRP

Network configuration

In the underlay network as shown in Figure 1, deploy M-LAG at the access layer to provide high availability and load balancing services for access devices. Deploy VRRP to provide gateway redundancy and ensure user service continuity. You can achieve the following purposes on the server through the VRRP gateway:

·     To implement Layer 2 connectivity, the server can communicate with the service network at Layer 2 through the M-LAG system.

·     Use the secondary IP addresses of the VLAN interfaces created on the M-LAG member devices to set up Layer 3 links between the server and the core devices, and configure BGP or OSPF to achieve Layer 3 connectivity.

Figure 1 Network diagram

 

Device role

Interface

IP address

Remarks

M-LAG 1

WGE1/0/1

N/A

Member port of an M-LAG interface.

Connected to the server.

WGE1/0/2

100.100.100.5/30

Connected to WGE1/0/2 on M-LAG 2 to establish the M-LAG keepalive link.

HGE1/0/25

N/A

Member port the peer-link interface.

Connected to HGE1/0/25 on M-LAG 2.

HGE1/0/26

N/A

Member port the peer-link interface.

Connected to HGE1/0/26 on M-LAG 2.

HGE1/0/27

10.39.245.13/31

Connected to HGE1/0/2 on Core 2.

HGE1/0/28

10.39.244.13/31

Connected to HGE1/0/1 on Core 1.

Vlan-interface100

10.40.196.61/26

Secondary IP address: 100.127.128.253/24

Virtual IP address of the VRRP group: 10.40.196.1

10.40.196.1

Connected to the server.

Vlan-interface4094

100.100.100.1/30

Connects two M-LAG member devices over a Layer 3 link.

Bridge-Aggregation 1

N/A

M-LAG interface.

Connected to the server.

Bridge-Aggregation 1024

N/A

Peer-link interface.

Connected to the peer link.

M-LAG 2

WGE1/0/1

N/A

Member port of the M-LAG interface.

Connected to the server.

WGE1/0/2

100.100.100.6/30

Connected to WGE1/0/2 on M-LAG 1.

HGE1/0/25

N/A

Member port of the peer-link interface.

Connected to HGE1/0/25 on M-LAG 1.

HGE1/0/26

N/A

Member port of the peer-link interface.

Connected to HGE1/0/26 on M-LAG 1.

HGE1/0/27

10.39.244.45/31

Connected to HGE1/0/2 on Core 1.

HGE1/0/28

10.39.245.45/31

Connected to HGE1/0/1 on Core 2.

Vlan-interface100

10.40.196.62/26

Secondary IP address: 100.127.128.254/24

Virtual IP address of the VRRP group: 10.40.196.1

10.40.196.1

Connected to the server.

Vlan-interface4094

100.100.100.2/30

Connects two M-LAG member devices over a Layer 3 link.

Bridge-Aggregation 1

N/A

M-LAG interface.

Connected to the server.

Bridge-Aggregation 1024

N/A

Peer-link interface.

Connected to the peer link.

Core 1

HGE1/0/1

10.39.244.12/31

Connected to HGE1/0/28 on M-LAG 1.

HGE1/0/2

10.39.244.44/31

Connected to HGE1/0/27 on M-LAG 2.

HGE1/0/3

22.22.1.1/24

Connected to the service network.

Core 2

HGE1/0/1

10.39.245.44/31

Connected to HGE1/0/28 on M-LAG 2.

HGE1/0/2

10.39.245.12/31

Connected to HGE1/0/27 on M-LAG 1.

HGE1/0/3

12.12.1.1/24

Connected to the service network.

 

Analysis

·     Deploy link aggregation between M-LAG 1 and the server and between M-LAG 2 and the server.

·     Deploy M-LAG for M-LAG 1 and M-LAG 2 at the access layer. Configure a VRRP group and specify its virtual IP address as the gateway address of the server.

·     Core 1 and Core 2 are Layer 3 devices connected to the service network.

·     Create VLAN interfaces on the M-LAG interfaces of the M-LAG member devices, and configure the primary and secondary IP addresses.

¡     Set up Layer 3 links between the M-LAG member devices and the core devices, and configure BGP between them to achieve Layer 3 connectivity.

¡     Use the secondary IP address of the VLAN interfaces created on the M-LAG interfaces to set up Layer 3 links to the server, and configure BGP or OSPF to achieve Layer 3 connectivity.

Applicable product matrix

IMPORTANT

IMPORTANT:

In addition to running an applicable software version, you must also install the most recent patch, if any.

 

Device

Software version

S6805, S6825, S6850, S9850, S9820-64H, and S9820-8C

R6710

S6800, S6860

R6710

S12500X-AF, S6890

R2825

S12500G-AF

R7625

S6812, S6813

F6628P22 and higher

 

Configuration procedure

Procedure summary

·     Configuring M-LAG

·     Deploying a VRRP gateway on the M-LAG member devices

·     Configuring the links between the M-LAG member devices and the Layer 3 virtualization server

·     Configuring the links between the M-LAG member devices and core devices

·     Configuring BGP between the M-LAG member devices and core devices

·     Configure BGP or OSPF between the M-LAG member devices and the server (perform one of the following tasks):

¡     (Optional.) Configuring BGP between the M-LAG member devices and the server

¡     (Optional.) Configuring OSPF between the M-LAG member devices and the server

·     Configuring the links between the core devices and M-LAG member devices

·     Configuring the links between the core devices and the service network

·     Configuring BGP on the core devices for communication with the M-LAG member devices

·     Configuring OSPF on the core devices for communication with the service network

Configuring M-LAG

M-LAG 1

M-LAG 2

Description

Remarks

interface Bridge-Aggregation 1024

interface Bridge-Aggregation 1024

Create Layer 2 aggregate interface Bridge-Aggregation 1024.

N/A

link-aggregation mode dynamic

link-aggregation mode dynamic

Configure Bridge-Aggregation 1024 to operate in dynamic mode, and enable LACP.

N/A

quit

quit

N/A

N/A

interface range HundredGigE1/0/25 HundredGigE1/0/26

interface range HundredGigE1/0/25 HundredGigE1/0/26

Enter peer link physical port view.

N/A

port link-aggregation group 1024

port link-aggregation group 1024

Assign the physical ports to Layer 2 aggregation group 1024.

N/A

quit

quit

N/A

N/A

interface Bridge-Aggregation 1024

interface Bridge-Aggregation1024

Enter the view of Bridge-Aggregation 1024 to be used as peer-link interface.

N/A

port m-lag peer-link 1

port m-lag peer-link1

Configure Bridge-Aggregation 1024 as the peer-link interface.

N/A

port link-type trunk

port link-type trunk

Set the link type of the physical port to trunk.

N/A

port trunk permit vlan all

port trunk permit vlan all

Assign the port to all VLANs.

N/A

undo mac-address static source-check enable

undo mac-address static source-check enable

Disable the static source check feature.

This configuration avoids cross-peer link Layer 3 traffic forwarding failure.

This configuration is not required for S12500X-AF/S12500G-AF/S6890, because such an issue will not occur on the device.

quit

quit

N/A

N/A

vlan 4094

vlan 4094

Create VLAN 4094.

N/A

quit

quit

N/A

N/A

interface Vlan-interface 4094

interface Vlan-interface 4094

Create VLAN-interface 4094.

N/A

ip address 100.100.100.1 255.255.255.252

ip address 100.100.100.2 255.255.255.252

Assign an IP address to the interface for establishing IBGP peer connection on the peer link.

N/A

quit

quit

N/A

N/A

interface Bridge-Aggregation 1

interface Bridge-Aggregation 1

Enter the view of Bridge-Aggregation 1.

N/A

link-aggregation mode dynamic

link-aggregation mode dynamic

Configure Bridge-Aggregation 1 to operate in dynamic mode, and enable LACP.

N/A

lacp edge-port

lacp edge-port

Configure the aggregate interface as an edge aggregate interface.

N/A

port m-lag group 1

port m-lag group 1

Assign the aggregate interface to an M-LAG group.

N/A

quit

quit

N/A

N/A

ip vpn-instance m-lag-keepalive

ip vpn-instance m-lag-keepalive

Create VPN instance m-lag-keepalive.

N/A

route-distinguisher 100:1

route-distinguisher 100:1

Configure the RD of the VPN instance.

N/A

vpn-target 1:1

vpn-target 1:1

Configure the RT of the VPN instance.

N/A

quit

quit

N/A

N/A

interface Twenty-FiveGigE1/0/2

interface Twenty-FiveGigE1/0/2

Enter the view of interface Twenty-FiveGigE 1/0/2.

N/A

port link-mode route

port link-mode route

Configure the Ethernet interface to work in Layer 3 mode.

N/A

ip binding vpn-instance m-lag-keepalive

ip binding vpn-instance m-lag-keepalive

Associate the interface with VPN instance m-lag-keepalive.

N/A

ip address 100.100.100.5 255.255.255.252

ip address 100.100.100.6 255.255.255.252

Configure the IP address for the keepalive link.

N/A

quit

quit

N/A

N/A

m-lag role priority 10000

m-lag role priority 40000

Set the M-LAG role priority of the device.

N/A

m-lag system-mac 8465-6958-e2c4

m-lag system-mac 8465-6958-e2c4

Configure the M-LAG system MAC address.

N/A

m-lag system-number 1

m-lag system-number 2

Set the M-LAG system number.

N/A

m-lag system-priority 10000

m-lag system-priority 10000

Set the M-LAG system priority.

N/A

m-lag standalone enable

m-lag standalone enable

Enable M-LAG standalone mode.

N/A

m-lag keepalive ip destination 100.100.100.6 source 100.100.100.5 vpn-instance m-lag-keepalive

m-lag keepalive ip destination 100.100.100.5 source 100.100.100.6 vpn-instance m-lag-keepalive

Configure M-LAG keepalive packet parameters.

N/A

m-lag mad exclude interface Twenty-FiveGigE1/0/2

m-lag mad exclude interface Twenty-FiveGigE1/0/2

Configure M-LAG MAD to not shut down the interface attached to the keepalive link.

N/A

m-lag mad exclude interface Vlan-interface 4094

m-lag mad exclude interface Vlan-interface 4094

Configure M-LAG MAD to not shut down the Layer 3 interconnection interface for fast entry synchronization upon recovery of the M-LAG interface from a failure.

N/A

m-lag restore-delay 300

m-lag restore-delay 300

Set the data restoration interval for more data synchronization time and faster convergence.

N/A

stp instance 0 root primary

stp instance 0 root primary

Configure the M-LAG member device as the root bridge.

N/A

stp global enable

stp global enable

Enable the spanning tree feature globally.

N/A

stp tc-protection

stp tc-protection

Enable TC-BPDU attack guard for the device to avoid frequent deletion of MAC address entries and ARP entries.

N/A

stp bpdu-protection

stp bpdu-protection

Enable BPDU guard globally.

N/A

 

Deploying a VRRP gateway on the M-LAG member devices

M-LAG 1

M-LAG 2

Description

Remarks

vlan 100

vlan 100

Configure the VLAN used to communicate with a virtualization server.

N/A

quit

quit

N/A

N/A

interface Vlan-interface 100

interface Vlan-interface 100

Create VLAN-interface 100.

N/A

ip address 10.40.196.61 255.255.255.192

ip address

100.127.128.253

255.255.255.0 sub

ip address 10.40.196.62 255.255.255.192

ip address

100.127.128.254

255.255.255.0 sub

Assign the primary and secondary IP addresses to VLAN-interface 100.

N/A

vrrp vrid 1 virtual-ip 10.40.196.1

vrrp vrid 1 virtual-ip 10.40.196.1

Configure the virtual IP address of a VRRP group.

N/A

vrrp vrid 1 priority 200

vrrp vrid 1 priority 100

Configure the priority of the device in the VRRP group.

VRRP determines the role (master or backup) of each router in a VRRP group by priority. A router with higher priority is more likely to become the master.

quit

quit

N/A

N/A

m-lag mad exclude interface Vlan-interface 100

m-lag mad exclude interface Vlan-interface 100

Configure M-LAG MAD to not shut down the interface connected to the server for fast entry synchronization upon recovery of the M-LAG interface from a failure.

As a best practice, do not configure this command for an S12500G-AF device. If you configure this command for the device, the fault recovery time might exceed 500 milliseconds.

 

Configuring the links between the M-LAG member devices and the Layer 3 virtualization server

M-LAG 1

M-LAG 2

Description

Remarks

vlan 2 to 1000

vlan 2 to 1000

Create VLANs.

N/A

quit

quit

N/A

N/A

interface Twenty-FiveGigE1/0/1

interface Twenty-FiveGigE1/0/1

Configuring the interface used to connect to the Layer 3 virtualization server.

N/A

port link-aggregation group 1

port link-aggregation group 1

Assign the physical port to Layer 2 aggregation group 1.

N/A

quit

quit

N/A

N/A

interface Bridge-Aggregation 1

interface Bridge-Aggregation 1

Enter the view of Bridge-Aggregation 1.

N/A

port link-type trunk

port link-type trunk

Set the link type of the physical port to trunk.

N/A

port trunk permit vlan 2 to 1000

port trunk permit vlan 2 to 1000

Assign the port to VLAN 2 through VLAN 1000.

N/A

port trunk pvid vlan 100

port trunk pvid vlan 100

Set the PVID for the trunk port to 100.

N/A

quit

quit

N/A

N/A

 

Configuring the links between the M-LAG member devices and core devices

M-LAG 1

M-LAG 2

Description

Remarks

interface HundredGigE1/0/27

interface HundredGigE1/0/28

Enter view of the interface connected to Core 2.

N/A

port link-mode route

port link-mode route

Configure the Ethernet interface to work in Layer 3 mode.

N/A

ip address 10.39.245.13 255.255.255.254

ip address 10.39.245.45 255.255.255.254

Assign an IP address to the interface.

N/A

quit

quit

N/A

N/A

interface HundredGigE1/0/28

interface HundredGigE1/0/27

Enter view of the interface connected to Core 1.

N/A

port link-mode route

port link-mode route

Configure the Ethernet interface to work in Layer 3 mode.

N/A

ip address 10.39.244.13 255.255.255.254

ip address 10.39.244.45 255.255.255.254

Assign an IP address to the interface.

N/A

quit

quit

N/A

N/A

 

Configuring BGP between the M-LAG member devices and core devices

M-LAG 1

M-LAG 2

Description

Remarks

bgp 65115

bgp 65115

Enable the specified BGP instance and enter its view.

N/A

bgp update-delay on-startup 120

bgp update-delay on-startup 120

Configure BGP to delay sending route updates on reboot, and set the delay timer to 120 seconds.

The M-LAG member devices learn route entries after synchronizing MAC address entries and ARP entries.

non-stop-routing

non-stop-routing

Enable BGP nonstop routing (NSR).

Avoid forwarding interruption on the M-LAG member devices.

router-id 10.41.254.140

router-id 10.41.254.141

Specify the router ID for the BGP instance.

N/A

group M-LAG internal

group M-LAG internal

Create an IBGP peer group named M-LAG.

N/A

peer M-LAG route-update-interval 0

peer M-LAG route-update-interval 0

Specify the interval for sending the same update to the peer group as 0.

Enable the device to fast send update to the peer group upon route changes to speed up route convergence after an M-LAG primary/secondary switchover occurs.

peer M-LAG timer keepalive 10 hold 30

peer M-LAG timer keepalive 10 hold 30

Set the keepalive interval and hold time for the peer group to 10 seconds and 30 seconds, respectively.

N/A

group core external

group core external

Create an EBGP peer group to connect to the core device.

N/A

peer core as-number 65105

peer core as-number 65105

Configure the AS number of the EBGP peer group.

N/A

peer core route-update-interval 0

peer core route-update-interval 0

Specify the interval for sending the same update to the peer group as 0.

Enable the device to fast send update to the peer group upon route changes to speed up route convergence after an M-LAG primary/secondary switchover occurs.

peer core timer keepalive 10 hold 30

peer core timer keepalive 10 hold 30

Set the keepalive interval and hold time for the peer group to 10 seconds and 30 seconds, respectively.

N/A

peer 10.39.244.12 group core

peer 10.39.244.44 group core

Add Core 1 as a peer to peer group core.

N/A

peer 10.39.245.12 group core

peer 10.39.245.44 group core

Add Core 2 as a peer to peer group core.

N/A

peer 100.100.100.2 group M-LAG

peer 100.100.100.1 group M-LAG

Add the other M-LAG as a peer to peer group M-LAG.

N/A

address-family ipv4 unicast

address-family ipv4 unicast

Enter BGP IPv4 unicast address family view.

N/A

balance 8

balance 8

Enable load balancing and set the maximum number of BGP ECMP routes as 8 for load balancing.

N/A

preference 180 200 130

preference 180 200 130

Set preferences for EBGP, IBGP, and local routes to 180, 200, and 130, respectively.

Adjust the possibility of selecting BGP routes as optimal routes.

import-route direct

import-route direct

Redistribute direct routes.

N/A

import-route ospf

import-route ospf

Redistribute OSPF routes between the M-LAG member device and server.

N/A

peer core enable

peer core enable

Enable BGP to exchange routing information with peer group core.

N/A

peer core advertise-community

peer core advertise-community

Advertise the COMMUNITY attribute to peer group core.

N/A

peer M-LAG enable

peer M-LAG enable

Enable BGP to exchange routing information with peer group M-LAG.

N/A

peer M-LAG next-hop-local

peer M-LAG next-hop-local

Set the local router as the next hop for routes sent to peer group M-LAG.

N/A

 

Configuring BGP between the M-LAG member devices and the server

Perform this task or the task in "Configuring OSPF between the M-LAG member devices and the server."

 

M-LAG 1

M-LAG 2

Description

Remarks

bgp 65115

bgp 65115

Enable the specified BGP instance and enter its view.

Use BGP to implement Layer 3 connectivity between the M-LAG member devices and the server.

group docker_host external

group docker_host external

Create an EBGP peer group to connect to the server.

N/A

peer docker_host as-number 60000

peer docker_host as-number 60000

Configure the AS number of the EBGP peer group.

N/A

peer 100.127.128.3 group docker_host

peer 100.127.128.3 group docker_host

Add the server (with IP address 100.127.128.3) to peer group docker_host.

N/A

address-family ipv4 unicast

address-family ipv4 unicast

Enter BGP IPv4 unicast address family view.

N/A

peer docker_host enable

peer docker_host enable

Enable BGP to exchange routing information with peer group docker_host.

Establish EBGP peer with the Layer 3 virtualization server.

peer docker_host route-limit 5000

peer docker_host route-limit 5000

Set the maximum number of routes that can be received from a peer group.

N/A

 

Configuring OSPF between the M-LAG member devices and the server

Perform this task or the task in "Configuring BGP between the M-LAG member devices and the server."

 

M-LAG 1

M-LAG 2

Description

Remarks

ospf 1

ospf 1

Enable OSPF and enter OSPF view.

Use OSPF to implement Layer 3 connectivity between the M-LAG member devices and the server.

stub-router include-stub on-startup 900

stub-router include-stub on-startup 900

Specify the cost of the stub links (link type 3) in Router LSAs to the maximum value 65535, in order to speed up convergence.

N/A

import-route direct

import-route direct

Redistribute direct routes into the OSPF routing table.

N/A

import-route bgp

import-route bgp

Redistribute BGP routes into the OSPF routing table.

N/A

area 0.0.0.0

area 0.0.0.0

Enter OSPF area view.

N/A

network 100.127.128.0 0.0.0.255

network 100.127.128.0 0.0.0.255

Configure OSPF to advertise the local network route.

N/A

quit

quit

Exit OSPF area view.

N/A

 

Configuring the links between the core devices and M-LAG member devices

Core 1

Core 2

Description

Remarks

interface HundredGigE1/0/1

interface HundredGigE1/0/2

Enter the view of the interface connected to M-LAG 1.

N/A

port link-mode route

port link-mode route

Configure the interface to work in Layer 3 mode.

N/A

ip address 10.39.244.12 255.255.255.254

ip address 10.39.245.12 255.255.255.254

Assign an IP address to the interface.

N/A

quit

quit

N/A

N/A

interface HundredGigE1/0/2

interface HundredGigE1/0/1

Enter the view of the interface connected to M-LAG 2.

N/A

port link-mode route

port link-mode route

Configure the interface to work in Layer 3 mode.

N/A

ip address 10.39.244.44 255.255.255.254

ip address 10.39.245.44 255.255.255.254

Assign an IP address to the interface.

N/A

quit

quit

N/A

N/A

 

Configuring the links between the core devices and the service network

Core 1

Core 2

Description

Remarks

interface HundredGigE1/0/3

interface HundredGigE1/0/3

Enter the view of the interface connected to the service network.

N/A

port link-mode route

port link-mode route

Configure the interface to work in Layer 3 mode.

N/A

ip address 22.22.1.1 255.255.255.0

ip address 12.12.1.1 255.255.255.0

Assign an IP address to the interface.

N/A

quit

quit

Exit interface view.

N/A

 

Configuring BGP on the core devices for communication with the M-LAG member devices

Core 1

Core 2

Description

Remarks

bgp 65105

bgp 65105

Enable the specified BGP instance and enter its view.

N/A

group M-LAG external

group M-LAG external

Create an EBGP peer group named M-LAG.

N/A

peer M-LAG as-number 65115

peer M-LAG as-number 65115

Specify an AS number for EBGP peer group M-LAG.

N/A

peer 10.39.244.45 group M-LAG

peer 10.39.245.45 group M-LAG

Add M-LAG2 as a peer to peer group M-LAG.

N/A

peer 10.39.244.13 group M-LAG

peer 10.39.245.13 group M-LAG

Add M-LAG1 as a peer to peer group M-LAG.

N/A

address-family ipv4 unicast

address-family ipv4 unicast

Enter BGP IPv4 unicast address family view.

N/A

balance 8

balance 8

Enable load balancing and set the maximum number of BGP ECMP routes for load balancing.

N/A

preference 180 200 130

preference 180 200 130

Set preferences for EBGP, IBGP, and local routes to 180, 200, and 130, respectively.

N/A

import-route direct

import-route direct

Redistribute direct routes into the BGP routing table.

N/A

import-route ospf

import-route ospf

Redistribute OSPF routes into the BGP routing table.

N/A

peer M-LAG enable

peer M-LAG enable

Enable BGP to exchange routing information with peer group M-LAG.

N/A

peer M-LAG preferred-value 60000

peer M-LAG preferred-value 60000

Set preferred value 60000 for routes received from peer group M-LAG.

Enable the routes received from the peer group to become the optimal routes.

quit

quit

Exit BGP view.

N/A

 

Configuring OSPF on the core devices for communication with the service network

Core 1

Core 2

Description

Remarks

ospf 1

ospf 1

Enable OSPF and enter OSPF view.

N/A

stub-router include-stub on-startup 900

stub-router include-stub on-startup 900

Specify the cost of the stub links (link type 3) in Router LSAs to the maximum value 65535, in order to speed up convergence.

N/A

import-route direct

import-route direct

Redistribute direct routes into the OSPF routing table.

N/A

import-route bgp

import-route bgp

Redistribute BGP routes into the OSPF routing table.

N/A

area 0.0.0.0

area 0.0.0.0

Enter OSPF area view.

N/A

network 22.22.1.0 0.0.0.255

network 12.12.1.0 0.0.0.255

Configure OSPF to advertise the service network route.

N/A

quit

quit

Exit OSPF area view.

N/A

 

Traffic forwarding models

Underlay traffic forwarding models

Traffic type: Known IPv4 unicast, Layer 2 unicast, and unknown unicast.

Direction: South to north, north to south, east to west across the M-LAG system, and west to east across the M-LAG system.

Forwarding path: Server > M-LAG system > core devices > service network, service network > core devices > M-LAG system > server, M-LAG 2 > M-LAG 1, and M-LAG 1 > M-LAG 2.

Traffic simulation: Send packets by using the tester.

Load: Light load (less than 1000 flows).

Traffic direction to firewalls/LB: N/A

 

Traffic type

Direction

Forwarding path

Traffic simulation

Load

Traffic direction to firewalls/LB

Remarks

Known IPv4 unicast

South to north

Server > M-LAG system > core devices > service network

Tester

Light

N/A

N/A

Known IPv4 unicast

North to south

Service network > core devices > M-LAG system > server

Tester

Light

N/A

N/A

Known IPv4 unicast

East to west across the M-LAG system

M-LAG 2 > M-LAG 1

Tester

Light

N/A

N/A

Known IPv4 unicast

West to east across the M-LAG system

M-LAG 1 > M-LAG 2

Tester

Light

N/A

N/A

Layer 2 unicast

South to north

Server > M-LAG system

Tester

Light

N/A

N/A

Layer 2 unicast

North to south

M-LAG system > server

Tester

Light

N/A

N/A

Layer 2 unicast

East to west across the M-LAG system

M-LAG 2 > M-LAG 1

Tester

Light

N/A

N/A

Layer 2 unicast

West to east across the M-LAG system

M-LAG 1 > M-LAG 2

Tester

Light

N/A

N/A

Unknown unicast

South to north

Server > M-LAG system

Tester

Light

N/A

N/A

Unknown unicast

North to south

M-LAG system > server

Tester

Light

N/A

N/A

Unknown unicast

East to west across the M-LAG system

M-LAG 2 > M-LAG 1

Tester

Light

N/A

N/A

Unknown unicast

West to east across the M-LAG system

M-LAG 1 > M-LAG 2

Tester

Light

N/A

N/A

 

Verifying the configuration

Verification commands

M-LAG 1

M-LAG 2

Description

display m-lag summary

display m-lag summary

Displays summary information about M-LAG interfaces.

display m-lag system

display m-lag system

Displays the M-LAG system settings.

display m-lag keepalive

display m-lag keepalive

Displays M-LAG keepalive packet statistics.

display m-lag role

display m-lag role

Displays M-LAG role information.

display m-lag consistency { type1 | type2 }

display m-lag consistency { type1 | type2 }

Displays information about the configuration consistency check done by M-LAG.

display m-lag consistency-check status

display m-lag consistency-check status

Displays the configuration consistency check status.

display interface Bridge-Aggregation [ brief ]

display interface Bridge-Aggregation [ brief ]

Displays information about aggregate interfaces.

 

Procedure

# Display the M-LAG system settings on M-LAG 1 to verify that M-LAG 1 and M-LAG 2 has established an M-LAG system.

[M-LAG1] display m-lag system

                    System information

Local system number: 1                      Peer system number: 2

Local system MAC: 8465-6958-e2c4            Peer system MAC: 8465-6958-e2c4

Local system priority: 10000                Peer system priority: 10000

Local bridge MAC: 0068-5116-5101            Peer bridge MAC: 90e7-1062-5371

Local effective role: Primary               Peer effective role: Secondary

Health level: 0

Standalone mode on split: Enabled

In standalone mode: No

 

                    System timer information

Timer                      State       Value (s)    Remaining time (s)

Auto recovery              Disabled    -            -

Restore delay              Disabled    300          -

Consistency-check delay    Disabled    150          -

Standalone delay           Disabled    -            -

Role to None delay         Disabled    60           -

# View summary information about M-LAG interfaces on M-LAG 1.

[M-LAG1] display m-lag summary

Flags: A -- Aggregate interface down, B -- No peer M-LAG interface configured

       C -- Configuration consistency check failed

 

Peer-link interface: BAGG1024

Peer-link interface state (cause): UP

Keepalive link state (cause): UP

 

                    M-LAG interface information

M-LAG IF    M-LAG group  Local state (cause)  Peer state  Remaining down time(s)

BAGG1       1            UP                   UP          -

# View M-LAG role information on M-LAG 1.

[M-LAG1] display m-lag role

                   Effective role information

Factors                  Local                    Peer

Effective role           Primary                  Secondary

Initial role             Primary                  Secondary

MAD DOWN state           No                       Yes

Health level             0                        0

Role priority            10000                    40000

Bridge MAC               0068-5116-5101           90e7-1062-5371

Effective role trigger: Peer link calculation

Effective role reason: MAD status

 

                   Configured role information

Factors                  Local                    Peer

Configured role          Primary                  Secondary

Role priority            10000                    40000

Bridge MAC               0068-5116-5101           90e7-1062-5371

# View information about the aggregate interfaces on M-LAG 1.

[M-LAG1] display interface Bridge-Aggregation brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface            Link Speed     Duplex Type PVID Description

BAGG1                UP   25G(a)    F(a)   T    100

BAGG1024             UP   200G(a)   F(a)   T    1

Testing network convergence

Testing network convergence upon single points of failure

Table 1 Network convergence upon single points of failure

Device

Failure type

Traffic interruption time

M-LAG member device

Link failure.

500 ms

Node failure.

Fixed-port device: < 500 ms

Modular device:

·     Device replacement: < 1000 ms

·     Switching fabric module replacement: 0 ms

·     Service module replacement: < 500 ms

 

Upgrading the devices

Upgrading the M-LAG member devices

Checking the environment

Execute the commands in "Verification commands" and the following commands to verify that the device is available for an upgrade.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Upgrading the device

See H3C Switches M-LAG System Upgrade & Replacement & Expansion Guide.

Verifying the traffic interruption time during the upgrade

Verify that the traffic interruption time is shorter than 500 ms during a switchover and shorter than 150 ms during fallback. For more information, see "Testing network convergence."

Verifying the upgrade result

Execute the commands in "Verification commands" and the following commands to verify that the device is upgraded successfully.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Expanding the network

An expansion operation adds two leaf devices.

Expanding the M-LAG system

Checking the environment

Execute the commands in "Verification commands" and the following commands to verify that the device is available for an expansion.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Adding the device to the M-LAG system

1.     Disconnect the device from network management systems.

2.     Upgrade the software of the device as needed.

3.     Preconfigure the device.

4.     Connect the device to network management systems.

5.     Incorporate the device on the controller.

Verifying the traffic interruption time

For more information, see "Testing network convergence."

Verifying the expansion result

Execute the following commands to verify that the device is added successfully.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Replacing hardware

Replacing a service module

Checking the environment

Execute the commands in "Verification commands" and the following commands to verify that the target device is available for a replacement.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Replacing a service module

1.     Switch service and management traffic on the target service module to other service modules.

2.     Power off the device and replace the service module, or replace the service module when the device is running. For more information, see the installation guides for the service module.

For details, see H3C Switches M-LAG System Upgrade & Replacement & Expansion Guide.

Verifying the traffic interruption time

For more information, see "Testing network convergence."

Verifying the replacement result

Execute the commands in "Checking the environment."

Replacing a switching fabric module

Checking the environment

Execute the commands in "Verification commands" and the following commands to verify that the target device is available for a replacement.

 

M-LAG 1

M-LAG 2

Description

display device

display device

Displays device information.

display boot-loader

display boot-loader

Displays current software images and startup software images.

display version

display version

Displays system version information.

 

Replacing a switching fabric module

Power off the device and replace the switching fabric module, or replace the switching fabric module when the device is running. For more information, see the installation guides for the switching fabric module.

Verifying the traffic interruption time

For more information, see "Testing network convergence."

Verifying the replacement result

Execute the commands in "Checking the environment."

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网