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

HomeSupportResource CenterConfigure & DeployConfiguration GuidesH3C Data Center Switches M-LAG Configuration Guide-6W100
01-M-LAG+IPv4 and IPv6 Dual-Active VLAN Gateway Configuration Example

Contents

Example: Configuring IPv4 and IPv6 dual-active VLAN gateways on an M-LAG network  1

Network configuration· 1

Applicable product matrix· 4

Analysis· 5

Restrictions and guidelines· 5

Configuring the M-LAG system·· 5

Procedure summary· 5

Configuring the interconnect links between the M-LAG system and the downlink device Device D·· 5

Configuring the dual-active gateways· 9

Configuring Layer 3 communication between M-LAG member devices· 11

Configuring the interconnect links between the M-LAG system and the uplink device Device C· 12

Configuring the single-homed interface of the M-LAG system·· 13

Configuring a dynamic routing protocol used for communication with Device D·· 13

Configuring uplink device Device C· 14

Procedure summary· 14

Configuring the interconnect links to the M-LAG member devices· 14

Configuring the interconnect links between the uplink device Device C and the network· 16

Configuring downlink device Device D·· 17

Procedure summary· 17

Configuring the interconnect links to the M-LAG member devices· 17

Setting up OSPF and OSPFv3 peer relationships with the M-LAG member devices· 18

Traffic forwarding models· 19

Underlay traffic characteristics· 19

Forwarding models· 19

Testing network convergence upon single points of failure· 20

Verifying the configuration· 21

Upgrading the devices· 25

Upgrading the M-LAG member devices· 25

Expanding the network· 25

Adding an M-LAG member device· 26

Replacing hardware· 27

Replacing a service module· 27

Replacing a switching fabric module· 27

Replacing a device· 28

 


Example: Configuring IPv4 and IPv6 dual-active VLAN gateways on an M-LAG network

Network configuration

As shown in Figure 1:

·     Device A and Device B form an M-LAG system. Device D accesses the M-LAG system through M-LAG interfaces.

·     Device A and Device B are connected to uplink device Device C through equal-cost routes.

Configure the network as follows to meet the server access requirements of users:

·     The two M-LAG member devices Device A and Device B both act as the IPv4 gateway and IPv6 gateway for the servers.

·     If the link between Device A or Device B and uplink device Device C fails, packets can be transmitted along the other M-LAG member device to Device C to avoid interrupting the servers’ communication with the external network.

In some scenarios, the devices or servers attached to the M-LAG interfaces are required to establish routing peer relationships with the M-LAG member devices.

Figure 1 Network diagram

 

Table 1 Topology and IP assignment

Device

Interface

IP address

Peer device and interface

Device A

HGE1/0/1

N/A

Device D: HGE1/0/1

HGE1/0/2

N/A

Device D: HGE1/0/2

HGE1/0/3

N/A

Device B: HGE1/0/3

HGE1/0/4

N/A

Device B: HGE1/0/4

HGE1/0/5

IPv4: 21.1.1.1/24

IPv6: 21::1/64

Device B: HGE1/0/5

HGE1/0/6

N/A

Device C: HGE1/0/1

HGE1/0/7

N/A

N/A

Vlan-int100

IPv4: 100.1.1.100/24

M-LAG virtual IPv4 address: 100.1.1.101/24

IPv6: 100::100/64

M-LAG virtual IPv6 address: 100::101

N/A

Vlan-int101

IPv4: 101.1.1.1/24

IPv6: 101::1/64

Device B: Vlan-int101

·     IPv4: 101.1.1.2/24

·     IPv6: 101::2/64

Vlan-int32

IPv4: 32.1.1.1/24

IPv6: 32::1/64

Device C: Vlan-int32

·     IPv4: 32.1.1.2/24

·     IPv6: 32::2/64

Device B

HGE1/0/1

N/A

Device D: HGE1/0/3

HGE1/0/2

N/A

Device D: HGE1/0/4

HGE1/0/3

N/A

Device A: HGE1/0/3

HGE1/0/4

N/A

Device A: HGE1/0/4

HGE1/0/5

IPv4: 21.1.1.2/24

IPv6: 21::2/64

Device A: HGE1/0/5

HGE1/0/6

N/A

Device C: HGE1/0/2

Vlan-int100

IPv4: 100.1.1.100/24

M-LAG virtual IPv4 address: 100.1.1.102/24

IPv6: 100::100/64

M-LAG virtual IPv6 address: 100::102

