How do I stack Huawei Switches?

How do I stack Huawei Switches?

Make a stack plan

1. Set stack member ID of switch A to 1 and stack member ID of switch B to 2. (Member ID renumber defaults to 1)

2. Plan that switch A serves as the active switch and has the highest stacking priority (150). Switch B has the highest stacking priority (100 by default).

3. Set the stack Domain ID to 10, which does not conflict with that of other stack systems on the network.

4. Switch A and SWITCH B are planned to use ports 10GE3/0/34 to 10GE3/0/37 and 10GE4/0/34 to 10GE4/0/37 for stacking connections. It is recommended that cross-board cables be connected to prevent single board faults.

5. Connect the two switches after they are configured

Configuring switches

Switch A configuration:

stack

stack member 1 priority 150

stack member 1 domain 10

stack link-type linecard-direct

quit

Configure the stack priority of SwitchA to 150 and Domain ID to 10.

Linecard-direct is stacked using spUs.

In the case of the main control board, the command is stack link-type mainboard direct

interface stack-port 1

port member-group interface 10ge 3/0/34 to 3/0/37

port member-group interface 10ge 4/0/34 to 4/0/37

commit

return

commit

save

Switch B configuration:

Set the stack member ID of SwitchB to 2, priority to 120, and Domain ID to 10.

Because the inherit-config parameter is specified when the stack member ID is changed, the stack configuration of Member 1 is inherited after SwitchB restarts. If inherit-config is not specified, the stack configuration of Member 1 will not be inherited after SwitchB restarts, and member 2 needs to be used to configure the stack again.

stack

stack member 2 priority 100

stack member 2 domain 10

stack link-type linecard-direct

quit

interface stack-port 2

port member-group interface 10ge 3/0/34 to 3/0/37

port member-group interface 10ge 4/0/34 to 4/0/37

commit

return

commit

save

Form a stack

1. After the configuration is complete, save the configuration of switch A and switch B, and shut down the switch.

2. Connect four stack cables.

3. Start switch A first, and then switch B (switch with A higher priority).

4. Run the verification command to check whether the stack is normal and save the configuration.

Stack Verification command

display stack configuration

display stack

display stack topology

Dual-master detection configuration

Dual-active detection is recommended for multi-board switches such as Huawei 12800 series to prevent dual-active switches when stacking failures occur.

After the configuration is complete, connect the network cable.

interface 10GE1/3/0/48

dual-active detect mode direct

#

interface 10GE1/4/0/48

dual-active detect mode direct

#

interface 10GE2/3/0/48

dual-active detect mode direct

#

interface 10GE2/4/0/48

dual-active detect mode direct

#

commit

After the configuration, connect the network cable

Leave a Comment