N/A

Vlan-int101

IPv4: 101.1.1.2/24

IPv6: 101::2/64

Device A: Vlan-int101

·     IPv4: 101.1.1.1/24

·     IPv6: 101::1/64

Vlan-int33

IPv4: 33.1.1.1/24

IPv6: 33::1/64

Device C: Vlan-int33

·     IPv4: 33.1.1.2/24

·     IPv6: 33::2/64

Device C

HGE1/0/1

N/A

Device A: HGE1/0/6

HGE1/0/2

N/A

Device B: HGE1/0/6

HGE1/0/3

N/A

Network

Vlan-int22

IPv4: 22.1.1.1/24

IPv6: 22::1/64

Network

Vlan-int32

IPv4: 32.1.1.2/24

IPv6: 32::2/64

Device A: Vlan-int32

·     IPv4: 32.1.1.1/24

·     IPv6: 32::1/64

Vlan-int33

IPv4: 33.1.1.2/24

IPv6: 33::2/64

Device B: Vlan-int33

·     IPv4: 33.1.1.1/24

·     IPv6: 33::1/64

Device D

HGE1/0/1

N/A

Device A: HGE1/0/1

HGE1/0/2

N/A

Device A: HGE1/0/2

HGE1/0/3

N/A

Device B: HGE1/0/1

HGE1/0/4

N/A

Device B: HGE1/0/2

Vlan-int100

IPv4: 100.1.1.110/24

IPv6: 100::110

Routing peers to the M-LAG virtual IP addresses assigned to VLAN-interface 100 on the M-LAG member devices

 

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, S9820-8C

R6710

S6800, S6860

R6710

S12500X-AF, S6890

R2825

S12500G-AF

R7625

S6812, S6813

F6628P22 and higher

 

Analysis

·     Configure VLAN-interface 100 on Device A and Device B to act as the IPv4 and IPv6 dual-active gateways. To enable IPv4 and IPv6 users to access the external network through the gateways, configure the same IPv4 address, MAC address, IPv6 address, and IPv6 link-local address for VLAN-interface 100 on Device A and Device B.

·     Enable Device A and Device B to communicate at Layer 3 through VLAN-interface 101. Then, packets can be routed to the other M-LAG member device when the link between Device A or Device B and uplink device Device C fails.

Restrictions and guidelines

All the devices were started with the factory default configuration. When you are working on a live network, make sure the existing configuration does not conflict with the following configuration.

The M-LAG system MAC address must be the same for devices in the same M-LAG system. The M-LAG system MAC addresses must be different for devices in different M-LAG systems.

For how to set the MAC addresses for dual-active gateways on S12500X-AF series switches, see S12500X-AF MAC address configuration guide in the recommended M-LAG networking solutions.

Configuring the M-LAG system

Procedure summary

·     Configuring the interconnect links between the M-LAG system and the downlink device Device D

·     Configuring the dual-active gateways

·     Configuring Layer 3 communication between M-LAG member devices

·     Configuring the interconnect links between the M-LAG system and the uplink device Device C

·     Configuring the single-homed interface of the M-LAG system

·     Configuring a dynamic routing protocol used for communication with Device D

Configuring the interconnect links between the M-LAG system and the downlink device Device D

Device A

Device B

Description

Remarks

m-lag system-mac 2-2-2

m-lag system-mac 2-2-2

Set the M-LAG system MAC address.

You must set the same M-LAG system MAC address for devices in the same M-LAG system.

m-lag system-number 1

m-lag system-number 2

Set the M-LAG system number.

You must set different M-LAG system numbers for devices in the same M-LAG system.

m-lag system-priority 123

m-lag system-priority 123

Set the M-LAG system priority.

You must set the same M-LAG system priority for devices in the same M-LAG system.

m-lag standalone enable

m-lag standalone enable

Enable M-LAG standalone mode.

N/A

m-lag keepalive ip destination 21.1.1.2 source 21.1.1.1

m-lag keepalive ip destination 21.1.1.1 source 21.1.1.2

Configure the destination and source IP addresses of keepalive packets.

N/A

stp instance 0 root primary

stp instance 0 root primary-

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

N/A

stp global enable

stp global enable

Enable spanning tree globally.

N/A

stp tc-protection

stp tc-protection

Enable the TC-BPDU guard feature.

To prevent the device from frequently deleting MAC address entries and ARP entries and thus protect the device, enable this feature.

stp bpdu-protection

stp bpdu-protection

Enable BPDU guard globally.

N/A

interface HundredGigE1/0/5

interface HundredGigE1/0/5

Enter the interface view for the keepalive link.

N/A

port link-mode route

port link-mode route

Configure the interface for the keepalive link to operate in route mode as a Layer 3 interface.

N/A

ip address 21.1.1.1 24

ip address 21.1.1.2 24

Configure the source IPv4 address of keepalive packets.

N/A

quit

quit

N/A

N/A

m-lag mad exclude interface HundredGigE1/0/5

m-lag mad exclude interface HundredGigE1/0/5

Exclude the interface used for M-LAG keepalive detection from the shutdown action by M-LAG MAD.

N/A

interface bridge-aggregation 1

interface bridge-aggregation 1

Create the Layer 2 aggregate interface to be used as the peer-link interface and enter interface view.

N/A

link-aggregation mode dynamic

link-aggregation mode dynamic

Configure the aggregate interface to operate in dynamic mode.

N/A

quit

quit

N/A

N/A

interface range HundredGigE 1/0/3 HundredGigE 1/0/4

interface range HundredGigE 1/0/3 HundredGigE 1/0/4

Enter the view of physical interfaces on the peer link.

N/A

port link-aggregation group 1

port link-aggregation group 1

Assign the physical interfaces on the peer link to the aggregation group for the peer link (aggregation group 1).

N/A

interface bridge-aggregation 1

interface bridge-aggregation 1

N/A

N/A

port m-lag peer-link 1

port m-lag peer-link 1

Specify the aggregate interface (Bridge-Aggregation 1) as the peer-link interface.

N/A

undo mac-address static source-check enable

undo mac-address static source-check enable

Disable the static source check feature to avoid inter-peer link Layer 3 traffic forwarding failures.

You do not need to execute this command on an S12500X-AF, S12500G-AF, or S6890 switch, because inter-peer link Layer 3 traffic forwarding failures do not exist on these switches.

quit

quit

N/A

N/A

interface bridge-aggregation 3

interface bridge-aggregation 3

Create an aggregate interface connecting to Device D.

N/A

link-aggregation mode dynamic

link-aggregation mode dynamic

Configure the aggregate interface connecting to Device D to operate in dynamic mode.

N/A

port m-lag group 1

port m-lag group 1

Assign the Layer 2 aggregate interface (Bridge-Aggregation 3) to M-LAG group 1.

N/A

quit

quit

N/A

N/A

interface range HundredGigE 1/0/1 HundredGigE 1/0/2

interface range HundredGigE 1/0/1 HundredGigE 1/0/2

Enter the view of the physical interfaces connecting the M-LAG system to Device D.

N/A

port link-aggregation group 3

port link-aggregation group 3

Assign the interfaces to an M-LAG group.

N/A

quit

quit

N/A

N/A

m-lag restore-delay 300

m-lag restore-delay 300

Set the data restoration interval.

The data restoration interval specifies the maximum amount of time for the secondary M-LAG member device to synchronize data with the primary M-LAG member device during M-LAG system setup.

 

Configuring the dual-active gateways

Device A

Device B

Description

vlan 100 101

vlan 100 101

Create VLAN 100 and VLAN 101.

interface bridge-aggregation 3

interface bridge-aggregation 3

N/A

port link-type trunk

port link-type trunk

Set the link type of the Layer 2 aggregate interface (Bridge-Aggregation 3) to trunk.

port trunk permit vlan 100

port trunk permit vlan 100

Assign the interface to VLAN 100.

port lacp system-priority 100

port lacp system-priority 101

Set the LACP system priority, so that only member ports with higher priority are selected when both peer link and keepalive link fail.

quit

quit

N/A

interface bridge-aggregation 1

interface bridge-aggregation 1

N/A

port link-type trunk

port link-type trunk

Set the link type of the Layer 2 aggregate interface (Bridge-Aggregation 1) to trunk.

port trunk permit vlan all

port trunk permit vlan all

Assign the interface to all VLANs.

quit

quit

N/A

interface vlan-interface 100

interface vlan-interface 100

Create VLAN-interface 100.

ip address 100.1.1.100 24

ip address 100.1.1.100 24

Assign an IPv4 address to VLAN-interface 100, which is to act as an IPv4 dual-active gateway.

mac-address 0000-0010-0010

mac-address 0000-0010-0010

Assign a MAC address to VLAN-interface 100, which is to act as an IPv4 dual-active gateway.

ipv6 address 100::100 64

ipv6 address 100::100 64

Assign an IPv6 address to VLAN-interface 100, which is to act as an IPv6 dual-active gateway.

ipv6 address FE80::80 link-local

ipv6 address FE80::80 link-local

Assign a link-local address to VLAN-interface 100, which is to act as an IPv6 dual-active gateway.

ipv6 nd unsolicited-na-learning enable

ipv6 nd unsolicited-na-learning enable

Enable unsolicited NA learning.

For ND entries to be synchronous on M-LAG member devices, enable this feature.

quit

quit

N/A

m-lag mad exclude interface Vlan-interface100

m-lag mad exclude interface Vlan-interface100

Exclude VLAN-interface100 from the shutdown action by M-LAG MAD.

interface vlan-interface 101

interface vlan-interface 101

Create VLAN-interface 101.

ip address 101.1.1.1 24

ip address 101.1.1.2 24

Assign an IPv4 address to VLAN-interface 101, which is used for Layer 3 communication between M-LAG member devices.

ipv6 address 101::1 64

ipv6 address 101::2 64

Assign an IPv6 address to VLAN-interface 101, which is used for Layer 3 communication between M-LAG member devices.

quit

quit

N/A

m-lag mad exclude interface Vlan-interface101

m-lag mad exclude interface Vlan-interface101

Exclude VLAN-interface101 from the shutdown action by M-LAG MAD.

 

Configuring Layer 3 communication between M-LAG member devices

Device A

Device B

Description

router id 3.3.3.3

router id 4.4.4.4

Configure a router ID.

ospf 1

ospf 1

Configure OSPF to enable M-LAG member devices to communicate through an IPv4 network.

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 to accelerate network convergence.

silent-interface Vlan-interface 100

silent-interface Vlan-interface 100

Disable VLAN-interface 100 from receiving and sending OSPF packets.

area 0

area 0

N/A

quit

quit

N/A

interface vlan-interface 100

interface vlan-interface 100

N/A

ospf 1 area 0

ospf 1 area 0

Enable OSPF on an interface.

quit

quit

N/A

interface vlan-interface 101

interface vlan-interface 101

N/A

ospf 1 area 0

ospf 1 area 0

Enable OSPF on an interface.

quit

quit

N/A

ospfv3 1

ospfv3 1

Configure OSPFv3 to enable M-LAG member devices to communicate through an IPv6 network.

router-id 3.3.3.3

router-id 4.4.4.4

Configure a router ID.

stub-router max-metric on-startup 900

stub-router max-metric on-startup 900

Specify the cost of the links in Type-1 LSAs to the maximum value 65535 and specify the router as a stub router during reboot.

silent-interface Vlan-interface 100

silent-interface Vlan-interface 100

Disable VLAN-interface 100 from receiving and sending OSPF packets.

area 0

area 0

N/A

quit

quit

N/A

interface vlan-interface 100

interface vlan-interface 100

N/A

ospfv3 1 area 0

ospfv3 1 area 0

Enable OSPFv3 on an interface.

quit

quit

N/A

interface vlan-interface 101

interface vlan-interface 101

N/A

ospfv3 1 area 0

ospfv3 1 area 0

Enable OSPFv3 on an interface.

quit

quit

N/A

 

Configuring the interconnect links between the M-LAG system and the uplink device Device C

Device A

Device B

Description

vlan 32

vlan 33

Create a VLAN.

quit

quit

N/A

interface HundredGigE 1/0/6

interface HundredGigE 1/0/6

N/A

port link-type trunk

port link-type trunk

Set the link type of the interface to trunk.

port trunk permit vlan 32

port trunk permit vlan 33

Assign the interface to the specified VLANs.

undo port trunk permit vlan 1

undo port trunk permit vlan 1

Remove the interface from VLAN 1.

undo stp enable

undo stp enable

Disable STP on the uplink interface to speed up topology convergence.

quit

quit

N/A

interface vlan-interface 32

interface vlan-interface 33

Create a VLAN interface.

ip address 32.1.1.1 24

ip address 33.1.1.1 24

Assign an IPv4 address to a VLAN-interface.

ipv6 address 32::1 64

ipv6 address 33::1 64

Assign an IPv6 address to a VLAN-interface.

ospf 1 area 0

ospf 1 area 0

Enable OSPF on an interface.

ospfv3 1 area 0

ospfv3 1 area 0

Enable OSPFv3 on an interface.

quit

quit

N/A

 

Configuring the single-homed interface of the M-LAG system

Device A

Description

vlan 100

Create a VLAN.

quit

N/A

interface HundredGigE 1/0/7

Configure the single-homed interface.

port link-mode bridge

Configure the interface to operate in bridge mode as a Layer 2 interface.

port link-type access

Set the link type of the interface to access.

port access vlan 100

Assign the interface to the specified VLAN.

 

Configuring a dynamic routing protocol used for communication with Device D

Perform this task if the devices or servers attached to the M-LAG member devices are required to establish routing peer relationships with the M-LAG member devices.

 

Device A

Device B

Description

interface vlan-interface 100

interface vlan-interface 100

N/A

port m-lag virtual-ip 100.1.1.101 255.255.255.0 active

port m-lag virtual-ip 100.1.1.102 255.255.255.0 active

Assign an M-LAG virtual IPv4 address to this VLAN interface.

port m-lag ipv6 virtual-ip FE80::81 link-local

port m-lag ipv6 virtual-ip FE80::82 link-local

Assign an M-LAG link-local virtual IPv6 address to this VLAN interface.

port m-lag ipv6 virtual-ip 100::101 64 active

port m-lag ipv6 virtual-ip 100::102 64 active

Assign an M-LAG virtual IPv6 address to this VLAN interface, and set the state of the address to active.

ospf peer sub-address enable 100.1.1.101

ospf peer sub-address enable 100.1.1.102

Enable OSPF to use secondary IP addresses to set up peer relationships.

quit

quit

N/A

 

Configuring uplink device Device C

Procedure summary

·     Configuring the interconnect links to the M-LAG member devices

·     Configuring the interconnect links between the uplink device Device C and the network

Configuring the interconnect links to the M-LAG member devices

Device C

Description

vlan 32

Create VLAN 32.

quit

N/A

interface HundredGigE 1/0/1

N/A

port link-type trunk

Set the link type of the interface to trunk.

port trunk permit vlan 32

Assign HundredGigE 1/0/1 (which connects Device C to Device A) to VLAN 32.

undo port trunk permit vlan 1

Remove the interface from VLAN 1.

undo stp enable

Disable the spanning tree protocol to speed up topology convergence.

quit

N/A

interface vlan-interface 32

Create VLAN-interface 32.

ip address 32.1.1.2 24

Assign an IPv4 address to the VLAN-interface.

ipv6 address 32::2 64

Assign an IPv6 address to the VLAN-interface.

quit

N/A

vlan 33

Create VLAN 33.

quit

N/A

interface HundredGigE 1/0/2

N/A

port link-type trunk

Set the link type of the interface to trunk.

port trunk permit vlan 33

Assign HundredGigE 1/0/2 (which connects Device C to Device B) to VLAN 33.

undo port trunk permit vlan 1

Remove the interface from VLAN 1.

undo stp enable

Disable the spanning tree protocol to speed up topology convergence.

quit

N/A

interface vlan-interface 33

Create VLAN-interface 33.

ip address 33.1.1.2 24

Assign an IPv4 address to the VLAN-interface.

ipv6 address 33::2 64

Assign an IPv6 address to the VLAN-interface.

quit

N/A

router id 5.5.5.5

Configure a router ID.

ospf 1

Configure OSPF to enable M-LAG member devices to communicate through an IPv4 network.

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 to accelerate network convergence.

area 0

N/A

quit

N/A

interface vlan-interface 32

N/A

ospf 1 area 0

Enable OSPF on the interface.

quit

N/A

interface vlan-interface 33

N/A

ospf 1 area 0

Enable OSPF on the interface.

quit

N/A

ospfv3 1

Configure OSPFv3 to enable M-LAG member devices to communicate through an IPv6 network.

router id 5.5.5.5

Configure a Router ID.

stub-router max-metric on-startup 900

Specify the cost of the links in Type-1 LSAs to the maximum value 65535 and specify the router as a stub router during reboot.

area 0

N/A

quit

N/A

interface vlan-interface 32

N/A

ospfv3 1 area 0

Enable OSPFv3 on the interface.

quit

N/A

interface vlan-interface 33

N/A

ospfv3 1 area 0

Enable OSPFv3 on the interface.

quit

N/A

 

Configuring the interconnect links between the uplink device Device C and the network

Device C

Description

vlan 22

Create VLAN 22.

quit

N/A

interface HundredGigE 1/0/3

N/A

port link-type trunk

Set the link type of the interface to trunk.

port trunk permit vlan 22

Assign HundredGigE 1/0/3 (which connects Device C to the network) to VLAN 22.

undo port trunk permit vlan 1

Remove the interface from VLAN 1.

undo stp enable

Disable the spanning tree protocol to speed up topology convergence.

quit

N/A

interface vlan-interface 22

Create VLAN-interface 22.

ip address 22.1.1.1 24

Assign an IPv4 address to the VLAN-interface.

ipv6 address 22::1 64

Assign an IPv6 address to the VLAN-interface.

quit

N/A

 

Configuring downlink device Device D

Procedure summary

·     Configuring the interconnect links to the M-LAG member devices

·     Setting up OSPF and OSPFv3 peer relationships with the M-LAG member devices

Configuring the interconnect links to the M-LAG member devices

Device D

Description

interface bridge-aggregation 3

Create Layer 2 aggregate interface Bridge-Aggregation 3, and enter its view.

link-aggregation mode dynamic

Configure the aggregate interface connecting to the M-LAG system to operate in dynamic mode.

quit

N/A

interface range HundredGigE 1/0/1 to HundredGigE 1/0/4

Enter the view of the physical interfaces connecting Device D to the M-LAG system.

port link-aggregation group 3

Assign interfaces to an aggregation group.

quit

N/A

vlan 100

Create VLAN 100.

quit

N/A

interface bridge-aggregation 3

N/A

port link-type trunk

Set the link type of the interface to trunk.

port trunk permit vlan 100

Assign the interface to VLAN 100.

undo port trunk permit vlan 1

Remove the interface from VLAN 1.

quit

N/A

 

Setting up OSPF and OSPFv3 peer relationships with the M-LAG member devices

Perform this task if the devices or servers attached to the M-LAG member devices are required to establish routing peer relationships with the M-LAG member devices.

 

Device D

Description

router id 6.6.6.6

Configure the router ID.

ospf 1

Configure OSPF to set up IPv4 connectivity to the M-LAG member devices.

area 0

Create an OSPF area and enter its view.

quit

N/A

interface vlan-interface 100

N/A

ip address 100.1.1.110 255.255.255.0

Assign an IPv4 address to this VLAN interface.

ipv6 address FE80::83 link-local

Assign an IPv6 link-local address to this VLAN interface.

ipv6 address 100::110 64

Assign an IPv6 address to this VLAN interface.

ospf 1 area 0.0.0.0

Enable OSPF on VLAN-interface 100.

ospfv3 1 area 0.0.0.0

Enable OSPFv3 on VLAN-interface 100.

quit

N/A

 

Traffic forwarding models

Underlay traffic characteristics

The forwarding model matrix provides the following characteristics of underlay traffic:

·     No.—Traffic number in the U-X-XXX format:

¡     UUnderlay traffic.

¡     X—Protocol number, which can be 4 (IPv4) or 6 (IPv6).

¡     XXX—Traffic sequence number.

·     Traffic type—Type of underlay traffic, which can be IPv4 known unicast or IPv6 known unicast.

·     Direction—Direction of underlay traffic.

·     Forwarding path—Nodes that underlay traffic traverses.

·     Traffic simulation—Traffic simulation method. Typically a tester is used to simulate server traffic.

·     Load—Traffic size, which can be light (less than 1000 flows) and heavy (more than 1000 flows).

·     Traffic direction to firewalls/LB—Configuration used to direct traffic to firewalls and load balancers, other than PBR, M-LAG, VRRP, static routes.

Forwarding models

No.

Traffic type

Direction

Forwarding path

Traffic simulation

Load

Traffic direction to firewalls/LB

U-4-101

IPv4 known unicast

South to north

Network > DeviceC > DeviceA&B > DeviceD > Server

Tester

Light

N/A

U-6-101

IPv6 known unicast

South to north

Network > DeviceC > DeviceA&B > DeviceD > Server

Tester

Light

N/A

 

Testing network convergence upon single points of failure

Table 2 Network convergence upon single points of failure

Device

Failure type

Traffic interruption time

M-LAG

Single point of failure on M-LAG member links

< 500 ms

Single point of failure restored on M-LAG member links

< 500 ms

Single point of failure on uplink ECMP links

< 500 ms

Single point of failure restored on uplink ECMP links

< 500 ms

Peer link failure

< 500 ms

Peer link failure restored

< 500 ms

Keepalive link failure

0 ms

Keepalive link failure restored

0 ms

Keepalive link and peer link failure

< 5000 ms

Keepalive link and peer link restored

< 1000 ms

Upgrading the devices

< 500 ms (per-device upgrade)

Expanding the network

N/A

Replacing hardware

Fixed-port device: < 500 ms

Modular device:

·     Device replacement: < 1000 ms

·     Switching fabric module replacement: 0 ms

·     Service module replacement: < 500 ms

 

Verifying the configuration

Verifying the status of the M-LAG system

Verify that the peer-link interface and the M-LAG interface are working correctly on Device A and Device B. Use Device A as an example.

# Display summary information about the peer-link interface and M-LAG interface.

[DeviceA] display m-lag summary

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

       C -- Configuration consistency check failed

 

Peer-link interface: BAGG1

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)

BAGG3       1            UP                   UP          -

# Verify that keepalive link is working correctly.

[DeviceA] display m-lag keepalive

Neighbor keepalive link status: Up

Neighbor is alive for: 64765 s 28 ms

Keepalive packet transmission status:

  Sent: Successful

  Received: Successful

Last received keepalive packet information:

  Source IP address: 21.1.1.2

  Time: 2021/01/17 17:10:52

  Action: Accept

 

M-LAG keepalive parameters:

Destination IP address: 21.1.1.2

Source IP address: 21.1.1.1

Keepalive UDP port : 6400

Keepalive VPN name : N/A

Keepalive interval : 1000 ms

Keepalive timeout  : 5 sec

Keepalive hold time: 3 sec

# Display the M-LAG system settings.

<DeviceA> display m-lag system

                     System information

Local system number: 1                      Peer system number: 2

Local system MAC: 0002-0002-0002            Peer system MAC: 0002-0002-0002

Local system priority: 123                  Peer system priority: 123

Local bridge MAC: 3cd4-3ce1-0200            Peer bridge MAC: 3cd4-437d-0300

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           -

# Display detailed information about the peer-link interface and M-LAG interfaces.

[DeviceA] display m-lag verbose

Flags: A -- Home_Gateway, B -- Neighbor_Gateway, C -- Other_Gateway,

       D -- PeerLink_Activity, E -- DRCP_Timeout, F -- Gateway_Sync,

       G -- Port_Sync, H -- Expired

 

Peer-link interface/Peer-link interface ID: BAGG1/1

State: UP

Cause: -

Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG

Local Selected ports (index): HGE1/0/3 (27), HGE1/0/4 (32)

Peer Selected ports indexes: 125, 130

 

M-LAG interface/M-LAG group ID: BAGG3/1

Local M-LAG interface state: UP

Peer M-LAG interface state: UP

M-LAG group state: UP

Local M-LAG interface down cause: -

Remaining M-LAG DOWN time: -

Local M-LAG interface LACP MAC: Config=0002-0002-0002, Effective=0002-0002-0002

Peer M-LAG interface LACP MAC: Config=0002-0002-0002, Effective=0002-0002-0002

Local M-LAG interface LACP priority: Config=123, Effective=123

Peer M-LAG interface LACP priority: Config=123, Effective=123

Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG

Local Selected ports (index): HGE1/0/1 (12), HGE1/0/2 (13)

Peer Selected ports indexes: 56, 57

Verifying the routing protocols

# Display the OSPF neighbors of Device A.

[DeviceA] display ospf peer

 

         OSPF Process 1 with Router ID 3.3.3.3

               Neighbor Brief Information

 

 Area: 0.0.0.0

 Router ID       Address         Pri Dead-Time  State             Interface

 4.4.4.4         101.1.1.2       1   36         Full/DR           Vlan101

 5.5.5.5         32.1.1.2        1   38         Full/DR           Vlan32

 6.6.6.6         100.1.1.110     1   36         Full/DR           Vlan100

# Display the OSPFv3 neighbors of Device A.

[DeviceA] display ospfv3 peer

 

               OSPFv3 Process 1 with Router ID 3.3.3.3

 

 Area: 0.0.0.0

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 4.4.4.4         1   Full/DR           00:00:36  0      Vlan101

 5.5.5.5         1   Full/DR           00:00:35  0      Vlan32

 6.6.6.6         1   Full/DR           00:00:35  0      Vlan100

# Display the OSPF neighbors of Device B.

[DeviceB] display ospf peer

 

         OSPF Process 1 with Router ID 4.4.4.4

               Neighbor Brief Information

 

 Area: 0.0.0.0

 Router ID       Address         Pri Dead-Time  State             Interface

 3.3.3.3         101.1.1.1       1   32         Full/BDR          Vlan101

 5.5.5.5         33.1.1.2        1   33         Full/DR           Vlan33

 6.6.6.6         100.1.1.110     1   36         Full/DR           Vlan100

# Display the OSPFv3 neighbors of Device B.

[DeviceB] display ospfv3 peer

 

               OSPFv3 Process 1 with Router ID 4.4.4.4

 

 Area: 0.0.0.0

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 3.3.3.3         1   Full/BDR          00:00:35  0      Vlan101

 5.5.5.5         1   Full/DR           00:00:38  0      Vlan33

 6.6.6.6         1   Full/DR           00:00:36  0      Vlan100

# Display the OSPF neighbors of Device C.

[DeviceC] display ospf peer

 

         OSPF Process 1 with Router ID 5.5.5.5

               Neighbor Brief Information

 

 Area: 0.0.0.0

 Router ID       Address         Pri Dead-Time  State             Interface

 3.3.3.3         32.1.1.1        1   32         Full/DR           Vlan32

 4.4.4.4         33.1.1.1        1   38         Full/DR           Vlan33

# Display the OSPFv3 neighbors of Device C.

[DeviceC] display ospfv3 peer

 

               OSPFv3 Process 1 with Router ID 5.5.5.5

 

 Area: 0.0.0.0

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 3.3.3.3         1   Full/DR           00:00:37  0      Vlan32

 4.4.4.4         1   Full/DR           00:00:34  0      Vlan33

Verifying that Server 1 and Server 2 can communicate with Network

Server 1 and Server 2 can communicate with Network through both IPv4 and IPv6 addresses.

Verifying that Server 1 and Server 2 can still communicate with Network when the uplink interface of Device A or Device B fails

Disconnect the interface connecting Device A to Device C. Server 1 and Server 2 can still communicate with Network (transient packet loss occurs during the traffic switchover process).

Displaying the brief spanning tree status and statistics

<DeviceA> display stp brief

 MST ID      Port                         Role  STP State     Protection

 0           Bridge-Aggregation3 (M-LAG)     DESI  FORWARDING    NONE

<DeviceB> display stp brief

 MST ID      Port                         Role  STP State     Protection

 0           Bridge-Aggregation3 (M-LAG)     DESI  FORWARDING    NONE

Verifying OSPF and OSPFv3 peer establishment with the M-LAG virtual IP addresses

[DeviceD]display ospf peer

                           

         OSPF Process 1 with Router ID 6.6.6.6

               Neighbor Brief Information

 

 Area: 0.0.0.0       

 Router ID       Address         Pri Dead-Time  State             Interface

 3.3.3.3         100.1.1.101     1   38         Full/DR           Vlan100

 4.4.4.4         100.1.1.102     1   33         Full/DROther      Vlan100

[DeviceD]display ospfv3 peer

                                                                                                                                              

               OSPFv3 Process 1 with Router ID 6.6.6.6

                                                                                                                                       

 Area: 0.0.0.0       

-------------------------------------------------------------------------

 Router ID       Pri State             Dead-Time InstID Interface

 3.3.3.3         1   Full/DROther      00:00:32  0      Vlan100

 4.4.4.4         1   Full/BDR          00:00:34  0      Vlan100

Upgrading the devices

Upgrading the M-LAG member devices

Checking the environment

Execute the commands in "Verifying the configuration" and the following commands to verify that the devices are 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 devices

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 when the traffic load is light. For more information, see “Testing network convergence upon single points of failure.”

Verifying the upgrade result

Execute the commands in "Verifying the configuration" 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.

Adding an M-LAG member device

Checking the environment

Execute the commands in "Verifying the configuration" 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.

 

Expanding the network

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 upon single points of failure.”

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 "Verifying the configuration" 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 upon single points of failure.”

Verifying the replacement result

Execute the commands in "Checking the environment."

Replacing a switching fabric module

Checking the environment

Execute the commands in "Verifying the configuration" 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 upon single points of failure.”

Verifying the replacement result

Execute the commands in "Checking the environment."

Replacing a device

Checking the environment

Execute the commands in "Verifying the configuration" 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 device

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

Verifying the traffic interruption time

For more information, see “Testing network convergence upon single points of failure.”

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
新华三官网