0% found this document useful (0 votes)
58 views182 pages

01-09 Stack Configuration

Uploaded by

Fery Hermanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views182 pages

01-09 Stack Configuration

Uploaded by

Fery Hermanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 182

S1720, S2700, S5700, and S6720 Series Ethernet Switches

Configuration Guide - Device Management 9 Stack Configuration

9 Stack Configuration

About This Chapter

This chapter describes how to set up a stack of multiple switches to improve forwarding
performance and reliability.

9.1 Using the Stack Assistant Tool to Quickly Obtain Information


9.2 Overview of Stacks
9.3 Understanding Stacks
9.4 Application Scenarios for Stacks
9.5 Stack Connection Modes
9.6 Summary of Stack Configuration Tasks
9.7 Stacking Support and Version Requirements
9.8 Default Settings for Stacks
9.9 Establishing a Stack Through Stack Card Connections
9.10 Establishing a Stack Through Service Port Connections Using Ordinary Stack Cables
9.11 Establishing a Stack Through Service Port Connections Using Dedicated Stack Cables
(Zero-Configuration Stacking)
9.12 Configuring Enhanced Stacking Functions
9.13 Maintaining Stacks
9.14 Splitting a Stack
9.15 Configuration Examples for Stacks
9.16 FAQ About Stacks

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 216


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.1 Using the Stack Assistant Tool to Quickly Obtain


Information
Figure 9-1 shows the stack assistant tool page.

Figure 9-1 Stack assistant tool page

Figure 9-2 describes how to use this tool:


1. The Stack & SVF type select S Switches iStack > Switch series > Switch sub-series >
Switch model > Software version > Connection mode > Stack cable > Switch stacked
together in sequence.

Click behind the Stack cable to view the figure of cable.


NOTE

To check whether a switch supports service port stacking using dedicated stack cables, perform the
following operations: Select Service port stacking, and then check whether you can select 0.5m and
1.5m SFP+ dedicated stack cable or 0.5m and 1.5m SFP+ dedicated stack cable (supported from
V200R011C10) as stack cables. If so, switches of this model support service port stacking using
dedicated stack cables.
2. Click Query after finishing the selection. The stack precautions, connection rules, and
software configuration are displayed. Set up a stack according to these information.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 217


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-2 Tool page after Query is clicked

9.2 Overview of Stacks

Definition
Intelligent Stack is a technology that enables multiple stacking-capable switches to function
as a single logical switching device. This technology is also called iStack. As shown in
Figure 9-3, after SwitchA and SwitchB are connected by stack cables and form a stack, their
upstream and downstream devices consider them as one switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 218


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-3 Schematic diagram of a stack

Network Network

Stack
Equivalent to
SwitchA SwitchB Switch
Stack link

Purpose
Stack technology provides high network reliability and scalability, while simplifying network
management.
l High reliability: Member switches in a stack work in redundancy mode. Link
redundancy can also be implemented between member switches through inter-device
link aggregation. Member switches can join or leave the stack without affecting other
member switches. New switches automatically synchronize the configuration file and
system software version with the master switch.
l High scalability: You can increase ports, bandwidth, and processing capacity of a stack
by simply adding member switches to the stack.
l Simplified configuration and management: You can log in to a stack from any member
switch to manage and configure all the member switches in the stack. In addition,
complicated Layer 2 ring protection protocols or Layer 3 protection switching protocols
are not required after switches set up a stack, making the network configuration much
simpler.

9.3 Understanding Stacks

9.3.1 Basic Concepts

Stack technology involves the following key concepts:

l Role
Switches that have joined a stack are member switches. Each member switch in a stack
plays one of the following roles:
– Master switch

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 219


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

The master switch manages the entire stack. A stack has only one master switch.
– Standby switch
The standby switch is the backup of the master switch. When the master switch
fails, the standby switch takes over all services from the master switch. A stack has
only one standby switch.
– Slave switch
A slave switch forwards service traffic. The more slave switches in a stack, the
higher forwarding performance the stack can provide. Apart from the master and
standby switches, all the other switches in a stack are slave switches.
l Stack ID
The stack ID of a member switch is the slot ID of the member switch within the logical
switch. Each member switch in a stack must have a unique stack ID.
l Stack priority
The stack priority of a member switch determines the role of the member switch in role
election. A larger value indicates a higher priority and higher probability that the
member switch will be elected as the master switch.

9.3.2 Stack Setup


A stack is set up after the following stages:
1. Physical connection setup: When multiple switches are connected in a specific topology
using an appropriate method based on network requirements, a stack network is
established.
2. Master election: Member switches exchange stack competition packets and elect a
master switch according to master election rules.
3. Topology information collection and standby switch election: The master switch collects
topology information from all the member switches and assigns stack IDs to the member
switches. Then a standby switch is elected.
4. Running: The master switch synchronizes the topology of the stack to all the member
switches, and member switches synchronize their system software and configuration
files with the master switch. After that, the stack runs stably.

Physical Connection Setup


Member switches can be connected to form a stack using stack cards or service ports. For
details about the two stack connection methods, see 9.5 Stack Connection Modes. No matter
which connection method is used, member switches can be connected in a chain or ring
topology, as shown in Figure 9-4. Table 9-1 compares the two stack topologies in terms of
reliability, link bandwidth utilization, and convenience of cable connections.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 220


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-4 Stack topologies

Master
Stack

Stack

Master Standby Slave

Standby Slave

Chain topology Ring topology

Table 9-1 Comparison of stack topologies


Topology Advantage Disadvantage Usage Scenario

Chain topology Applicable for long- l Low reliability: A chain topology is


distance stacking If any stack link recommended when
because the first and fails, the stack member devices are
last member splits. far from one another
switches do not need l Low stack link and a ring topology
to be connected by a utilization: The is difficult to deploy.
physical link. entire stack relies
on a single path.

Ring topology l High reliability: The first and last A ring topology is
If a stack link member switches recommended when
fails, the need to be connected member switches
topology changes by a physical link, are located near one
from ring to so this topology is another, because this
chain, and the not appropriate for topology has higher
stack can still long-distance reliability and link
function stacking. utilization.
normally.
l High link
bandwidth
efficiency: Data
can be forwarded
along the shortest
path.

Master Election
Determine the stack connection mode and topology, connect the member switches with
physical links, and then power on all member switches. These member switches elect the
master switch, which manages the stack. The master switch is elected based on the following
rules (the election ends when a winning switch is found):

1. The switch that starts first becomes the master switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 221


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

The master election timeout interval is 20 seconds. The startup process may take
different lengths of time on different member switches. When stack member switches are
powered on or restart, some member switches may not participate in the first master
election. When a switch that starts later joins the stack, the master switch is elected
again. If the previous master switch fails the election, it restarts and then joins the stack
as a non-master switch. If the switch that starts later fails the election, it can join the
stack only as a non-master switch. For details, see 9.3.5 Joining and Leaving a Stack.
If you want a specific switch to act as the master switch, power on that switch first, and
power on the other switches after this switch starts.
NOTE

To ensure that master election is completed at a time, you are advised to use switches of the same model
to set up a stack. If you want to set up a stack of different switch models, you are advised to connect
switches of the same model together.
For example, three switches A, B, and C set up a stack in a chain topology.
– If A and B start first and C starts later, C joins the stack only as a non-master
switch.
– If A and C start first and become the master switches, A and C compete to be the
master switch based on their startup time when B starts and joins the stack. The
switch that fails the election restarts and joins the stack as a non-master switch.
For example, four switches A, B, C, and D set up a stack in ring topology:
– If A and B start first and C and D start later, C and D join the stack only as non-
master switches.
– If A and C start first and become the master switches, A and C compete to be the
master switch based on their startup time when B and D start and join the stack. The
switch that fails the election restarts and joins the stack as a non-master switch.
2. If multiple switches complete startup at the same time, the switch with the highest stack
priority becomes the master switch.
3. If multiple switches complete startup at the same time and have the same stack priority,
the switch with the smallest MAC address becomes the master switch.

Stack ID Assign and Standby Switch Election


After the master switch is elected, it collects topology information from member switches.
Based on the information, the master switch calculates forwarding entries, and sends the
calculated information to member switches. The master switch also assigns a stack ID to
every member switch. The standby switch is elected to operate as a backup for the master
switch. The first switch that completes startup after the master switch becomes the standby
switch. If multiple switches complete the startup at the same time, the standby switch is
elected according to the following rules:
1. The switch with the highest stack priority becomes the standby switch.
2. If the switches have the same stack priority, the one with the smallest MAC address
becomes the standby switch.
The election ends when a winning switch is found. After the standby switch is elected, all the
other member switches join the stack as slave switches.

Running
After role election and topology information collection are complete, all the member switches
synchronize their system software and configuration files with the master switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 222


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l Automatic software loading: Member switches can run different software versions. If
different software versions running on the member switches are compatible with one
another, the member switches can set up a stack. If the software version running on the
master switch is different from those on the standby switch and slave switches, these
switches download the system software from the master switch. Then, they restart with
the new system software and rejoin the stack.
l Configuration file synchronization: The standby switch and slave switches can download
the configuration file of the master switch and apply this configuration file. This
mechanism enables member switches to work like a single device and ensures that other
switches continue working normally if the master switch fails.

9.3.3 Assigning a Stack ID


The stack ID of a device defaults to 0. In a stack, the master switch manages stack IDs of
member switches. If a new member switch joins the stack and its stack ID conflicts with that
of another member, the master switch searches for the lowest idle stack ID. The master switch
then assigns this stack ID to the new member switch. If stack IDs are not manually configured
before stack setup, stack member switches are assigned random stack IDs. The stack IDs are
assigned based on the member switches' startup sequence or other factors when a new stack is
set up or member switches in a stack change. Therefore, you are advised to configure stack
IDs for member switches before setting up a stack. Alternatively, you can perform certain
operations to ensure that member switches use planned stack IDs after they start.
Table 9-2 describes scenarios where you need to assign stack IDs and recommended
operation sequence.

Table 9-2 Stack ID assignment scenarios


Scenari Condition Procedure Independent Stack as an
o Stack SVF System

A stack Initial stack Configure stack IDs for Applicable and Applicable and
is newly IDs of all member switches one by recommended recommended
set up. member one before setting up a
switches are 0. stack.
1. Place member
devices.
2. Set the stack IDs of
member switches one
by one to the expected
values.
3. Connect member
switches using stack
cables to set up a
stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 223


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Scenari Condition Procedure Independent Stack as an


o Stack SVF System

Set up a stack and then Applicable and Inapplicable


change the stack IDs of recommended
member switches.
1. Place member
devices.
2. Connect member
switches using stack
cables to set up a
stack.
3. Log in to the stack to
change the stack IDs
of member switches to
the expected values
and then restart the
member switches.

Power on member Applicable and Applicable and


switches in a certain recommended recommended
sequence to make them
use the expected stack
IDs.
1. Place member
devices.
2. Connect member
switches using stack
cables.
3. Power on member
switches one by one.

Initial stack Configure stack IDs for Applicable and Applicable and
IDs of some member switches one by recommended recommended
member one before setting up a
switches are stack.
not 0. 1. Place member
devices.
2. Set the stack IDs of
member switches one
by one to the expected
values.
3. Connect member
switches using stack
cables to set up a
stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 224


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Scenari Condition Procedure Independent Stack as an


o Stack SVF System

Set up a stack and then Applicable and Inapplicable


change the stack IDs of recommended
member switches.
1. Place member
devices.
2. Connect member
switches using stack
cables to set up a
stack.
3. Log in to the stack to
change the stack IDs
of member switches to
the expected values
and then restart the
member switches.

The Stack IDs of Connect new member Applicable and Applicable and
stack new member switches using cables and recommended recommended
capacity switches are 0. then power on these
needs to switches.
be 1. Place member
expande devices.
d.
2. Connect the new
member switches to
the stack using cables.
3. Power on the new
member switches one
by one.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 225


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Scenari Condition Procedure Independent Stack as an


o Stack SVF System

Add the new member Applicable and Inapplicable


switches to the stack and recommended
then change the stack IDs
of the switches.
1. Place member
devices.
2. Connect new member
switches to the stack
using stack cables, and
power on the new
member switches,
which then join the
stack and obtain auto-
negotiated stack IDs.
3. Log in to the stack to
change the stack IDs
of the new member
switches to the
expected values and
then restart these
switches.

Configure stack IDs for Applicable and Applicable and


member switches one by recommended recommended
one before capacity
expansion.
1. Place member
switches, log in to the
stack, and configure
stack IDs for new
member switches.
2. Power off the new
member switches and
then connect them to
the stack using stack
cables.
3. Power on the new
member switches.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 226


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Scenari Condition Procedure Independent Stack as an


o Stack SVF System

Stack IDs of Configure stack IDs for Applicable and Applicable and
new member new member switches recommended recommended
switches are one by one before
not 0. capacity expansion.
1. Place member
devices.
2. Set the stack IDs of
the new member
switches one by one to
the expected values.
3. Connect the new
member switches to
the stack using stack
cables.

Add the new member Applicable and Inapplicable


switches to the stack and recommended
then change the stack IDs
of the switches.
1. Place member
devices.
2. Connect new member
switches to the stack
using stack cables, and
power on the new
member switches,
which then join the
stack and obtain auto-
negotiated stack IDs.
3. Log in to the stack to
change the stack IDs
of the new member
switches to the
expected values and
then restart these
switches.

A Log in to the member switch to clear the startup configuration file and restore
member its stack ID to 0.
switch
needs to
be
replaced
.

A stack Log in to the member switch to be removed to clear the startup configuration
needs to file and restore its stack ID to 0.
be split.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 227


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.3.4 Stack Login and File System Access

A stack of multiple switches acts as a virtual device. The interface numbering rules, system
login methods, and file system access methods used in the stack are different from those used
on standalone switches.

Interface Numbering Rules


On standalone switches, interfaces are numbered in the slot ID/subcard ID/port sequence
number format. The slot ID is fixed as 0. After the switch joins a stack, its interfaces are
numbered in the stack ID/subcard ID/port sequence number format.

After a switch joins a stack, its interfaces are numbered in the stack ID/subcard ID/port
sequence number format. In a stack, each member switch has a unique stack ID.

For example, an interface on a standalone switch is numbered GigabitEthernet0/0/1. After the


switch joins a stack and is assigned stack ID 2, the interface number changes to
GigabitEthernet2/0/1.

The subcard ID and port sequence number remain unchanged after a switch joins a stack.

After a stack member switch leaves the stack, it still uses the stack ID as its slot ID.

NOTE

The interface number of a management interface is fixed as MEth0/0/1 regardless of whether the switch joins
a stack or what the stack ID is. In a stack, only the management interface on one member switch takes effect
and becomes the master management interface.

Stack Login
You can log in to a stack using the following methods:
l Local login: Log in through the console interface of any member switch.
l Remote login: Log in through the management interface or another Layer 3 interface of
any member switch. You can remotely log in to the stack using Telnet, STelnet, web, or
SNMP if your operation terminal has a reachable route to the stack.
NOTE

l After switches with management interfaces form a stack, only the management interface on
one member switch takes effect and becomes the master management interface. After the stack
starts, the management interface on the master switch is used as the master management
interface. If the management interface on the master switch is faulty or unavailable, the
management interface on another member switch is used as the master management interface.
If you connect your PC directly to a non-master management interface, you cannot log in to
the stack.
l After a stack is set up, all the member switches use the configuration file of the master switch.
l A stack externally acts as a single switch and uses one management IP address. To remotely
log in to a stack, you need to log in to the IP address of the master switch.
l All stack member switches are able to forward traffic.

After you log in to the stack, the master switch issues the configurations to the other member
switches. This allows resources of member switches to be managed consistently.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 228


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

File System Access


Access to a file system refers to the operations performed on a storage device, including file
display, and file/directory creation, deletion, and modification. The switch uses flash memory
as the storage medium.
The location of a file is identified by drive + path + filename:
l drive indicates the storage device.
l path indicates a directory and its sub-directories.
l filename indicates the file name.
For details, see Overview of the File System in "File Management" in the S1720, S2700,
S5700, and S6720 V200R011C10 Configuration Guide - Basic Configuration.
Unlike the drive name on a standalone switch, the drive name in a stack can be either of the
following:
l flash: indicates the root directory of the flash memory on the master switch.
l Stack ID#flash: indicates the root directory of the flash memory on a member switch.
For example, slot2#flash: indicates the root directory of the flash memory on the member
switch with stack ID 2.

9.3.5 Joining and Leaving a Stack

Adding a Member Switch to a Stack


Figure 9-5 illustrates how a new switch is added to a running stack.
NOTE

l A switch can be added to a stack while it is powered on or off. This section describes how a member
switch joins a stack after being powered off. For details on how a member switch joins a stack after
being powered on, see Stack Merging.
l It is not recommended to add a member switch to a stack while the power is on.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 229


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-5 Member switch joins a stack

SwitchA
(Master)

SwitchD

Stack +
SwitchB SwitchC
(Standby) (Slave)

SwitchD joins

SwitchA SwitchD
(Master) (Slave)

Stack

SwitchB SwitchC
(Standby) (Slave)

A new member switch joins a stack as follows:


1. After the switch is connected to the stack and is powered on, it is elected as a slave
switch. The roles of the other member switches in the stack remain unchanged.
2. The master switch updates the stack topology information, synchronizes the stack
topology information to the other member switches, and assigns a stack ID to the new
member switch (if the new member switch has no stack ID configured or the configured
stack ID conflicts with that of another member switch).
3. The new member switch updates its stack ID and synchronizes its configuration file and
system software with the master switch. Then it enters the running state.
To add a switch to a stack, perform the following steps:
1. Examine the physical connections between the current stack member switches and
determine where to connect the new member switch.
– If the stack has a chain topology, add the new switch to either end of the chain to
minimize the impact on running services.
– If the stack has a ring topology, tear down a physical link to change the ring
topology to a chain topology, and add the new switch to either end of the chain.
Then connect the switches at two ends to form a ring if required.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 230


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

2. Complete the stack configuration.


– If the member switches are connected by service ports, configure the connected
service ports on the new member switches as physical member ports of the logical
stack port. If the stack has a chain topology, perform this configuration also at one
or both ends of the chain.
– If the member switches are connected by stack cards, enable the stacking function
on the new member switch.
– To facilitate device management, configure a stack ID for the new member switch.
If no stack ID is configured for the new member switch, the master switch will
assign a stack ID to it.
3. Power off the new member switch, connect it to the stack using stack cables, and power
it on.
4. Repeat steps 1 through 3 to add more switches to the stack.
5. Save the configuration.

Removing a Member Switch from a Stack


A member switch leaves a stack after it is disconnected from the stack. Depending on the role
of the switch that has left the stack, the stack is affected in the following ways:
l When the master switch leaves the stack, the standby switch becomes the new master
switch. It then recalculates topology information, synchronizes updated topology
information to the other member switches, and selects a new standby switch. Then the
stack enters the running state.
l When the standby switch leaves the stack, the master switch selects a new standby
switch, recalculates topology information, and synchronizes updated topology
information to the other member switches. Then the stack enters the running state.
l When a slave switch leaves the stack, the master switch recalculates topology
information and synchronizes updated topology information to the other member
switches. Then the stack enters the running state.
A member switch leaves a stack after you disconnect its stack cables and remove it from the
stack. When removing a member switch, pay attention to the following points:
l After removing a member switch from a ring stack topology, use a stack cable to connect
the two ports originally connected to this member switch to ensure network reliability.
l In a chain topology, removing an intermediate switch causes the stack to split. Therefore,
analyze services before removing a member switch from the stack to minimize the
impact on services.

9.3.6 Stack Merging


Two stacks in the running state can merge into one stack. As shown in Figure 9-6, after two
stacks merge, the master switches of the two stacks compete to be the master switch of the
new stack. After the new master switch is elected, the member switches originally belonging
to the same stack as this new master switch retain their roles and configurations, and their
services are unaffected. Switches in the other stack restart and join the new stack as slave
switches. The master switch assigns new stack IDs to these switches. Then these switches
synchronize their configuration files and system software with the master switch. During this
time, services on these switches are interrupted.
The stack merging process is similar to the process when a new member switch joins a stack.
For details, see Adding a Member Switch to a Stack. When two stacks merge, a new master

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 231


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

switch is elected between the two original master switches. The master switch in the stack that
enters the running state first becomes the new master switch. If the two stacks enter the
running state at the same time, the master switch is elected based the same rules used when a
stack is set up.

Figure 9-6 Two stacks merge

SwitchA
(Master)

SwitchD SwitchE
(Master) (Standby)
Stack1 + Stack2

SwitchB SwitchC
(Standby) (Slave)

iStack1 and iStack2 merge


Assume that iStack1 wins the
competition

SwitchA SwitchD
(Master) (Slave)

Stack

SwitchB SwitchE
(Standby) (Slave)

SwitchC
(Slave)

Stack merging occurs in either of the following situations:


l A stack splits because a stack link or member switch fails. After the stack link or
member switch recovers, the two stacks merge into one again.
l A switch is configured with the stacking function and is connected to a running stack
using a stack cable while the power is on. Connecting a running switch to a running
stack is not recommended, because this may cause a restart of the running stack before
the merge, resulting in service interruption.

9.3.7 Stack Split and MAD

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 232


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Stack Split
If you remove some member switches from a running stack without powering off the switches
or if multiple stack cables fail, the stack splits into multiple stacks.
Depending on the locations of the master and standby switches after a split, device roles are
elected in either of the following ways:
l If the original master and standby switches are in the same stack after the split, the
master switch calculates the stack topology by deleting topology information related to
the removed member switches, and then synchronizes updated topology information to
the other member switches. When removed member switches detect that the timeout
timer for stack protocol packets has expired, the switches restart and begin a new master
election.
As shown in Figure 9-7, the original master switch (SwitchA) and standby switch
(SwitchB) are in the same stack after the split. SwitchA deletes topology information
related to SwitchD and SwitchE and synchronizes topology information to SwitchB and
SwitchC. After SwitchD and SwitchE restart, they set up a new stack.

Figure 9-7 Original master and standby switches in the same stack after a split
SwitchA SwitchD
(Master) (Slave)

Stack

SwitchB SwitchE
(Standby) (Slave)

SwitchC
(Slave)

Stack splits
SwitchA and SwitchB
are in the same stack
after the split

Stack1 Stack2

+
SwitchA SwitchB SwitchC SwitchD SwitchE
(Master) (Standby) (Slave) (Master) (Standby)
l If the original master and standby switches are in different stacks after the split, the
original master switch selects a new standby switch in its stack, calculates stack topology
information, and synchronizes updated topology information to the other member
switches. The original standby switch becomes the new master switch in its stack, and
then calculates stack topology information, synchronizes stack topology information to
other the member switches, and selects a new standby switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 233


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

As shown in Figure 9-8, the original master switch (SwitchA) and standby switch
(SwitchB) are in different stacks after the split. SwitchA specifies SwitchD as the new
standby switch, calculates stack topology information, and synchronizes topology
information to SwitchD and SwitchE. In the other stack, SwitchB becomes the master
switch. SwitchB then calculates topology information, synchronizes topology
information to SwitchC, and specifies SwitchC as the new standby switch.

Figure 9-8 Original master and standby switches in different stacks after a split

SwitchA SwitchD
(Master) (Slave)

Stack

SwitchB SwitchE
(Standby) (Slave)

SwitchC
(Slave)

Stack splits
SwitchA and SwitchB
are in different stacks
after the split

Stack1 Stack2

+
SwitchB SwitchC SwitchA SwitchD SwitchE
(Master) (Standby) (Master) (Standby) (Slave)

Multi-Active Detection
All member switches in a stack use the same IP address and MAC address (that is, the MAC
address of the stack). Therefore, after a stack splits, more than one stack may use the same IP
address and MAC address. To prevent this situation, a mechanism is required to check for IP
address and MAC address collision after a split.

Multi-active detection (MAD) is a stack split detection protocol. When a stack splits due to a
link failure, MAD provides split detection, multi-active handling, and fault recovery
mechanisms to minimize the impact of a stack split on services.

MAD Detection Modes

MAD can be implemented in direct or relay mode. The direct and relay modes cannot be
configured together in the same stack.
l Direct mode

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 234


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

In direct mode, stack member switches use direct links over common network cables as
dedicated MAD links. When the stack is running normally, member switches do not send
MAD packets. After the stack splits, the member switches send a MAD packet every 1s
over the MAD link to check whether more than one master switch exists.
In direct mode, stack member switches can be directly connected to an intermediate
device or fully meshed to each other:
– Directly connected to an intermediate device (Figure 9-9): Each member switch has
at least one MAD link connected to the intermediate device.
– Fully meshed to each other (Figure 9-10): In the full-mesh topology, at least one
MAD link exists between any two member switches.
The use of an intermediate device can shorten the MAD links between member switches.
This topology applies to stacks where member switches are far from each other. The full-
mesh topology prevents MAD failures caused by failures of an intermediate device, but
full-mesh connections occupy many interfaces on the member switches. Therefore, this
topology applies to stacks with a few member switches.
NOTE

l After configuring MAD in direct mode on an interface, do not configure other services on the
interface.
l A maximum of eight direct MAD links can be configured between member switches to ensure
reliability.
l MAD packets are bridge protocol data units (BPDUs), so the intermediate device must be able
to forward BPDUs. For details on how to configure this function, see Configuring Interface-
based Layer 2 Protocol Transparent Transmission in "Layer 2 Protocol Transparent
Transmission Configuration" in the S1720, S2700, S5700, and S6720 V200R011C10
Configuration Guide - Ethernet Switching.

Figure 9-9 MAD through direct links to an intermediate device

SwitchD

Stack

SwitchA SwitchB SwitchC

MAD Link
Stack Link

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 235


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-10 Full-meshed connections between member switches

Stack

SwitchA SwitchB SwitchC

MAD Link
Stack Link

l Relay mode
In relay mode, MAD relay detection is configured on an Eth-Trunk interface in the stack,
and the MAD detection function is enabled on an agent. Every member switch must have
a link to the agent and these links must be added to the same Eth-Trunk. In contrast to
the direct mode, the relay mode does not require additional interfaces because the Eth-
Trunk interface can run other services while performing MAD relay detection.
In relay mode, when the stack is running normally, member switches send MAD packets
at an interval of 30s over the MAD links and do not process received MAD packets.
After the stack splits, member switches send MAD packets at an interval of 1s over the
MAD links to check whether more than one master switch exists.
You can use an independent relay agent (Figure 9-11) or use two stacks as each other's
relay agents (Figure 9-12).
NOTE

l The relay agent is a switch that supports the MAD relay function. Currently, all the S series
switches support this function.
l To implement MAD relay detection by using two stacks as each other's relay agent, configure
different domain IDs for the two stacks. Member switches of a stack form a stack domain. A
network may have multiple stack domains, with different domain IDs.

Figure 9-11 Single switch as the MAD relay agent

SwitchD

Eth-Trunk

Stack

SwitchA SwitchB SwitchC

MAD Link
Stack Link

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 236


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-12 Two stacks as MAD relay agents of each other

Stack
Domain ID 1 SwitchA SwitchB SwitchC

Eth-Trunk

Stack SwitchD SwitchE SwitchF


Domain ID 2

MAD Link
Stack Link

Each Eth-Trunk can have a maximum of eight member interfaces. Therefore, when a
stack contains nine member switches, one Eth-Trunk cannot provide MAD links for all
the member switches. In this case, configure multiple Eth-Trunks to ensure that a MAD
link is available between every two member switches. As shown in Figure 9-13, Eth-
Trunk1 provides MAD links for Switch1 through Switch8, Eth-Trunk2 provides MAD
links for Switch2 through Switch9, and Eth-Trunk3 provides MAD links for Switch1 and
Switch9.

Figure 9-13 MAD relay detection on multiple Eth-Trunks

Eth-Trunk1
Eth-Trunk2
Eth-Trunk3
Eth-Trunk3

Stack

Switch1 Switch2 Switch8 Switch9

MAD Link
Stack Link

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 237


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Multi-Active Handling
After a stack splits, the MAD mechanism sets the new stacks to Detect or Recovery state. The
stack in Detect state still works, whereas the stack in Recovery state is disabled.
MAD handles a multi-active situation in the following way: When multiple stacks in Detect
state are detected by the MAD split detection mechanism, the stacks compete to retain the
Detect state. The stacks that fail in the competition enter the Recovery state, and all the
physical ports except the excluded ports on the member switches in these stacks are shut
down. The stacks in Recovery state no longer forward service packets.
Fault Recovery
After the faulty link recovers, the stacks merge into one in either of the following ways:
l The stack in Recovery state restarts and merges with the stack in Detect state, and the
service ports that have been shut down are restored to Up state. Then the entire stack
recovers.
l If the stack in Detect state is also faulty before the faulty link recovers, you can remove
this stack from the network and start the stack in Recovery state using a command to
switch service traffic to this stack. Then rectify the stack system fault and link fault.
After the stack recovers, connect it to the network so that it can merge with the other
stack.

9.3.8 Master/Standby Switchover


A master/standby switchover occurs in a stack when the master switch restarts or when a user
runs the switchover command. Figure 9-14 illustrates how the roles of member switches
change after a master/standby switchover.

Figure 9-14 Changes of member switch roles after a master/standby switchover

SwitchA SwitchA
(Master) (Slave)

Switchover

Stack1 Stack2

SwitchC SwitchB SwitchC SwitchB


(Slave) (Standby) (Standby) (Master)

1. The original standby switch becomes the master switch.


2. The new master switch selects a standby switch.
3. The original switch rejoins the stack as a slave switch after it restarts.

9.3.9 Stack Upgrade


A stack supports three upgrade methods: intelligent upgrade, traditional upgrade, and smooth
upgrade.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 238


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Intelligent Upgrade
When a stack is set up or new member switches join a stack, the standby and slave switches or
new member switches check whether their software versions are the same as that of the
master switch. If not, they download the system software from the master switch, restart with
the new system software, and rejoin the stack.

Traditional Upgrade
You can specify the startup system software on the master switch and restart the entire stack
to upgrade the software of member switches. This upgrade method causes service interruption
for a relatively long time and can be used in scenarios insensitive to the service interruption
time.

Smooth Upgrade
A smooth upgrade can be performed in a stack that has uplinks and downlinks working in
redundancy mode. As shown in Figure 9-15, the stack is divided into an active area (with the
master switch) and a backup area. Member switches in the two areas are upgraded in turn.
When an area is being upgraded, traffic is transmitted through the other area, minimizing the
impact of the upgrade on services. Use this upgrade method for the scenarios that are sensitive
to the service interruption time.
In a network where uplinks and downlinks work in redundancy mode, both upstream traffic
and downstream traffic are forwarded through the active and backup areas. When member
switches in the backup area are upgrading, traffic is forwarded through the active area. When
member switches in the active area are being upgraded, traffic is forwarded through the
backup area.

NOTE

To implement smooth upgrade for a stack, the stack must have uplinks and downlinks working in
redundancy mode.To ensure a successful upgrade, you are advised to add at least one link on each
member switch to an inter-device Eth-Trunk.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 239


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-15 Networking for a smooth upgrade

Network

Active area Backup area

Master Stack Stanbdy

Building A Building B

Stack link
common link
Eth-Trunk

Requirements for a Smooth Upgrade


l The uplinks and downlinks work in redundancy mode.
l The system software for the next startup supports the smooth upgrade function.
l Member switches in the stack are running the same system software, with the same
software package name, version, and path.
l Member switches have the same system software specified for next startup, with the
same software package name, version, and path.

Rules for Defining Active and Backup Areas


l The active and backup areas cannot have the same member switch, and both areas must
have at least one member switch.
l The backup area cannot contain the master switch.
l Member switches in each area must be directly connected.
l Member switches in the active and backup areas constitute the entire stack.
Figure 9-16 shows an example. The switch with stack ID 1 is the master switch of the stack.
If the stack ID range that you specify for the backup area is 4 to 3, the backup area contains
member switches with stack IDs 4, 6, 5, and 3, and the active area contains member switches
with stack IDs 1 and 2.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 240


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-16 Defining active and backup areas

Active area
2 1 Master

4 3

6 5
Backup area

Smooth Upgrade Process


A smooth upgrade goes through three stages:
1. The master switch issues the smooth upgrade command to the entire stack. Member
switches in the backup area restart with the new system software.
2. Member switches in the backup area set up an independent stack running the new system
software and notify member switches in the active area. The master switch in the backup
area starts to control the stack, and traffic is transmitted through the backup area. The
active area then starts the upgrade.
3. Member switches in the active area restart with the new system software and join the
stack set up in the backup area. The master switch in the backup area displays the
upgrade result depending on the stack setup result.
NOTE

If errors or exceptions occur during a smooth upgrade, or the upgrade times out (the timeout interval is
70 minutes), member switches automatically roll back to the original system version and set up a stack
again.

9.3.10 Inter-Device Link Aggregation and Local Preferential


Forwarding

Inter-Device Link Aggregation


A stack supports inter-device link aggregation through Eth-Trunks between devices. You can
bundle physical Ethernet interfaces on different member switches into an Eth-Trunk interface
and connect the stack to an upstream or downstream device through the Eth-Trunk link. If a
member link of the Eth-Trunk or a member switch fails, traffic on the link or switch can be
distributed to other member links through the stack cables connecting the member switches.
Inter-device link aggregation implements link backup and device backup to ensure reliable
data traffic transmission.
As shown in Figure 9-17, traffic sent to the core device on the network is equally distributed
to member links of an Eth-Trunk set up between stack member switches. When a member link

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 241


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

fails, traffic on this link is distributed to the other link through the stack cables connecting the
member switches. This link backup mechanism improves network reliability.

Figure 9-17 Implementing link backup through inter-device Eth-Trunk

Network Network

Stack Stack

Forwarding paths before Forwarding paths after a


a link failure link failure

Data flow 1
Data flow 2
Stack Link
Eth-Trunk

As shown in Figure 9-18, traffic sent to the core device on the network is equally distributed
to member links of an Eth-Trunk set up between stack member switches. When a member
switch fails, traffic toward this switch is distributed to the other switch. This device backup
mechanism improves network reliability.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 242


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-18 Implementing device backup through inter-device Eth-Trunk

Network Network

Stack Stack

Forwarding paths before Forwarding paths before


a device failure after device failure
Data flow 1
Data flow 2
Stack Link
Eth-Trunk

Local Preferential Forwarding


Inter-device link aggregation implements reliable data traffic transmission and backup
between member switches. Because a stack cable provides limited bandwidth, inter-device
forwarding increases the load on stack cables and reduces forwarding efficiency. To improve
the forwarding efficiency and reduce traffic on stack cables, the switch provides the local
preferential forwarding feature. After this feature is enabled on the device, traffic reaching the
local switch is preferentially forwarded through a local interface. If the local device has not
outbound interface or all the outbound interfaces fail, traffic is forwarded through an interface
on the other member switch.

As shown in Figure 9-19, SwitchA and SwitchB form a stack, and their uplink and downlink
interfaces are bundled to Eth-Trunk interfaces. If local preferential forwarding is not
configured, traffic reaching SwitchA is load balanced between the Eth-Trunk member links.
Some traffic is forwarded from SwitchA to SwitchB through the stack cables and is sent out
from a physical interface on SwitchB. If local preferential forwarding is configured, traffic
reaching SwitchA is forwarded through a local physical interface and does not pass through

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 243


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

the stack cables. By default, the local preferential forwarding function is enabled on the
device.

Figure 9-19 Local preferential forwarding

Network Network

SwitchC SwitchC

SwitchA SwitchB SwitchA SwitchB


Stack Stack

Local preferential forwarding Local preferential forwarding


not supported supported
Data flow 1
Data flow 2
Stack Link
Eth-Trunk

9.4 Application Scenarios for Stacks

Increasing the Number of Ports


As shown in Figure 9-20, when the port density of a system is insufficient for an increased
number of users, you can add new member switches to the stack to increase ports.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 244


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-20 Increasing ports in a stack


Stack

Increasing Bandwidth
As shown in Figure 9-21, when higher uplink bandwidth is required, you can add new
member switches to the stack and bundle physical links of the member switches into a link
aggregation group to increase the uplink bandwidth.

Figure 9-21 Increasing uplink bandwidth

Stack

Simplifying Network Topology


As shown in Figure 9-22, multiple switches are virtualized into a logical switch. This
simplified network does not require MSTP, so network configuration is much simpler. Inter-
device link aggregation also speeds up network convergence and improves network reliability.

Figure 9-22 Simplifying network topology

MSTP + VRRP

Stack

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 245


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Long-Distance Stacking
As shown in Figure 9-23, users on each floor connect to the external network through
respective corridor switches, which are far from one another. When corridor switches in a
building are connected using stack cables and form a stack, each building has only one virtual
access switch, so the network becomes much simpler. Furthermore, each building has
multiple links to the core network, improving network robustness and reliability. The
administrator only needs to configure stacks and does not need to configure all the corridor
switches one by one, reducing management and maintenance costs.

Figure 9-23 Long-distance stacking

Network

Stack Stack

Floor 1 Floor 2 Floor 3 Floor 1 Floor 2 Floor 3


Building A Building B

9.5 Stack Connection Modes

NOTE

Stack member switches must be directly connected.

Switches can set up a stack through stack card connection and service port connection based
on stack port types.

Stack card connection


The following scenarios are supported:

l Member switches are connected using dedicated stack cards ES5D21VST000 and stack
cables.
l Stack cards are integrated into the rear panels of member switches, and member switches
are connected using integrated stack ports and dedicated stack cables.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 246


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Service port connections


Service port stacking allows member switches to be connected using service ports, without
requiring dedicated stack cards. These service ports are configured as physical member ports
and bound to logical stack ports. Figure 9-24 shows physical member ports and logical stack
ports in a stack.

Figure 9-24 Service port connections

Physical Logical stack port


member port
Stack

Stack Link

l Physical member port


A physical member port is a service port used to set up a stack link between stack
member switches. Physical member ports forward service packets or stack protocol
packets between member switches.
l Logical stack port
A logical stack port is bound to physical member ports to connect stack member
switches. Each member switch supports two logical stack ports: stack-port n/1 and stack-
port n/2, where n is the stack ID of the member switch.
Service port connections are classified into ordinary and dedicated cable connections based on
cable types.
l Ordinary cable connection
Ordinary stack cables include optical cables, network cables, and high-speed cables.
When ordinary stack cables are used to set up a stack, logical stack ports must be
manually configured. Otherwise, the stack cannot be set up.
l Dedicated cable connection
Figure 9-25 shows the appearance of a dedicated stack cable. Its two ends are the master
end with the Master tag and the slave end without any tag. When dedicated stack cables
are used to set up a stack, switches can automatically set up a stack after these cables are
connected to ports according to connection rules.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 247


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-25 Dedicated stack cable

9.6 Summary of Stack Configuration Tasks


When a stack is set up, basic functions of the stack are available. To enhance system
reliability and facilitate stack management, additional functions, such as MAD, need to be
configured in the stack.
Table 9-3 lists the stack configuration tasks.

Table 9-3 Stack configuration tasks


Scenario Description Task

Set up a stack Different stack connection Use one of the following


modes have different methods:
hardware and software l 9.9 Establishing a Stack
requirements. Select the Through Stack Card
appropriate mode to set up a Connections
stack based on device
resources or network l 9.10 Establishing a
requirements. Stack Through Service
Port Connections Using
To set up a stack, confirm Ordinary Stack Cables
the software and hardware
requirements, install the l 9.11 Establishing a
hardware, and configure the Stack Through Service
software. After that, check Port Connections Using
whether the stack has been Dedicated Stack Cables
set up successfully. (Zero-Configuration
Stacking)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 248


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Scenario Description Task

Configure enhanced The following 9.12 Configuring


functions in the stack configurations can be Enhanced Stacking
performed to enhance Functions
system reliability and
facilitate stack management:
l Configuring MAD
l Configuring a System
MAC Address
Switching Delay
l Enabling a Port
Indicator to Show the
Stack ID
l Configuring the
Reserved VLAN of the
Stack
l Configuring a Load
Balancing Mode for
Stack Links
The preceding tasks are
optional and can be
configured based on your
needs. It is recommended
that you configuring MAD
immediately after a stack is
set up.

Maintain the stack You can perform the 9.13 Maintaining Stacks
following tasks during stack
maintenance:
l 9.13.1 Monitoring the
Stack Status
l 9.13.3 Performing a
Master/Standby
Switchover
l 9.13.4 Upgrading Stack
Software
The preceding tasks are
optional and can be
configured based on your
needs.

Split the stack If the stack is not required, 9.14 Splitting a Stack
split the stack to restore the
member switches to
standalone switches.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 249


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7 Stacking Support and Version Requirements

9.7.1 Recommended Stack Deployment Scenarios

Scenario 1: The Stack System Operates on Aggregation Switches


This is the most common scenario when aggregation switches set up a stack system, as shown
in Figure 9-26.

The following switch models can set up a stack system in this scenario: S6700EI, S5700HI,
S5710HI, S5710EI, S5700EI, S5700SI, S5720EI, S5720HI, S6720S-EI, and S6720EI.

In this scenario, each switch in a stack connects to a core device through Eth-Trunk. The stack
system simplifies management of aggregation devices and improves uplink reliability of
aggregation devices.

Figure 9-26 Stack system operating on aggregation switches


CSS
Core
AC

Aggregation Stack

Access

AP
User

Scenario 2: The Stack System Operates on Access Switches


This is the most common scenario when Layer 2 access switches set up a stack system, as
shown in Figure 9-27.

The following switch models can set up a stack system in this scenario: S2720EI, S2750EI,
S5700LI, S5700EI, S5710-C-LI, S5710-X-LI, S5720LI, S5720S-LI, S5700SI, S5720SI,
S5720S-SI, S5700S-LI, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI.

In this scenario, each switch in a stack connects to an aggregation device through Eth-Trunk.
The stack system simplifies management of and improves uplink reliability of access devices.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 250


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-27 Stack system operating on access switches

Core CSS

AC

Aggregation

Stack
Access

AP
User

Scenario 3: The Stack System Operates on an Access Ring


This scenario rarely occurs. Figure 9-28 shows the networking of this scenario.
The following switch models can set up a stack system in this scenario: S2720EI, S2750EI,
S5700LI, S5700EI, S5710-C-LI, S5710-X-LI, S5720LI, S5720S-LI, S5700SI, S5720SI,
S5720S-SI, S5700S-LI, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI.
In this scenario, multiple stack systems form a ring through Eth-Trunk, and one stack system
connects to aggregation switches through Eth-Trunk. This scenario reduces the number of
management IP addresses of access devices.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 251


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-28 Stack system operating on an access ring


CSS
Core
AC

Aggregation

Access

Stack1 Stack2

Stack3

User AP

Recommended Scenarios
NOTE

The following recommendations are provided based on the positioning of fixed switch models. If customers
have special requirements, deploying high-end devices at a lower network layer is recommended; you are not
advised to deploy low-end devices at a higher network layer. For example, it is recommended to deploy
aggregation switches at the access layer rather than to deploy access switches at the aggregation layer.
To ensure stack reliability and bandwidth, you are advised to do as follows:
l Ensure that each member device connects to the core device through an uplink port. This connection
prevents upstream traffic forwarding from being affected when any member device fails.
l When using multiple devices to set up a stack, ensure the same stack bandwidth between any two
devices. Otherwise, the bandwidth of the stack system is the minimum stack bandwidth.

Table 9-4 Recommended scenarios


Model Scenario 1 Scenario 2 Scenario 3

S5700HI, S5710HI, First preferred Second preferred Not recommended


S5710EI, S6700EI

S5720EI, S5720HI, First preferred Second preferred Second preferred


S6720EI, S6720S-EI

S5700EI, S5700SI First preferred First preferred Second preferred

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 252


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Model Scenario 1 Scenario 2 Scenario 3

S5720SI, S5720S-SI Second preferred First preferred First preferred

S2720EI, S2750EI, Not recommended First preferred Second preferred


S5700LI, S5720LI,
S5720S-LI,
S5730SI, S5730S-
EI, S6720LI,
S6720S-LI,
S6720SI, S6720S-SI

S5700S-LI, S5710- Not recommended First preferred First preferred


C-LI, S5710-X-LI

9.7.2 Stack Service Configuration Recommendations

Feature Limitations
Stack Setup Guidelines
l A stack contains a maximum of five, eight, or nine stack members depending on switch
models. To ensure high forwarding performance and reliability, ensure that the number
of stack members of each switch series does not exceed the recommended value. For
example, the recommended number of S5700LI switches in a stack is 2 to 5. For the
recommended value of each switch series, see "Service Port Stacking Support" or "Stack
Card Stacking Support".
l When setting up a stack containing a mix of different switch models, follow the
following rules:
– A stack cannot be set up among different switch series. For example, a stack cannot
be set up among the S5700 and S6700 switches.
– A stack cannot be set up among different switch models of the same switch series.
For example, a stack cannot be set up among the S5720EI and S5720HI switches.
– A stack can be set up among only certain different switch models of the same
switch series. For example, a stack can be set up among the S5720SI and S5720S-
SI switches but not among the S5720LI and S5720S-LI switches. For details about
whether a stack can be set up among different switch models, see stack support of
different switch models in Stacking Support and Version Requirements. As
described in Remarks of S6720LI and S6720S-LI Service Port Stacking
Support, a stack can be set up among all S6720LI models, among all S6720S-LI
models, but not among the S6720LI and S6720S-LI models.

Version restrictions:
l When multiple switches set up a stack, member switches will synchronize the running
version of the master switch. If a member switch does not support this running version, it
will restart repeatedly.
l In V200R009C00, if MPLS-incapable S5720EIs exist in a stack, this stack cannot have
MPLS enabled. If member devices in a stack are running MPLS services, adding MPLS-
incapable S5720EIs to the stack is not allowed.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 253


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l An S5720HI supports the stacking function since V200R009C00. When a member


device in a stack is faulty and fails to restart for three consecutive times, the device
attempts to roll back to a version earlier than V200R009C00 for restart. When the device
restarts successfully after rolling back to a version earlier than V200R009C00, a multi-
active situation may occur because the version earlier than V200R009C00 does not
support the stacking function. To prevent this situation, you are advised to delete the
system software earlier than V200R009C00 from member devices when using S5720HIs
to set up a stack.

MAD specifications:
l You can configure a maximum of eight direct detection links for each member switch in
a stack.
l You can configure the relay mode on a maximum of four Eth-Trunks in a stack.
l In V200R008C00 and earlier versions, you can configure a maximum of 64 Eth-Trunks
on a relay agent to provide the relay function for multiple stacks. This restriction does
not apply to versions later than V200R008C00.

After multiple switches form a stack, the following features cannot be configured in the
stack:

l Y.1731 one- and two-way frame delay measurement


l N:1 VLAN Mapping
l IPv6 over IPv4 tunnel
l IPv4 over IPv6 tunnel
l E-Trunk

When you establish a stack on the switches that support both stack card connection and
service port connection, such as S5720-C-EI, note the following:
l All member switches must use the same stack connection mode.
l When a member switch has stack cards installed and the service port stack configuration,
the switch uses the service port connection mode to establish a stack. It does not use the
stack card connection mode even though a stack fails to be established in service port
connection mode and stack cards are connected correctly.
l A switch uses the stack card connection mode to establish a stack only when it has no
service port stack configuration.
l If a switch is currently using the stack card connection mode, perform the service port
stack configuration on the switch before changing the stack connection mode to service
port connection. After the service port stack configuration is complete, the switch uses
the service port connection mode when restarting.
l If a switch using the stack card connection mode has service port configuration, a
smooth upgrade cannot be performed on the switch.
l If a switch is currently using the service port connection mode, correctly connect stack
cards and stack cables and clear the existing service port stack configuration before
changing the stack connection mode to stack card connection. You can use the reset
stack-port configuration command to clear the existing service port stack
configuration.
l When changing service port connection to stack card connection, you are advised to
remove the cables connected to service ports to prevent loops.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 254


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Deployment Recommendations
l Connect a stack to other network devices using an Eth-Trunk and add one port of each
member switch to the Eth-Trunk.
l When a stack connects to access devices, configure ports directly connected to terminals
as STP edge ports to prevent STP re-calculation when the ports alternate between Up and
Down states. This configuration ensures normal traffic forwarding.
l If storm control needs to be configured on many ports, replace storm control with traffic
suppression to save CPU resources.
l If port security needs to be configured on many ports, replace port security with MAC
address learning limiting to save CPU resources.
l Loops may occur on a network to which a stack connects. Run the mac-address
flapping action error-down command to set an interface to the error-down state when
MAC address flapping is detected on the interface. This improves system processing
performance and allows the peer device to detect that the interface becomes Down.
Additionally, if the peer device has redundant links, traffic can be rapidly switched to a
normal link.

9.7.3 Stack Version Requirements

Involved Network Elements


Other network elements are not required.

Licensing Requirements
Stacking is not under license control.

Version Requirements
NOTE

Switches can set up a stack through stack card connection and service port connection based on stack port
types. Service port connections are classified into ordinary and dedicated cable connections based on cable
types.
l Ordinary cable connection: Switches use optical cables, network cables, and high-speed cables to set
up a stack.
l Dedicated cable connection: Switches use dedicated stack cables to set up a stack. This connection
mode is also called zero-configuration stacking.
For stacking support of switch models, see "Service Port Stacking Support" or "Stack Card Stacking
Support".

Table 9-5 Applicable product models and versions

Product Software Version Stack Connection


Mode

S1720 Not supported -

S2700SI Not supported -

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 255


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Product Software Version Stack Connection


Mode

S2710SI V100R006(C03&C05) Service port


connection using
ordinary cables

S2700EI V100R005C01, Service port


V100R006(C00&C01&C03&C05) connection using
ordinary cables

S2720EI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R006C10, V200R009C00, ordinary and
V200R010C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S2750EI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R003C00, V200R005C00SPC300, ordinary and
V200R006C00, V200R007C00, dedicated cables
V200R008C00, V200R009C00,
V200R010C00, V200R011C00, V200R011C10
Versions supporting service port connection
using dedicated cables:
V200R011C10

S3700SI V100R005C01, Service port


V100R006(C00&C01&C03&C05) connection using
ordinary cables

S3700EI V100R005C01, Service port


V100R006(C00&C01&C03&C05) connection using
ordinary cables

S3700HI Not supported -

S5700EI V100R005C01, V100R006(C00&C01), Stack card connection


V200R001(C00&C01), V200R002C00,
V200R003C00,
V200R005(C00&C01&C02&C03)

S5700SI V100R005C01, V100R006C00, Stack card connection


V200R001C00, V200R002C00,
V200R003C00, V200R005C00

S5700HI V200R003C00, V200R005C00 Service port


connection using
ordinary cables

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 256


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Product Software Version Stack Connection


Mode

S5700LI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R001C00, V200R002C00, ordinary and
V200R003(C00&C02&C10), dedicated cables
V200R005C00SPC300, V200R006C00,
V200R007C00, V200R008C00,
V200R009C00, V200R010C00,
V200R011C00, V200R011C10
Versions supporting service port connection
using dedicated cables:
V200R011C10

S5700S-LI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R008C00, V200R009C00, ordinary and
V200R010C00, V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S5710EI V200R001C00, V200R002C00, Service port


V200R003C00, V200R005(C00&C02) connection using
ordinary cables

S5710HI V200R005C03 Service port


connection using
ordinary cables

S5710-C-LI V200R001C00 Stack card connection

S5710-X-LI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R008C00, V200R009C00, ordinary and
V200R010C00, V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S5720LI and Versions supporting service port connection Service port


S5720S-LI using ordinary cables: connections using
V200R010C00, V200R011C00, V200R011C10 ordinary and
Versions supporting service port connection dedicated cables
using dedicated cables:
V200R011C10

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 257


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Product Software Version Stack Connection


Mode

S5720SI and Versions supporting service port connection Service port


S5720S-SI using ordinary cables: connections using
V200R008C00, V200R009C00, ordinary and
V200R010C00, V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S5720EI V200R007C00, V200R008C00, Service port


V200R009C00, V200R010C00, connection using
V200R011C00, V200R011C10 ordinary cables:
S5720-C-EI, S5720-
PC-EI
Stack card
connection: S5720-P-
EI, S5720-C-EI,
S5720-X-EI, S5720-
PC-EI
When using the stack
card connection
mode, note the
following:
l S5720-C-EI and
S5720-PC-EI
series switches use
dedicated stack
cards to set up
stacks.
l S5720-X-EI and
S5720-P-EI series
switches use stack
ports fixed on
cards to set up
stacks.

S5720HI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R009C00, V200R010C00, ordinary and
V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S5730SI V200R011C10 Service port


connections using
ordinary and
dedicated cables

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 258


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Product Software Version Stack Connection


Mode

S5730S-EI V200R011C10 Service port


connections using
ordinary and
dedicated cables

S6700EI V100R006C00, V200R001(C00&C01), Service port


V200R002C00, V200R003C00, connection using
V200R005(C00&C01&C02) ordinary cables

S6720EI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R008C00, V200R009C00, ordinary and
V200R010C00, V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S6720S-EI Versions supporting service port connection Service port


using ordinary cables: connections using
V200R009C00, V200R010C00, ordinary and
V200R011C00, V200R011C10 dedicated cables
Versions supporting service port connection
using dedicated cables:
V200R011C10

S6720SI and Versions supporting service port connection Service port


S6720S-SI using ordinary cables: connections using
V200R011C00, V200R011C10 ordinary and
Versions supporting service port connection dedicated cables
using dedicated cables:
V200R011C10

S6720LI and Versions supporting service port connection Service port


S6720S-LI using ordinary cables: connections using
V200R011C00, V200R011C10 ordinary and
Versions supporting service port connection dedicated cables
using dedicated cables:
V200R011C10

NOTE
To know details about software mappings, see Hardware Query Tool.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 259


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.4 S2700 Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be used
as ordinary service ports.
l After a UCL group is created using the ucl-group command on S2720EI switches, a stack cannot be set
up.
l Since V200R011C10, S2720EI and S2750EI series switches can set up stacks in service port stacking
mode using dedicated stack cables.
l The number of S2750EIs used to set up a stack is recommended to be 2 to 5.
l For S2700EIs and S2710SIs, if the stack system works only in Layer 2 and Layer 3 forwarding scenarios,
the number of stack member switches is recommended to be 2 to 5. If the stack system works in user
access or gateway scenarios that require protocol interaction, the number of stack member switches is
recommended to be 2 or 3.
l The S2720EI has only one model, S2720-28TP-EI-AC, in V200R006C10, V200R009C00, and
V200R010C00. The S2720-28TP-EI-AC cannot be upgraded to V200R011C00 and later versions. The
number of S2720-28TP-EI-ACs used to set up a stack is recommended to be 2 to 5. In V200R011C10 and
later versions, the number of S2720EIs used to set up a stack is recommended to be 2 to 9.

Table 9-6 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S270 First two GE 1.5 m SFP 2.5Gb l Among S2700EI switches, only the
0EI ports on the stack cable it/s S2700-52P-EI-AC and S2700-52P-
front panel PWR-EI support the stacking
function. A stack can be set up
between the S2700-52P-EI-AC and
S2700-52P-PWR-EI.
l A switch supports a maximum of two
logical stack ports, and each logical
stack port contains one stack member
port. A switch supports a maximum
of two stack member ports.

S271 First two GE 1.5 m SFP 2.5Gb l Any models of the S2710SI series
0SI ports on the stack cable it/s can set up a stack.
front panel l A switch supports a maximum of two
logical stack ports, and each logical
stack port contains one stack member
port. A switch supports a maximum
of two stack member ports.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 260


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S272 Two or four l 1m 2.5 l Any models of the S2720EI series


0EI SFP optical passive Gbit/s can set up a stack.
ports SFP+ l A switch supports a maximum of two
copper logical stack ports, and each logical
cables stack port contains one or two stack
l 3m and 5 member ports. A switch supports a
m passive maximum of four stack member
SFP+ ports.
copper
cables
(supporte
d in
V200R01
1C10 and
later
versions)
l 10 m
active
SFP+
copper
cable
l 3 m and
10 m
AOC
cables
l 6GE stack
optical
module
(SFP-6GE
-LR) and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 261


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S275 Two SFP l 1 m SFP+ 2.5 l Any models of the S2750EI series
0EI optical ports passive Gbit/s can set up a stack.
high- l On an S2750EI switch, only the first
speed and second service ports from the
copper right can be configured as stack
cables member ports of a logical stack port.
l 10 m SFP l A switch supports a maximum of two
+ active logical stack ports, and each logical
high- stack port contains one or two stack
speed member ports. Each switch can use a
copper maximum of two service ports as
cables stack member ports.
l 3 m and
10 m
AOC
cables
l 6GE stack
optical
module
(SFP-6GE
-LR) and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 262


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.5 S3700 Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be used
as ordinary service ports.
l If the stack system works only in Layer 2 and Layer 3 forwarding scenarios, the number of stack member
switches is recommended to be 2 to 5. If the stack system works in user access or gateway scenarios that
require protocol interaction, the number of stack member switches is recommended to be 2 or 3.

Table 9-7 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S370 First two GE 1.5 m SFP 2.5Gb l All models support the stacking
0EI ports on the stack cable it/s function except that a stack cannot be
front panel set up between the S3752EI and
S3728EI.
l A switch supports a maximum of two
logical stack ports, and each logical
stack port contains one stack member
port. A switch supports a maximum
of two stack member ports.

S370 First two GE 1.5 m SFP 2.5Gb l All models support the stacking
0SI ports on the stack cable it/s function except that a stack cannot be
front panel set up between the S3752SI and
S3728SI.
l A switch supports a maximum of two
logical stack ports, and each logical
stack port contains one stack member
port. A switch supports a maximum
of two stack member ports.

9.7.6 S5700EI and S5700SI Stack Card Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l The number of stacked switches is recommended to be 2 to 5.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 263


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-8 Stack card stacking support


Device Stacking- Stack Cable Rate of a Remarks
Series supported Single Port
Port

S5700SI Two ports on l 1 m PCIe cable 12 Gbit/s l All models


each stack l 3 m PCIe cable except
card (supported in S5700-26X-
V200R003 and SI-12S-AC
later versions) support the
stacking
function.
l Any models of
the S5700SI
series can set up
a stack.

S5700EI Two ports on l 1 m PCIe cable 12 Gbit/s Any models of the


each stack l 3 m PCIe cable S5700EI series can
card (supported in set up a stack.
V200R002 and
later versions. In
V200R002, only
S5700-52C-EI
and S5700-28C-
EI-24S support
the 3 m PCIe
cable. In
V200R003 and
later versions, all
the S5700EI
series supports
the 3 m PCIe
cable.)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 264


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.7 S5700LI and S5700S-LI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l S5700LI series switches are classified into S5700-P-LI, S5700-TP-LI, and S5700-X-LI based on
their uplink interface types. A stack cannot be set up between S5700-P-LI, S5700-TP-LI, and
S5700-X-LI.
l S5700S-LI series switches are classified into S5700S-P-LI and S5700S-X-LI based on their uplink
interface types. A stack cannot be set up between S5700S-P-LI and S5700S-X-LI.
l Among S5700-P-LI series switches, only the S5700-28P-LI-AC, S5700-28P-LI-DC, S5700-28P-
PWR-LI-AC, S5700-52P-LI-AC, S5700-52P-LI-DC, and S5700-52P-PWR-LI-AC support the
stacking function.
l Among S5700S-P-LI series switches, only the S5700S-28P-PWR-LI-AC supports the stacking
function.
l Since V200R011C10, S5700LI and S5700S-LI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 5.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 265


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-9 Service port stacking support


Devi Port Stack Cable Rate of a Remarks
ce Supp Single Port
Serie ortin
s g
Stac
king

S570 l V l 1m l Using a l Any models of the S5700-P-LI series


0-P- 20 passive 10 m SFP can set up a stack.
LI 0 SFP+ + active l V200R010 and earlier versions: A
R copper high- switch supports a maximum of two
01 cable speed logical stack ports, and each logical
0 l 10 m copper: 5 stack port contains one stack member
an active Gbit/s port. A switch supports a maximum
d SFP+ l Using of two stack member ports.
ea copper other
rli l V200R011 and later versions: A
cable stack switch supports a maximum of two
er cable: 2.5
ve l 3 m and logical stack ports, and each logical
Gbit/s stack port contains one or two stack
rsi 10 m
on AOC member ports. A switch supports a
s: cables maximum of four stack member
las (supporte ports. When one logical stack port
t d in contains two stack member ports, the
tw V200R00 logical stack port can contain only
o 3 and stack member ports 1 and 2, or 3 and
SF later 4.
P versions)
op l 6GE stack
tic optical
al module
po (SFP-6GE
rts -LR) and
l V optical
20 fiber
0 (supporte
R d in
01 V200R00
1 7 and
an later
d versions)
lat l 0.5 m and
er 1.5 m SFP
ve +
rsi dedicated
on stack
s: cable
las (supporte
t d in
fo V200R01
1C10 and

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 266


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

ur later
SF versions)
P
op
tic
al
po
rts

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 267


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

S570 Two l 1m l Using a l Any models of the S5700-TP-LI


0-TP- SFP passive 10 m SFP series can set up a stack.
LI optica SFP+ + active l A switch supports a maximum of two
l copper high- logical stack ports, and each logical
ports cable speed stack port contains one or two stack
l 10 m copper: 5 member ports. Each switch can use a
active Gbit/s maximum of two service ports as
SFP+ l Using stack member ports.
copper other
cable stack
l 3 m and cable: 2.5
10 m Gbit/s
AOC
cables
l 6GE stack
optical
module
(SFP-6GE
-LR) and
optical
fiber
(supporte
d in
V200R00
7 and
later
versions)
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 268


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

S570 Four l 1m 10 Gbit/s l Any models of the S5700-X-LI series


0-X- SFP+ passive can set up a stack.
LI optica SFP+ l A switch supports a maximum of two
l copper logical stack ports, and each logical
ports cable stack port contains one or two stack
l 3m member ports. Each switch can use a
passive maximum of four service ports as
SFP+ stack member ports. When a logical
copper stack port contains two stack member
cable ports, the logical stack port can
l 5m contain only stack member ports 1
passive and 2 or stack member ports 3 and 4.
SFP+
copper
cable
(supporte
d in
V200R00
9 and
later
versions)
l 10 m
active
SFP+
copper
cable
l 3 m and
10 m
AOC
cables
(supporte
d in
V200R00
3 and
later
versions)
l 10GE
SFP+
optical
module
and
optical
fiber

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 269


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 270


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

S570 Two l 1 m SFP+ l Using a l Any models of the S5700S-P-LI


0S-P- SFP passive 10 m SFP series can set up a stack.
LI optica high- + active l A switch supports a maximum of two
l speed high- logical stack ports, and each logical
ports copper speed stack port contains one or two stack
cables copper: 5 member ports. Each switch can use a
l 10 m SFP Gbit/s maximum of two service ports as
+ active l Using stack member ports.
high- other
speed stack
copper cable: 2.5
cables Gbit/s
l 3 m and
10 m
AOC
cables
l 6GE stack
optical
module
(SFP-6GE
-LR) and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 271


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

S570 Four l 1 m and 3 10 Gbit/s l Any models of the S5700S-X-LI


0S-X- SFP+ m SFP+ series can set up a stack.
LI optica passive l A switch supports a maximum of two
l high- logical stack ports, and each logical
ports speed stack port contains one or two stack
copper member ports. Each switch can use a
cables maximum of four service ports as
l 5 m SFP+ stack member ports. When a logical
passive stack port contains two stack member
high- ports, the logical stack port can
speed contain only stack member ports 1
copper and 2 or stack member ports 3 and 4.
cables l Since V200R010, if stack member
(supporte ports are connected using 1 m or 3 m
d in SFP+ passive high-speed copper
V200R00 cables on S5700S-X-LI, their
9 and working speed can be increased to 12
later Gbit/s using the stack port speed
versions) command. After their working speed
l 10 m SFP is increased to 12 Gbit/s, switches
+ active using these ports cannot set up a
high- stack with switches using ports with
speed the working speed 10 Gbit/s.
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 272


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate of a Remarks


ce Supp Single Port
Serie ortin
s g
Stac
king

V200R01
1C10 and
later
versions)

9.7.8 S5700HI, S5710HI, and S5720HI Service Port Stacking


Support
NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l Since V200R011C10, S5720HI series switches can set up stacks in service port stacking mode using
dedicated stack cables.
l The number of S5700HIs or S5710HIs used to set up a stack is recommended to be 2 to 5, and the
number of S5720HIs used to set up a stack is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 273


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-10 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S570 10GE ports l 1 m and 3 10 l Any models of the S5700HI series


0HI on front m SFP+ Gbit/s can set up a stack.
cards: The passive l A switch supports a maximum of two
S5700HI high- logical stack ports, and each logical
supports speed stack port supports at least one stack
ES5D00X2S copper member port and at most four stack
A00 and cables member ports. A switch supports a
ES5D00X4S l 10 m SFP maximum of four stack member
A00 front + active ports.
cards, which high-
support two l After a front card is replaced by a
speed card of a different type, the stack
and four copper
10GE SFP+ configurations become ineffective
cables and need to be performed again.
optical ports
respectively. l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber

S571 8*10GE l 3 m and 10 l Any models of the S5710HI series


0HI ports on the 10 m Gbit/s can set up a stack.
front panel AOC l A switch supports a maximum of two
cables logical stack ports, and each logical
l 10GE stack port supports at least one stack
SFP+ member port and at most four stack
optical member ports. Each switch can use a
module maximum of eight service ports as
and stack member ports.
optical
fiber

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 274


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP+ l 1 m, 3 m, 10 l Any models of the S5720HI series


0HI optical ports and 5 m Gbit/s can set up a stack.
SFP+ l A switch supports a maximum of two
passive logical stack ports, and each logical
high- stack port supports a maximum of
speed eight stack member ports. Each
copper switch can use a maximum of eight
cables service ports as stack member ports.
l 10 m SFP NOTE
+ active An S5720HI supports the stacking function
high- since V200R009C00. When a member
speed device in a stack is faulty and fails to restart
for three consecutive times, the device
copper
attempts to roll back to a version earlier than
cables V200R009C00 for restart. When the device
l 3 m and restarts successfully after rolling back to a
10 m version earlier than V200R009C00, a multi-
active situation may occur because the
AOC
version earlier than V200R009C00 does not
cables support the stacking function. To prevent this
l 10GE situation, you are advised to delete the
SFP+ system software earlier than V200R009C00
from member devices when using S5720HIs
optical
to set up a stack.
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 275


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Ports on a 4- l 1 m, 3 m, 10Gb
port 10GE and 5 m it/s
interface card SFP+
passive
high-
speed
copper
cables
l 10 m SFP
+ active
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber

9.7.9 S5710-C-LI Stack Card Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l The number of stacked switches is recommended to be 2 to 5.

Table 9-11 Stack card stacking support


Device Stacking- Stack Cable Rate of a Remarks
Series supported Single Port
Port

S5710-C-LI Two ports on 1 m PCIe cable 12 Gbit/s Any models of the


each stack S5710-C-LI series
card can set up a stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 276


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.10 S5710-X-LI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be used
as ordinary service ports.
l Since V200R011C10, S5710-X-LI series switches can set up stacks in service port stacking mode using
dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 5.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 277


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-12 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S571 Four SFP+ l 1 m and 3 10 l Any models of the S5710-X-LI series


0-X- optical ports m SFP+ Gbit/s can set up a stack.
LI passive l A switch supports a maximum of two
high- logical stack ports, and each logical
speed stack port contains one or two stack
copper member ports. Each switch can use a
cables maximum of four service ports as
l 5 m SFP+ stack member ports. When a logical
passive stack port contains two stack member
high- ports, the logical stack port can
speed contain only stack member ports 1
copper and 2 or stack member ports 3 and 4.
cables l Since V200R010, if stack member
(supporte ports are connected using 1 m or 3 m
d in SFP+ passive high-speed copper
V200R00 cables, their working speed can be
9 and increased to 12 Gbit/s using the stack
later port speed command. After their
versions) working speed is increased to 12
l 10 m SFP Gbit/s, switches using these ports
+ active cannot set up a stack with switches
high- using ports with the working speed
speed 10 Gbit/s.
copper
cable
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 278


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

d in
V200R01
1C10 and
later
versions)

9.7.11 S5710EI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using other
cables may cause exceptions in the stack system, for example, frequent error-down events on stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be used
as ordinary service ports.
l The number of stacked switches is recommended to be 2 to 5.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 279


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-13 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S571 Any 10GE l 1 m SFP+ 10 l Any models of the S5710EI series


0EI ports, passive Gbit/s can set up a stack.
including the high- l V200R001: A switch supports a
four fixed speed maximum of two logical stack ports,
10GE SFP+ copper and each logical stack port supports
optical ports cable at least one stack member port and at
on the front l 3 m SFP+ most three stack member ports. A
panel and passive switch supports a maximum of four
ports on the high- stack member ports.
ES5D21X02 speed
S00 rear card l V200R002 and later versions: A
copper switch supports a maximum of two
(A switch cable
supports a logical stack ports, and each logical
maximum of l 10 m SFP stack port supports at least one stack
two rear + active member port and at most four stack
cards, and high- member ports. A switch supports a
each card speed maximum of eight stack member
provides two copper ports.
10GE SFP+ cable l Ports on different rear cards can be
optical ports.) l 3 m and added to the same logical stack port,
10 m but ports on a rear card and fixed
AOC ports on the front panel cannot be
cables added to the same logical stack port.
(supporte
d in
V200R00
3 and
later
versions)
l 10GE
SFP+
optical
module
and
optical
fiber

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 280


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.12 S5720EI Stack Card Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l S5720EI series switches are classified into S5720-C-EI, S5720-PC-EI, S5720-X-EI, and S5720-P-EI
based on their uplink interface types.
l In V200R009C00 and later versions, if MPLS-incapable S5720EIs exist in a stack, this stack cannot
have MPLS enabled. If member devices in a stack are running MPLS services, adding MPLS-
incapable S5720EIs to the stack is not allowed. To check whether S5720EIs support MPLS, run the
display device capability command.
l The number of stacked switches is recommended to be 2 to 9.

Table 9-14 Stack card stacking support


Device Port Supporting Stack Cable Remarks
Series Stacking

S5720- Two ports on each l 1 m, 3 m, 5 m Any models of the S5720EI series can
C-EI ES5D21VST000 QSFP+ set up a stack.
and stack card passive high-
S5720- speed cables
PC-EI l QSFP+ optical
module (only
QSFP-40G-
SR4 and
QSFP-40G-
iSR4
supported) and
matching
optical fiber

S5720- Two ports fixed l 1 m, 3 m, 5 m


X-EI on the rear panel QSFP+
and passive high-
S5720- speed cables
P-EI l QSFP+ optical
module (only
QSFP-40G-
SR4 and
QSFP-40G-
iSR4
supported) and
matching
optical fiber

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 281


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.13 S5720EI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l In V200R009C00 and later versions, if MPLS-incapable S5720EIs exist in a stack, this stack cannot
have MPLS enabled. If member devices in a stack are running MPLS services, adding MPLS-
incapable S5720EIs to the stack is not allowed. To check whether S5720EIs support MPLS, run the
display device capability command.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 282


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-15 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Optical ports l 1 m and 3 10 l Any models of the S5720EI series


0EI on a 2-port m SFP+ Gbit/s can set up a stack.
10GE optical passive l A switch supports a maximum of two
interface card high- logical stack ports, and each logical
speed stack port contains one or two stack
copper member ports. Each switch can use a
cables maximum of two service ports as
l 5 m SFP+ stack member ports.
passive
high-
speed
copper
cables
(supporte
d in
V200R00
9 and
later
versions)
l 10 m SFP
+ active
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 283


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Electrical Category 6A 10
ports on a 2- or higher Gbit/s
port 10GE network
electrical cables (If
interface card Category 6
cables are
used, ensure
that the
cables meet
requirements
of TSB-155.)

9.7.14 S5720LI and S5720S-LI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l After a UCL group is created using the ucl-group command on S5720LI&S5720S-LI switches, a
stack cannot be set up.
l S5720LI series switches are classified into S5720-P-LI, S5720-TP-LI, and S5720-X-LI based on
their uplink interface types.
l S5720S-LI series switches are classified into S5720S-P-LI, S5720S-TP-LI, and S5720S-X-LI based
on their uplink interface types.
l S5720-28X-LI-24S-AC, S5720-28X-LI-24S-DC, and S5720S-28X-LI-24S-AC do not support
electrical ports. Therefore, they cannot set up stacks using electrical ports.
l MultiGE port on the S5720-28X-PWH-LI-AC cannot be configured as a stack member port.
l In a stack set up using electrical interfaces, when adding a new member switch or replacing a faulty
member switch, to prevent a packet loop caused by a failure to add the new member in case of
insufficient ACL resources, you are advised to configure the service ports used in both the new
switch and the stack as stack ports before connecting the switch to the stack using cables.
l Since V200R011C10, S5720LI and S5720S-LI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 284


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-16 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP l 1 m, 3 m, 2.5 l A stack can be set up between S5720-


0-P- optical ports and 5 m Gbit/s P-LI, S5720-TP-LI, and S5720-X-LI,
LI (Before the SFP+ but a stack cannot be set up between
device has passive the S5720LI and S5720S-LI. When
the license high- different models need to set up a
loaded) speed stack, they must use stack ports of the
copper same type. That is, all of them either
cables use electrical ports on the front panel
l 10 m SFP or use SFP or SFP+ optical ports.
+ active l When SFP optical ports are used as
high- stack ports, a switch supports a
speed maximum of two logical stack ports,
copper and each logical stack port contains
cables one or two stack member ports. Each
l 3 m and switch can use a maximum of four
10 m service ports as stack member ports.
AOC When a logical stack port contains
cables two stack member ports, the logical
stack port can contain only stack
l 6GE stack member ports 1 and 2 or stack
optical member ports 3 and 4.
module
l When electrical ports on the front
(SFP-6GE
panel are used as stack ports, a switch
-LR) and
supports a maximum of two logical
optical
stack ports, and each logical stack
fiber
port supports at least one stack
l 0.5 m and member port and at most eight stack
1.5 m SFP member ports. A switch supports a
+ maximum of 16 stack member
dedicated ports.On a switch with 48 electrical
stack ports, the first and last 24 ports must
cable be added to two separate logical stack
(supporte ports to ensure that a stack can be set
d in up successfully.
V200R01
l Before the device has the license
1C10 and
loaded, four optical ports are GE
later
ports, and each port works at 2.5
versions)
Gbit/s in stack scenarios. After the
device has the license loaded and
restarts, four optical ports are XGE
ports, and each port works at 10
Gbit/s in stack scenarios.
l After the device has the license
loaded and restarts, if stack member

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 285


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Four SFP+ l 1 m, 3 m, 10 ports are connected using 1 m or 3 m


optical ports and 5 m Gbit/s SFP+ passive high-speed copper
(After the SFP+ cables, their working speed can be
device has passive increased to 12 Gbit/s using the stack
the license high- port speed command. After their
loaded and speed working speed is increased to 12
restarts) copper Gbit/s, switches using these ports
cables cannot set up a stack with switches
l 10 m SFP using ports with the working speed
+ active 10 Gbit/s.
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Electrical Category 5 or 1
ports on the higher Gbit/s
front panel network
cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 286


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Two SFP l 1 m, 3 m, 2.5 l A stack can be set up between S5720-


0-TP- optical ports and 5 m Gbit/s P-LI, S5720-TP-LI, and S5720-X-LI,
LI SFP+ but a stack cannot be set up between
passive the S5720LI and S5720S-LI. When
high- different models need to set up a
speed stack, they must use stack ports of the
copper same type. That is, all of them either
cables use electrical ports on the front panel
l 10 m SFP or use SFP or SFP+ optical ports.
+ active l When SFP optical ports are used as
high- stack ports, a switch supports a
speed maximum of two logical stack ports,
copper and each logical stack port supports a
cables maximum of two stack member
l 3 m and ports. Each switch can use a
10 m maximum of two service ports as
AOC stack member ports.
cables l When electrical ports on the front
l 6GE stack panel are used as stack ports, a switch
optical supports a maximum of two logical
module stack ports, and each logical stack
(SFP-6GE port supports at least one stack
-LR) and member port and at most eight stack
optical member ports. A switch supports a
fiber maximum of eight stack member
ports.On a switch with 48 electrical
l 0.5 m and ports, the first and last 24 ports must
1.5 m SFP be added to two separate logical stack
+ ports to ensure that a stack can be set
dedicated up successfully.
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Electrical Category 5 or 1
ports on the higher Gbit/s
front panel network
cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 287


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP+ l 1 m, 3 m, 10 l A stack can be set up between S5720-


0-X- optical ports and 5 m Gbit/s P-LI, S5720-TP-LI, and S5720-X-LI,
LI SFP+ but a stack cannot be set up between
passive the S5720LI and S5720S-LI. When
high- different models need to set up a
speed stack, they must use stack ports of the
copper same type. That is, all of them either
cables use electrical ports on the front panel
l 10 m SFP or use SFP or SFP+ optical ports.
+ active l When SFP+ optical ports are used as
high- stack ports, a switch supports a
speed maximum of two logical stack ports,
copper and each logical stack port contains
cables one or two stack member ports. Each
l 3 m and switch can use a maximum of four
10 m service ports as stack member ports.
AOC When a logical stack port contains
cables two stack member ports, the logical
stack port can contain only stack
l 10GE member ports 1 and 2 or stack
SFP+ member ports 3 and 4.
optical
l When electrical ports or downlink
module
SFP optical ports on the front panel
and
are used as stack ports, a switch
optical
supports a maximum of two logical
fiber
stack ports, and each logical stack
l 0.5 m and port supports at least one stack
1.5 m SFP member port and at most eight stack
+ member ports. A switch supports a
dedicated maximum of 16 stack member
stack ports.On a switch with 48 electrical
cable ports, the first and last 24 ports must
(supporte be added to two separate logical stack
d in ports to ensure that a stack can be set
V200R01 up successfully.
1C10 and
l Since V200R010, several new
later
S5720-X-LI models(S5720-28X-
versions)
LI-24S-AC and S5720-28X-LI-24S-
Downlink GE SFP 1 DC) providing downlink SFP optical
SFP optical optical Gbit/s ports are available. These switches
ports on the module and allow using downlink SFP optical
front panel optical fiber ports on the front panel as stack
member ports. If one member switch
uses downlink SFP optical ports as
stack member ports, all the other

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 288


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Electrical Category 5 or 1 member switches must also use


ports on the higher Gbit/s downlink SFP optical ports as stack
front panel network member ports.
cable l If stack member ports are connected
using 1 m or 3 m SFP+ passive high-
speed copper cables, their working
speed can be increased to 12 Gbit/s
using the stack port speed
command. After their working speed
is increased to 12 Gbit/s, switches
using these ports cannot set up a
stack with switches using ports with
the working speed 10 Gbit/s.
l If S5720-X-LI switches are stacked
with S5720-P-LI switches that do not
have the license loaded and with
S5720-TP-LI switches using optical
ports, run the stack port speed
command on the S5720-X-LI
switches to reduce the working speed
of stack member ports to 2.5 Gbit/s.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 289


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP l 1 m, 3 m, 2.5 l A stack can be set up between


0S-P- optical ports and 5 m Gbit/s S5720S-P-LI, S5720S-TP-LI, and
LI SFP+ S5720S-X-LI, but a stack cannot be
passive set up between the S5720S-LI and
high- S5720LI. When different models
speed need to set up a stack, they must use
copper stack ports of the same type. That is,
cables all of them either use electrical ports
l 10 m SFP on the front panel or use SFP or SFP
+ active + optical ports.
high- l When SFP optical ports are used as
speed stack ports, a switch supports a
copper maximum of two logical stack ports,
cables and each logical stack port contains
l 3 m and one or two stack member ports. Each
10 m switch can use a maximum of four
AOC service ports as stack member ports.
cables When a logical stack port contains
two stack member ports, the logical
l 6GE stack stack port can contain only stack
optical member ports 1 and 2 or stack
module member ports 3 and 4.
(SFP-6GE
-LR) and l When electrical ports on the front
optical panel are used as stack ports, a switch
fiber supports a maximum of two logical
stack ports, and each logical stack
l 0.5 m and port supports at least one stack
1.5 m SFP member port and at most eight stack
+ member ports. A switch supports a
dedicated maximum of 16 stack member
stack ports.On a switch with 48 electrical
cable ports, the first and last 24 ports must
(supporte be added to two separate logical stack
d in ports to ensure that a stack can be set
V200R01 up successfully.
1C10 and
later
versions)

Electrical Category 5 or 1
ports on the higher Gbit/s
front panel network
cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 290


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Two SFP l 1 m, 3 m, 2.5 l A stack can be set up between


0S- optical ports and 5 m Gbit/s S5720S-P-LI, S5720S-TP-LI, and
TP-LI SFP+ S5720S-X-LI, but a stack cannot be
passive set up between the S5720S-LI and
high- S5720LI. When different models
speed need to set up a stack, they must use
copper stack ports of the same type. That is,
cables all of them either use electrical ports
l 10 m SFP on the front panel or use SFP or SFP
+ active + optical ports.
high- l When SFP optical ports are used as
speed stack ports, a switch supports a
copper maximum of two logical stack ports,
cables and each logical stack port supports a
l 3 m and maximum of two stack member
10 m ports. Each switch can use a
AOC maximum of two service ports as
cables stack member ports.
l 6GE stack l When electrical ports on the front
optical panel are used as stack ports, a switch
module supports a maximum of two logical
(SFP-6GE stack ports, and each logical stack
-LR) and port supports at least one stack
optical member port and at most eight stack
fiber member ports. A switch supports a
maximum of eight stack member
l 0.5 m and ports.On a switch with 48 electrical
1.5 m SFP ports, the first and last 24 ports must
+ be added to two separate logical stack
dedicated ports to ensure that a stack can be set
stack up successfully.
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Electrical Category 5 or 1
ports on the higher Gbit/s
front panel network
cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 291


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP+ l 1 m, 3 m, 10 l A stack can be set up between


0S-X- optical ports and 5 m Gbit/s S5720S-P-LI, S5720S-TP-LI, and
LI SFP+ S5720S-X-LI, but a stack cannot be
passive set up between the S5720S-LI and
high- S5720LI. When different models
speed need to set up a stack, they must use
copper stack ports of the same type. That is,
cables all of them either use electrical ports
l 10 m SFP on the front panel or use SFP or SFP
+ active + optical ports.
high- l When SFP+ optical ports are used as
speed stack ports, a switch supports a
copper maximum of two logical stack ports,
cables and each logical stack port contains
l 3 m and one or two stack member ports. Each
10 m switch can use a maximum of four
AOC service ports as stack member ports.
cables When a logical stack port contains
two stack member ports, the logical
l 10GE stack port can contain only stack
SFP+ member ports 1 and 2 or stack
optical member ports 3 and 4.
module
l When electrical ports or downlink
and
SFP optical ports on the front panel
optical
are used as stack ports, a switch
fiber
supports a maximum of two logical
l 0.5 m and stack ports, and each logical stack
1.5 m SFP port supports at least one stack
+ member port and at most eight stack
dedicated member ports. A switch supports a
stack maximum of 16 stack member
cable ports.On a switch with 48 electrical
(supporte ports, the first and last 24 ports must
d in be added to two separate logical stack
V200R01 ports to ensure that a stack can be set
1C10 and up successfully.
later
l Since V200R010, several new
versions)
S5720S-X-LI model(S5720S-28X-
Downlink GE SFP 1 LI-24S-AC) providing downlink SFP
SFP optical optical Gbit/s optical ports are available. These
ports on the module and switches allow using downlink SFP
front panel optical fiber optical ports on the front panel as
stack member ports. If one member
switch uses downlink SFP optical
ports as stack member ports, all the

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 292


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Electrical Category 5 or 1 other member switches must also use


ports on the higher Gbit/s downlink SFP optical ports as stack
front panel network member ports.
cable l If stack member ports are connected
using 1 m or 3 m SFP+ passive high-
speed copper cables, their working
speed can be increased to 12 Gbit/s
using the stack port speed
command. After their working speed
is increased to 12 Gbit/s, switches
using these ports cannot set up a
stack with switches using ports with
the working speed 10 Gbit/s.
l If S5720S-X-LI switches are stacked
with S5720S-P-LI and S5720S-TP-LI
switches using optical ports, run the
stack port speed command on the
S5720S-X-LI switches to reduce the
working speed of stack member ports
to 2.5 Gbit/s.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 293


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.15 S5720SI and S5720S-SI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l After a UCL group is created using the ucl-group command on S5720SI and S5720S-SI switches, a
stack cannot be set up.
l S5720SI series switches are classified into S5720-P-SI and S5720-X-SI based on their uplink
interface types.
l S5720S-SI series switches are classified into S5720S-P-SI and S5720S-X-SI based on their uplink
interface types.
l MultiGE ports of an S5720-14X-PWH-SI-AC cannot be used as stack member ports.
l In V200R009 and earlier versions, S5720-14X-PWH-SI-AC cannot set up a stack with S5720S-SI or
other S5720SI models. The S5720S-SI can set up a stack with all S5720SI models except
S5720-14X-PWH-SI-AC. In V200R010 and later versions, any models of S5720SI and S5720S-SI
can set up a stack. When different models need to set up a stack, they must use stack ports of the
same type. That is, they either all use electrical ports on front panels or all use SFP+ or SFP optical
ports.
l Since V200R010, two SFP+ optical ports of an S5720-14X-PWH-SI-AC can be used as stack
member ports. If SFP+ optical ports of an S5720-14X-PWH-SI-AC have been configured as stack
member ports but the switch needs to be downgraded to V200R009 or an earlier version, delete the
stack member port configuration of SFP+ optical ports before the downgrade. If this configuration is
not deleted before the downgrade, a stack that cannot run normally will be set up after the
downgrade. You need to disable the stacking function to delete the stack member port configuration
of SFP+ optical ports.
l In a stack set up using electrical interfaces, when adding a new member switch or replacing a faulty
member switch, to prevent a packet loop caused by a failure to add the new member in case of
insufficient ACL resources, you are advised to configure the service ports used in both the new
switch and the stack as stack ports before connecting the switch to the stack using cables.
l Since V200R011C10, S5720SI and S5720S-SI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 294


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-17 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP l 1 m and 3 10 l When SFP optical ports are used as
0-P- optical ports m SFP+ Gbit/s stack ports, a switch supports a
SI passive maximum of two logical stack ports,
and high- and each logical stack port contains
S572 speed one or two stack member ports. Each
0S-P- copper switch can use a maximum of four
SI cables service ports as stack member ports.
l 5 m SFP+ When a logical stack port contains
passive two stack member ports, the logical
high- stack port can contain only stack
speed member ports 1 and 2 or stack
copper member ports 3 and 4.
cables l When electrical ports on the front
(supporte panel are used as stack ports, a switch
d in supports a maximum of two logical
V200R00 stack ports, and each logical stack
9 and port supports at least one stack
later member port and at most eight stack
versions) member ports. A switch supports a
l 10 m SFP maximum of 16 stack member
+ active ports.On a switch with 48 electrical
high- ports, the first and last 24 ports must
speed be added to two separate logical stack
copper ports to ensure that a stack can be set
cables up successfully.
l 3 m and l Since V200R010, if stack member
10 m ports are connected using 1 m or 3 m
AOC SFP+ passive high-speed copper
cables cables, their working speed can be
increased to 12 Gbit/s using the stack
l 10GE port speed command. After their
SFP+ working speed is increased to 12
optical Gbit/s, switches using these ports
module cannot set up a stack with switches
and using ports with the working speed
optical 10 Gbit/s.
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 295


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

d in
V200R01
1C10 and
later
versions)

Electrical Category 5 or 1
ports on the higher Gbit/s
front panel network
cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 296


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S572 Four SFP+ l 1 m and 3 10 l When SFP+ optical ports are used as
0-X- optical ports m SFP+ Gbit/s stack ports, a switch supports a
SI passive maximum of two logical stack ports,
and high- and each logical stack port contains
S572 speed one or two stack member ports. Each
0S-X- copper switch can use a maximum of four
SI cables service ports as stack member ports.
l 5 m SFP+ When a logical stack port contains
passive two stack member ports, the logical
high- stack port can contain only stack
speed member ports 1 and 2 or stack
copper member ports 3 and 4.
cables l When electrical ports or downlink
(supporte SFP optical ports on the front panel
d in are used as stack ports, a switch
V200R00 supports a maximum of two logical
9 and stack ports, and each logical stack
later port supports at least one stack
versions) member port and at most eight stack
member ports. A switch supports a
l 10 m SFP
maximum of 16 stack member
+ active
ports.On a switch with 48 electrical
high-
ports, the first and last 24 ports must
speed
be added to two separate logical stack
copper
ports to ensure that a stack can be set
cables
up successfully.
l 3 m and
l Since V200R010, several new
10 m
S5720-X-SI models(S5720-28X-
AOC
SI-24S-AC, S5720-28X-SI-24S-DC,
cables
and S5721-28X-SI-24S-AC)
l 10GE providing downlink SFP optical ports
SFP+ are available. These switches allow
optical using downlink SFP optical ports on
module the front panel as stack member
and ports. If one member switch uses
optical downlink SFP optical ports as stack
fiber member ports, all the other member
l 0.5 m and switches must also use downlink SFP
1.5 m SFP optical ports as stack member ports.
+ l Since V200R010, if stack member
dedicated ports are connected using 1 m or 3 m
stack SFP+ passive high-speed copper
cable cables, their working speed can be
(supporte increased to 12 Gbit/s using the stack
d in port speed command. After their
V200R01

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 297


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

1C10 and working speed is increased to 12


later Gbit/s, switches using these ports
versions) cannot set up a stack with switches
using ports with the working speed
Electrical Category 5 or 1 10 Gbit/s.
ports on the higher Gbit/s
front panel network
cable

Downlink GE SFP 1
SFP optical optical Gbit/s
ports on the module and
front panel optical fiber

9.7.16 S5730SI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l S5730SI series switches of all versions can set up stacks in service port stacking mode using
dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 298


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-18 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S573 10GE optical l 1 m, 3 m, 10Gb l Any models of the S5730SI series


0SI ports on the and 5 m it/s can set up a stack.
front panel SFP+ l When 40GE optical ports are used as
passive stack ports, a switch supports a
high- maximum of two logical stack ports,
speed and each logical stack port supports
copper at least one stack member port and at
cables most four stack member ports. A
l 10 m SFP switch supports a maximum of four
+ active stack member ports.
high- l When 10GE ports are used as stack
speed ports, a switch supports a maximum
copper of two logical stack ports, and each
cable logical stack port supports at least
l 3 m and one stack member port and at most
10 m eight stack member ports. A switch
AOC supports a maximum of eight stack
cables member ports.
l 10GE l Two types of ports on an S5730SI
SFP+ can both be configured as stack
optical member ports, but each logical stack
module port contains only the same type of
and stack member ports.
optical l 40GE ports do not support the
fiber stacking function after they are split
l 0.5 m and into 10GE ports.
1.5 m SFP l If stack member ports on the front
+ panel are connected using 1 m, 3 m,
dedicated or 5 m QSFP+ passive high-speed
stack copper cables, their working speed
cable can be increased to 48 Gbit/s using
the stack port speed command.
After their working speed is
increased to 48 Gbit/s, switches using
these ports cannot set up a stack with
switches using ports with the working
speed 40 Gbit/s.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 299


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

40GE ports l 1 m, 3 m, 40Gb


on interface and 5 m it/s
card QSFP+
passive
high-
speed
copper
cables
l QSFP+
optical
module
(QSFP-40
G-SR-BD
not
supported
) and
optical
fiber
l 10 m
QSFP+
AOC
cable

9.7.17 S5730S-EI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l S5730S-EI series switches of all versions can set up stacks in service port stacking mode using
dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 300


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-19 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S573 10GE optical l 1 m, 3 m, 10Gb l Any models of the S5730S-EI series


0S-EI ports on the and 5 m it/s can set up a stack.
front panel SFP+ l When 40GE optical ports are used as
passive stack ports, a switch supports a
high- maximum of two logical stack ports,
speed and each logical stack port supports
copper at least one stack member port and at
cables most four stack member ports. A
l 10 m SFP switch supports a maximum of four
+ active stack member ports.
high- l When 10GE ports are used as stack
speed ports, a switch supports a maximum
copper of two logical stack ports, and each
cable logical stack port supports at least
l 3 m and one stack member port and at most
10 m eight stack member ports. A switch
AOC supports a maximum of eight stack
cables member ports.
l 10GE l Two types of ports on an S5730S-EI
SFP+ can both be configured as stack
optical member ports, but each logical stack
module port contains only the same type of
and stack member ports.
optical l 40GE ports do not support the
fiber stacking function after they are split
l 0.5 m and into 10GE ports.
1.5 m SFP l If stack member ports on the front
+ panel are connected using 1 m, 3 m,
dedicated or 5 m QSFP+ passive high-speed
stack copper cables, their working speed
cable can be increased to 48 Gbit/s using
the stack port speed command.
After their working speed is
increased to 48 Gbit/s, switches using
these ports cannot set up a stack with
switches using ports with the working
speed 40 Gbit/s.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 301


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

40GE ports l 1 m, 3 m, 40Gb


on interface and 5 m it/s
card QSFP+
passive
high-
speed
copper
cables
l QSFP+
optical
module
(QSFP-40
G-SR-BD
not
supported
) and
optical
fiber
l 10 m
QSFP+
AOC
cable

9.7.18 S6700EI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l The number of stacked switches is recommended to be 2 to 5.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 302


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-20 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S670 All 10GE l 1 m SFP+ 10 l Any models of the S6700EI series


0EI ports on the passive Gbit/s can set up a stack. The 10GE ports do
switch high- not support the stacking function
speed when they work as GE ports.
copper l A switch supports a maximum of two
cable logical stack ports, and each logical
l 3 m SFP+ stack port supports a maximum of
passive eight stack member ports. A switch
high- supports a maximum of eight stack
speed member ports.
copper l On an S6700EI switch, a maximum
cable of eight service ports can be
l 5 m SFP+ configured as stack member ports.
passive Four service ports with contiguous
high- IDs must be configured together, and
speed the last ID of the service ports must
copper be a multiple of 4. For example, ports
cable 1 to 4, or 5 to 8 can be configured as
(supporte stack member ports together, but
d in ports 2 to 5 cannot. When one of the
V200R00 four service ports is configured as a
5C02) stack member port, the other three
service ports are automatically
l 10 m SFP
configured as stack member ports.
+ active
high-
speed
copper
cable
(supporte
d in
V200R00
1 and
later
versions)
l 3 m and
10 m
AOC
cables
(supporte
d in
V200R00
3 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 303


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

l 10GE
SFP+
optical
module
and
optical
fiber

9.7.19 S6720EI and S6720S-EI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l Since V200R011C10, S6720EI and S6720S-EI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 304


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-21 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S672 10GE ports l 1 m and 3 10 l A stack can be set up between


0EI on the front m SFP+ Gbit/s S6720EI and S6720S-EI if these
panel passive switches use the same stack port
high- types. That is, all of them either use
speed 10GE ports or use 40GE ports.
copper l When 10GE ports on the front panel
cables are used as stack ports, a switch
l 5 m SFP+ supports a maximum of two logical
passive stack ports, and each logical stack
high- port supports at least one stack
speed member port and at most eight stack
copper member ports. A switch supports a
cables maximum of 16 stack member ports.
(supporte
l On an S6720EI switch, when 40GE
d in
ports are used as stack member ports,
V200R00
a switch supports a maximum of two
9C00 and
logical stack ports, and each logical
later
stack port supports at least one stack
versions)
member port and at most six stack
l 10 m SFP member ports. Each switch can use a
+ active maximum of six service ports as
high- stack member ports.
speed
l On an S6720S-EI switch, when 40GE
copper
ports are used as stack member ports,
cables
a switch supports a maximum of two
l 3 m and logical stack ports, and each logical
10 m stack port supports a maximum of
AOC two stack member ports. Each switch
cables can use a maximum of two service
l 10GE ports as stack member ports.
SFP+ l 40GE ports do not support the
optical stacking function after they are split
module into 10GE ports.
and
optical l Only the last 16 10GE ports on the
fiber front panel can be used to set up a
stack using dedicated stack cables.
l 0.5 m and
1.5 m SFP l On the S6720EI and S6720S-EI,
+ every four of 10GE interfaces on the
dedicated left are added to one group. For
stack example, 10GE interfaces numbered
cable 1 to 4 can be added to one group, but
(supporte 10GE interfaces numbered 2 to 5
cannot. That is, the number of the last

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 305


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

d in 10GE interface in each group must be


V200R01 the multiple of 4. If you configure
1C10 and any interface in each group as a
later physical member interface,
versions) configurations on the other three
interfaces in the group will be lost
40GE ports l 1 m, 3 m, 40 and the three interfaces cannot be
on the front and 5 m Gbit/s used as service ports.
panel and QSFP+
Ports on a 4- passive
port 40GE high-
rear interface speed
card copper
cables
l QSFP+
optical
module
(QSFP-40
G-SR-BD
not
supported
) and
optical
fiber
l 10 m
QSFP+
AOC
cable
(supporte
d in
V200R00
9C00 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 306


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S672 10GE ports l 1 m, 3 m, 10


0S-EI on the front and 5 m Gbit/s
panel SFP+
passive
high-
speed
copper
cables
l 10 m SFP
+ active
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 307


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

40GE ports l 1 m, 3 m, 40
on the front and 5 m Gbit/s
panel QSFP+
passive
high-
speed
copper
cables
l QSFP+
optical
module
(QSFP-40
G-SR-BD
not
supported
) and
optical
fiber
l 10 m
QSFP+
AOC
cable

9.7.20 S6720SI and S6720S-SI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l Since V200R011C10, S6720SI and S6720S-SI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 308


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-22 Service port stacking support


Devi Port Stack Cable Rate Remarks
ce Supporting of a
Serie Stacking Singl
s e
Port

S672 40GE ports l 1 m, 3 m, 40 l A stack can be set up between


0SI on the front and 5 m Gbit/s S6720SI models, but a stack cannot
panel and QSFP+ be set up between S6720SI and
interface card passive S6720S-SI.
high- l When 40GE ports on the front panel
speed are used as stack ports, a switch
copper supports a maximum of two logical
cables stack ports, and each logical stack
l QSFP+ port supports a maximum of two
optical stack member ports. Each switch can
module use a maximum of two service ports
(QSFP-40 as stack member ports.
G-SR-BD l When electrical ports or 10GE optical
not ports on the front panel are used as
supported stack ports, a switch supports a
) and maximum of two logical stack ports,
optical and each logical stack port supports
fiber at least one stack member port and at
l 10 m most eight stack member ports. A
QSFP+ switch supports a maximum of 16
AOC stack member ports.
cable l Two types of ports among 40GE
ports, 10GE optical ports, and
electrical ports on an S6720SI can
both be configured as stack member
ports, but each logical stack port
contains only the same type of stack
member ports.
l 40GE ports do not support the
stacking function after they are split
into 10GE ports.
l If stack member ports on the front
panel are connected using 1 m, 3 m,
or 5 m QSFP+ passive high-speed
copper cables, their working speed
can be increased to 48 Gbit/s using
the stack port speed command.
After their working speed is
increased to 48 Gbit/s, switches using
these ports cannot set up a stack with
switches using ports with the working
speed 40 Gbit/s.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 309


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

10GE optical l 1 m, 3 m, 10 l Only the rate of 40GE interfaces on


ports on the and 5 m Gbit/s the front panel can be increased to 48
front panel SFP+ Gbit/s.
and interface passive l Only the last 16 10GE ports on the
card high- front panel can be used to set up a
speed stack using dedicated stack cables.
copper
cables
l 10 m SFP
+ active
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 310


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

Electrical Category 6A 10
ports on the or higher Gbit/s
front panel network
cables (If
Category 6
cables are
used, ensure
that the
cables meet
requirements
of TSB-155.)

S672 40GE ports l 1 m, 3 m, 40 l A stack can be set up between


0S-SI on the front and 5 m Gbit/s S6720S-SI models, but a stack cannot
panel QSFP+ be set up between S6720S-SI and
passive S6720SI.
high- l When 40GE ports on the front panel
speed are used as stack ports, a switch
copper supports a maximum of two logical
cables stack ports, and each logical stack
l QSFP+ port supports a maximum of two
optical stack member ports. Each switch can
module use a maximum of two service ports
(QSFP-40 as stack member ports.
G-SR-BD l When 10GE optical ports on the front
not panel are used as stack ports, a switch
supported supports a maximum of two logical
) and stack ports, and each logical stack
optical port supports at least one stack
fiber member port and at most eight stack
l 10 m member ports. A switch supports a
QSFP+ maximum of 16 stack member ports.
AOC l Two types of ports on an S6720S-SI
cable can both be configured as stack
member ports, but each logical stack
port contains only the same type of
stack member ports.
l 40GE ports do not support the
stacking function after they are split
into 10GE ports.
l If stack member ports on the front
panel are connected using 1 m, 3 m,
or 5 m QSFP+ passive high-speed
copper cables, their working speed
can be increased to 48 Gbit/s using

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 311


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

10GE optical l 1 m, 3 m, 10 the stack port speed command.


ports on the and 5 m Gbit/s After their working speed is
front panel SFP+ increased to 48 Gbit/s, switches using
passive these ports cannot set up a stack with
high- switches using ports with the working
speed speed 40 Gbit/s.
copper l Only the last 16 10GE ports on the
cables front panel can be used to set up a
l 10 m SFP stack using dedicated stack cables.
+ active
high-
speed
copper
cables
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 312


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.7.21 S6720LI and S6720S-LI Service Port Stacking Support


NOTE

l For the cables that can be used as stack cables, see "Cables" in the Hardware Description. Using
other cables may cause exceptions in the stack system, for example, frequent error-down events on
stack ports.
l Combo ports cannot function as stack member ports.
l For stacking-supported service ports, some of them can be used as stack ports, whereas some can be
used as ordinary service ports.
l Since V200R011C10, S6720LI and S6720S-LI series switches can set up stacks in service port
stacking mode using dedicated stack cables.
l The number of stacked switches is recommended to be 2 to 9.

Table 9-23 Service port stacking support

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

S672 40GE ports l 1 m, 3 m, 40 l A stack can be set up between


0LI on the front and 5 m Gbit/s S6720LI models and between
and panel QSFP+ S6720S-LI models, but a stack
S672 passive cannot be set up between S6720LI
0S-LI high- and S6720S-LI.
speed l When 40GE ports on the front panel
copper are used as stack ports, a switch
cables supports a maximum of two logical
l QSFP+ stack ports, and each logical stack
optical port supports a maximum of two
module stack member ports. Each switch can
(QSFP-40 use a maximum of two service ports
G-SR-BD as stack member ports.
not l When 10GE optical ports on the front
supported panel are used as stack ports, a switch
) and supports a maximum of two logical
optical stack ports, and each logical stack
fiber port supports at least one stack
l 10 m member port and at most eight stack
QSFP+ member ports. A switch supports a
AOC maximum of 16 stack member ports.
cable l Two rate of ports on an S6720LI or
S6720S-LI can both be configured as
stack member ports, but each logical
stack port contains only the same rate
of stack member ports.
l 40GE ports do not support the
stacking function after they are split
into 10GE ports.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 313


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Devi Port Stack Cable Rate Remarks


ce Supporting of a
Serie Stacking Singl
s e
Port

10GE optical l 1 m, 3 m, 10 l If stack member ports on the front


ports on the and 5 m Gbit/s panel are connected using 1 m, 3 m,
front panel SFP+ or 5 m QSFP+ passive high-speed
passive copper cables, their working speed
high- can be increased to 48 Gbit/s using
speed the stack port speed command.
copper After their working speed is
cables increased to 48 Gbit/s, switches using
l 10 m SFP these ports cannot set up a stack with
+ active switches using ports with the working
high- speed 40 Gbit/s.
speed l Only the last 16 10GE ports on the
copper front panel can be used to set up a
cables stack using dedicated stack cables.
l 3 m and
10 m
AOC
cables
l 10GE
SFP+
optical
module
and
optical
fiber
l 0.5 m and
1.5 m SFP
+
dedicated
stack
cable
(supporte
d in
V200R01
1C10 and
later
versions)

9.8 Default Settings for Stacks


Table 9-24 lists the default settings for a stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 314


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-24 Default settings for stacks


Parameter Default Setting

Stacking function Enabled

Stack ID 0

Stack priority 100

9.9 Establishing a Stack Through Stack Card Connections


Carefully review the role and functions of member switches before you establish a stack using
stack card connections. You are advised to follow the process in Figure 9-29 to establish a
stack.
NOTE

In Figure 9-29, the three steps in the dashed box are included in 9.9.2 Performing Software
Configurations. Configuring a stack ID and stack priority are optional but are recommended to
facilitate management.
Stack cards do not need to be installed when you use fixed stack ports to establish a stack.

Figure 9-29 Process of using stack card connections to establish a stack

Install stack cards

Power off all


member switches

Enable stacking
Connect stack
cables and power on
member switches
Configure stack IDs
for member switches
Check whether
the stack has been
set up successfully
Configure stack
priorities for member
switches
End

Optional
Mandatory

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 315


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.9.1 Installing a Stack Card

Preparing for Installation


Ensure that the following components and tools are available before the installation:
l Component: ES5D21VST000 rear stack card
l Tools: Phillips screwdriver, ESD wrist strap or ESD gloves

Precautions
Card Storage and Transfer
l Handle a stack card carefully when it is outside the chassis. Wear an ESD wrist strap or
ESD gloves when touching the stack card. Place the stack card on a horizontal plane,
with the electronic components facing upward. Do not place any objects on or near the
card.
l Keep a stack card from heavy humidity or direct sunlight. Ensure that the card is stored
in an environment that will not cause damages to the card.
l To move multiple stack cards, move one card each time. Do not stack the cards together
when moving them.
Card installation and removal
l Wear an ESD wrist strap or ESD gloves when installing or removing a stack card. Do not
touch the printed circuit board (PCB) on the card.
l Gently, slowly pull or push the stack card along the guide rails. Avoid short-circuit
conditions on the card caused by collision with metal materials or improper use of tools.

Installation Procedure
Perform the following steps to install a stack card:
1. Wear an ESD wrist strap and connect the other end of the strap to the ESD jack on the
cabinet.
2. Power off the switch and remove the filler panel from the rear card slot.
3. Install the stack card in the rear card slot, close the ejector levers on the stack card, and
fasten the captive screws. See Figure 9-30.
4. Power on the switch.

Figure 9-30 Installing a stack card

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 316


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.9.2 Performing Software Configurations

Context
After you install a stack card and power on the switch, you can configure related software on
the switch. Available configuration options include configuring a stack ID, and configuring a
stack priority. By default, the stacking function is enabled on a switch, and you are advised to
configure a stack ID and a stack priority to facilitate management. You can configure stack
software on a switch that uses stack card stacking with stack ports fixed on the rear panel after
the switch is powered on, without having to install stack cards on the switch.

Stack IDs identify member switches in a stack. Each stack member switch has a unique stack
ID. If a new member switch has the same stack ID as an existing member switch, the master
switch assigns another stack ID to the new member switch. You can also configure a stack ID
for this member switch. To facilitate management on switches, you are advised to plan and
configure stack IDs for member switches before setting up a stack. A member switch's stack
ID affects many configurations on the switch, for example, port numbers (physical and logical
ports) and port configurations. Pay attention to the following points when configuring stack
IDs for member switches:
l If you do not restart a switch after changing its stack ID, the switch still uses the original
stack ID, and all physical resources are identified by the original stack ID.
l If you save the current configuration and restart the switch after changing its stack ID,
the new stack ID takes effect and all the physical resources are identified by the new
stack ID. In the configuration file, only the global stack configuration and stack priority
of the switch are still in effect. All the other configurations related to the old stack ID
(such as port configuration) become invalid and must be reconfigured.
The stack priority determines the role of member switches during role election. A larger value
indicates a higher priority and higher probability that the member switch will be elected as the
master switch.

Procedure
Step 1 Run the system-view command to enter the system view.

Step 2 (Optional) Run the stack slot slot-id renumber new-slot-id command to configure a stack ID
for the switch.

By default, the stack ID of a switch is 0.


NOTE

The configuration takes effect after the switch is restarted.

Step 3 (Optional) Run the stack slot slot-id priority priority command to configure a stack priority
for the switch.

By default, the stack priority of a member switch is 100.

Step 4 (Optional) Run the display stack configuration [ slot slot-id ] command to verify the stack
configuration on a member switch.

----End

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 317


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.9.3 Powering Off Member Switches


Context
After you complete the preceding configurations, power off all member switches.
NOTE

The stack configuration is saved automatically. If you want to save other configurations, run the save
command to save them before you power off the switches.

Procedure
Step 1 (Optional) Run the save command to save the configuration.

Step 2 Power off all the member switches.

----End

9.9.4 Installing Stack Cables and Powering On the Switch

Preparing for Installation


Ensure that the following components and tools are available before the installation:
l Component: QSFP+ stack cables or QSFP+ optical modules and optical fibers
l Tools: ESD wrist strap or ESD gloves

Precautions
In stack card connection mode, member switches are connected through two ports that reside
on stack cards or are integrated into member switches using dedicated QSFP+ cables or QSFP
+ optical modules and fibers. Figure 9-31 shows a QSFP+ cable.

Figure 9-31 QSFP+ cable

NOTE

QSFP+ cables are hot swappable.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 318


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l Wear an ESD wrist strap or ESD gloves when installing PCIe cables.
l Prevent the cables from being twisted.

Installation Procedure
Two stack topologies are available: chain topology and ring topology, as shown in Figure
9-32 and Figure 9-33. For comparison of the two topologies, see 9.3.2 Stack Setup.

NOTE

l Power off the switch before connecting PCIe stack cables.


l When connecting stack cables, connect port STACK 1 of one switch to port STACK 2 of another
switch.

Figure 9-32 Chain topology

Figure 9-33 Ring topology

To ensure that a stack can be set up successfully, you are advised to perform operations in the
following sequence (in a chain topology with three switches A, B, and C):
1. Wear an ESD wrist strap and connect the other end of the strap to the ESD jack on the
cabinet.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 319


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

2. Use stack cables to connect SwitchA and SwitchB.


3. Power on SwitchA and then SwitchB.
4. Check whether SwitchA and SwitchB have set up a stack successfully. (See 9.9.5
Checking Whether a Stack Has Been Established Through Stack Card
Connections.)
5. Use stack cables to connect SwitchC and SwitchB, and then power on SwitchC.
6. Check whether SwitchA, SwitchB, and SwitchC have set up a stack successfully. (See
9.9.5 Checking Whether a Stack Has Been Established Through Stack Card
Connections.)

NOTE

To specify a member switch as the master switch, power on that switch first. Power on the other member
switches after that switch has started. In this example, SwitchA becomes the master switch after the
stack is set up.

9.9.5 Checking Whether a Stack Has Been Established Through


Stack Card Connections

After you complete stack configurations, review key indicators to confirm the stack has been
established successfully. If the stack has been successfully established, log in to the stack and
run commands to confirm that the stack topology matches the hardware connections. If a
stack has not been established, log in to the stack (multiple independent switches) and run
commands to locate and resolve the issues.

9.9.5.1 Reviewing Key Indicators to Confirm that a Stack Has Been Established

Context
After you complete configurations for establishing a stack, you can review indicators on the
switch panels to check whether the stack has been established successfully.

Procedure
1. Press the mode switching button on any member switch to set the mode status indicator
to work in STACK mode. A switch has a STCK indicator, which indicates the stack
mode status. After you press the MODE button, the indicator is steady green or blinking
and off in 45 seconds, indicating that the switch has entered the STACK mode.
– If the mode status indicators on all the member switches change to the STACK
mode, the stack has been established successfully. You can determine the stack IDs
of the master switch and member switches by viewing the mode status indicator and
service port indicators.
– If the mode status indicators on some member switches do not change to the
STACK mode, the stack has not been established.
2. Determine the stack IDs of the master switch and member switches through the status of
service port indicators. Table 9-25 explains how to interpret service port indicators in
STACK mode.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 320


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Table 9-25 Service port indicators in STACK mode


Color Status and Meaning

Off Port indicators do not indicate the stack


ID of the switch.

Green If the indicator is steady on, the switch is


not the master switch in the stack. If the
indicator is blinking, the switch is the
master switch in the stack.
l If the indicator of a port is steady on,
the switch where this port is located is
not the master switch, and the number
of this port is the stack ID of this
switch.
l If the indicator of a port is blinking,
the switch where this port is located is
the master switch, and the number of
this port is the stack ID of this switch.
l If the first nine port indicators of the
switch are steady on, this switch is not
the master switch, and its stack ID is
0.
l If the first nine port indicators of the
switch are blinking, this switch is the
master switch, and its stack ID is 0.

9.9.5.2 Logging In to Confirm a Stack Is Established

Context
If a stack fails to be established, you can log in to the stack and run commands to check
whether the stack topology corresponds to the hardware connections or to locate and rectify
faults.

Procedure
1. Log in to the stack.
You can log in to a stack using the following methods:
– Local login: Log in through the console interface of any member switch.
– Remote login: Log in through the management interface or another Layer 3
interface of any member switch. You can remotely log in to the stack using Telnet,
STelnet, web, or SNMP if your operation terminal has a reachable route to the
stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 321


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

l After switches with management interfaces form a stack, only the management interface
on one member switch takes effect and becomes the master management interface. After
the stack starts, the management interface on the master switch is used as the master
management interface. If the management interface on the master switch is faulty or
unavailable, the management interface on another member switch is used as the master
management interface. If you connect your PC directly to a non-master management
interface, you cannot log in to the stack.
l After a stack is set up, all the member switches use the configuration file of the master
switch.
l A stack externally acts as a single switch and uses one management IP address. To
remotely log in to a stack, you need to log in to the IP address of the master switch.
l All stack member switches are able to forward traffic.
2. Check whether the stack has been established successfully.
Run the display device command to check whether the number of member switches in
the stack is the same as the number of switches in the networking.
<HUAWEI> display device
S5720-32X-EI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5720-32X-EI Present PowerOn Registered Normal
Master
1 - S5720-32X-EI Present PowerOn Registered Normal
Standby

– If they are the same, go to step 3.


– If they are different, see Rectifying Common Stack Faults.
3. Check whether the stack topology is the same as the actual hardware connections.
– Run the display stack command to check whether the stack topology is the same as
the actual hardware connections.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0200-0000-01ab
MAC switch delay time: 10 min
Stack reserved vlan: 4093
Slot of the active management port: 0
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0200-0000-01ab 255 S5720-32X-EI-AC
1 Standby 0200-0000-0000 200 S5720-32X-EI-AC

– Run the display stack peers command to check whether neighboring information
about the stack is the same as the actual hardware connections.
<HUAWEI> display stack peers
Slot Port1 Peer1 Port2
Peer2
-------------------------------------------------------------------------
--
0 STACK 1 1 STACK 2
None
1 STACK 1 None STACK 2 0

– If they are the same, the stack has been established successfully.
– If they are different, reconnect the member switches.
– If the fault persists, rectify the fault according to Rectifying Common Stack
Faults.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 322


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Rectifying Common Stack Faults


Common Causes

Some member switches may fail to be added to a stack due to the following causes:
l Switches of different models cannot set up a stack.
l A switch has no electronic label or an incorrect electronic label.
l A stack card has no electronic label or an incorrect electronic label.
l Stack ports are incorrectly connected.
l Some stack cables or stack cards are faulty.
l The stack reserved VLAN is occupied.
l The MAC addresses of member switches conflict with each other.

Procedure

1. Check the switch model.


Run the display device command to check the device model.
<HUAWEI> display device
S5720-32X-EI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5720-32X-EI Present PowerOn Registered Normal
Master

– If switches of different models cannot set up a stack or a switch does not support
the stacking function, replace the switch.
– If the switches support stacking, proceed to the next step.
2. Check that a correct electronic label has been loaded to the switch.
Run the display elabel command to view the electronic label.
<HUAWEI> display elabel
/$[System Integration Version]
/$SystemIntegrationVersion=3.0

[Slot_0]
/$[Board Integration Version]
/$BoardIntegrationVersion=3.0

[Main_Board]
/$[ArchivesInfo Version]
/$ArchivesInfoVersion=3.0

[Board Properties]
BoardType=S5720EI
BarCode=21023595860123456789
Item=02359586
Description=S5720-32X-EI-AC(24 Ethernet 10/100/1000 ports,4 100/1000 SFP,4
10 Gig SFP+,AC 110/220V)
Manufactured=2014-05-15
VendorName=Huawei
IssueNumber=00
CLEICode=
BOM=02359586

– If all fields under [Board Properties] are empty, no electronic label is loaded to the
switch. Replace the switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 323


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

– If fields under [Board Properties] are not empty, an electronic label has been loaded
to the switch. Proceed to the next step.
3. Check the electronic label of the stack card. This step is not required on a switch that
uses stack card stacking with stack ports fixed on the rear panel.
Run the display elabel slot slot-id subcard-id command to check the electronic label of
the stack card. slot-id indicates the stack ID and you can obtain it from the output of the
display stack command. subcard-id indicates the subcard ID which is 1 in a stack. For
example, to view the stack card electronic label on a switch with stack ID 0, run the
display elabel slot 0 1 command.
<HUAWEI> display elabel slot 0 1
/$[System Integration Version]
/$SystemIntegrationVersion=3.0

[Slot_0]
/$[Board Integration Version]
/$BoardIntegrationVersion=3.0

[Main_Board]
/$[ArchivesInfo Version]
/$ArchivesInfoVersion=3.0

[Board Properties]
BoardType=S5720EI
BarCode=0302MDW
Item=
Description=Dedicated stack card with 2*QSFP+ interface(Including one PCS of
1M QSFP+ cable ,Used in S5720EI series)
Manufactured=2014-07-07
VendorName=Huawei
IssueNumber=00
CLEICode=
BOM=
– If all fields under [Board Properties] are empty, the stack card is not functioning
properly. Replace the stack card.
– If fields under [Board Properties] are not empty, an electronic label has been loaded
to the switch. Proceed to the next step.
4. Check the stack cables.
Run the display stack port [ brief | slot slot-id ] command to check whether stack
cables are correctly connected.
<HUAWEI> display stack port slot 0
stack-
port0/1:

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

Current state :
UP

Speed :
21000

Input: 231394 packets, 45889632


bytes

Unicast: 231025, Multicast:


0
Broadcast: 0, Jumbo:

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 324


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

369
Discard: 0, Frames:
0

Total Error:
0

CRC: 0, Giants:
0
Jabbers: 0, Fragments:
0
Runts: 0, DropEvents:
0
Alignments: 0, Symbols:
0
Ignoreds:
0

Output: 247387 packets, 42114410


bytes

Unicast: 246108, Multicast:


989
Broadcast: 0, Jumbo:
290
Discard:
0

Total Error:
0

Collisions: 0, ExcessiveCollisions:
0
Late Collisions: 0, Deferreds:
0
Buffers Purged: 0

– If the Current state of a stack port on the switch is Up, proceed to the next step.
– If a stack port status is Down, check whether the switch connected to the port has
been powered off or is restarting. If so, check whether the stack port status is Up
after the connected switch restarts. If not, replace the stack cable.
– If the fault persists, proceed to the next step.
5. Check whether the stack reserved VLAN is occupied.
Run the display stack command to check the reserved VLAN of a member switch. By
default, the reserved VLAN is 4093.
Run the display vlan vlan-id command. If the reserved VLAN is not occupied, proceed
to the next step.
<HUAWEI> display vlan 4093
Error: The VLAN does not exist.

– If the reserved VLAN is occupied, run either of the following commands to rectify
the fault:
n Run the stack reserved-vlan vlan-id command in the system view to modify
the reserved VLAN.
n Delete services in the reserved VLAN and run the undo vlan vlan-id
command in the system view to delete the VLAN.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 325


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

– If the fault persists, proceed to the next step.


6. Check whether MAC addresses of member switches conflict with each other.
Run the display stack command to check whether the MAC address of the switch to be
added to the stack conflicts with the MAC address of an existing member switch. If not,
proceed to the next step.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0200-0000-01ab
MAC switch delay time: 10 min
Stack reserved vlan: 4093
Slot of the active management port: 0
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0200-0000-01ab 255 S5720-32X-EI-AC
1 Standby 0200-0000-0000 200 S5720-32X-EI-AC

7. Collect the following information and contact technical support personnel.


– Results of the preceding troubleshooting procedure
– Configuration file, logs, and alarms of switches
Relevant Alarms and Logs
l Relevant Alarms
– A stack port goes Up: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.1 hwStackLinkUp
– A stack port goes Down: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.2 hwStackLinkDown
– A switch has joined the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.6
hwStackStackMemberAdd
– A switch has left the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.7
hwStackStackMemberLeave
l Relevant Logs
None

9.10 Establishing a Stack Through Service Port


Connections Using Ordinary Stack Cables
Carefully review the role and functions of member switches before you use service port
connections to establish a stack. You are advised to follow the process in Figure 9-34 to
establish a stack.
NOTE

In Figure 9-34, the three steps in the dashed box are included in 9.10.1 Performing Software
Configurations. Configuring a stack ID and stack priority are optional but are recommended to
facilitate management.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 326


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-34 Process of using service port connections to establish a stack

Add physical
member ports to
logical stack ports Power off all
member switches

Configure stack IDs Connect stack


for member switches cables and power on
member switches

Configure stack
priorities for member Check whether
switches the stack has been
set up successfully

End

Optional

Mandatory

9.10.1 Performing Software Configurations


Context
When using service port connections to establish a stack, you need to configure logical stack
ports. You are advised to configure stack IDs and stack priorities to facilitate user
management.
A logical stack port takes effect only after physical member ports are added to it. Multiple
physical member ports can be added to a stack port to improve stack link bandwidth and
reliability.
Stack IDs identify member switches in a stack. Each stack member switch has a unique stack
ID. If a new member switch has the same stack ID as an existing member switch, the master
switch assigns another stack ID to the new member switch. You can also configure a stack ID
for this member switch. To facilitate management on switches, you are advised to plan and
configure stack IDs for member switches before setting up a stack. A member switch's stack
ID affects many configurations on the switch, for example, port numbers (physical and logical
ports) and port configurations. Pay attention to the following points when configuring stack
IDs for member switches:
l If you do not restart a switch after changing its stack ID, the switch still uses the original
stack ID, and all physical resources are identified by the original stack ID.
l If you save the current configuration and restart the switch after changing its stack ID,
the new stack ID takes effect and all the physical resources are identified by the new

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 327


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

stack ID. In the configuration file, only the global stack configuration and stack priority
of the switch are still in effect. All the other configurations related to the old stack ID
(such as port configuration) become invalid and must be reconfigured.
The stack priority determines the role of member switches during role election. A larger value
indicates a higher priority and higher probability that the member switch will be elected as the
master switch.

Procedure
Step 1 Run the system-view command to enter the system view.

Step 2 Run the interface stack-port member-id/port-id command to create a logical stack port and
enter the logical stack port view.

Step 3 Run the port interface { interface-type interface-number1 [ to interface-type interface-


number2 ] } &<1-10> enable command to configure a service port as a physical member port
and added the service port to a logical stack port.
NOTE

1. A stack physical member port supports only stack-related functions, and other functions cannot be
configured on the interface. All the commands irrelevant to the stack function are unavailable in the
interface view, and only basic configuration commands such as description (interface view) are
retained.
2. After configuring a service port of a switch as a physical member port, you are advised to save the
configuration if this service port has been referenced by other commands. Otherwise, the commands
that reference this service port may be retained after the switch restarts.
3. To restore a physical member port as a service port, run the shutdown interface { interface-type
interface-number1 [ to interface-type interface-number2 ] } &<1-10> command in the logical stack
port view to shut down the physical member port, and then run the undo port interface { interface-
type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command in this
view.
4. On the S6720EI and S6720S-EI, every four of XGE interfaces from the left are added to one group.
For example, XGE interfaces numbered 1 to 4 can be added to one group, but XGE interfaces
numbered 2 to 5 cannot. That is, the number of the last XGE interface in each group must be the
multiple of 4. If you configure any interface in each group as a physical member port, configurations
on the other three interfaces in the group will be lost and the three interfaces cannot be used as
service ports.

Step 4 Run the quit command to return to the system view.

Step 5 (Optional) Run the stack slot slot-id renumber new-slot-id command to configure a stack ID
for the switch.

By default, the stack ID of a switch is 0.


NOTE

The configuration takes effect after the switch is restarted.

Step 6 (Optional) Run the stack slot slot-id priority priority command to configure a stack priority
for the switch.

By default, the stack priority of a member switch is 100.

Step 7 (Optional) Run the display stack configuration [ slot slot-id ] command to verify the stack
configuration on a member switch.

----End

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 328


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.10.2 Powering Off Member Switches

Context
After you complete the preceding configurations, power off all member switches.
NOTE

The stack configuration is saved automatically. If you want to save other configurations, run the save
command to save them before you power off the switches.

Procedure
Step 1 (Optional) Run the save command to save the configuration.

Step 2 Power off all the member switches.

----End

9.10.3 Installing Stack Cables and Powering On the Switch

Preparing for Installation


Ensure that the following components and tools are available before the installation:
l Components: copper cables, optical modules and fibers, or active optical cables (AOCs)
(For the stack cables applicable to different devices, see 9.7 Stacking Support and
Version Requirements.)
l Tools: ESD wrist strap or ESD gloves

Precautions

When installing or removing optical fibers, do not look into optical ports or connectors
without eye protection.

l Wear an ESD wrist strap or ESD gloves during the installation.


l Prevent the cables or optical fibers from being twisted.
l Install or remove optical fibers carefully to avoid damages to fiber connectors.
l The bend radius of optical fibers or cables must be larger than the minimum bend radius.
The minimum bend radius of SFP+ cables is 25 mm; the minimum bend radius of AOC
cables is 30 mm; the bend radius of optical fibers is generally greater than or equal to 40
mm.
l If the fiber connector is dirty, use an alcohol swab or a piece of air-laid paper to gently
wipe the fiber connector in one direction.
l To remove a cable, gently push the connector of the cable and then pull out the cable by
the pull ring.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 329


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Installation Procedure
Stack member switches can form a chain or ring topology through service port connections.
Figure 9-35 and Figure 9-36 shows stack cable connections in a stack that is set up by three
S5700-28X-LI-AC switches. On the member switches, the first two 10GE optical ports are
configured as physical member ports of logical stack port 1, and the last 10GE optical ports
are configured as physical member ports of logical stack port 2.

NOTE

l Power off the switch before connecting stack cables.


l Physical member ports of logical stack port (stack-port n/1) on one switch must be connected to
physical member ports of logical stack port (stack-port m/2) on another switch.
l Multiple physical member ports can be bound to a logical stack port to improve stack
reliability and bandwidth. The stack will not split as long as one physical link is available
between the member switches.
l If the logical stack ports on two ends (stack-port n/1 on one switch and stack-port m/2 on the
other) both contain multiple physical member ports, the physical member ports can be
connected in any sequence.
l If there are more than two member switches, use the ring topology to improve system reliability. The
stack bandwidth is the minimum bandwidth among all stack ports.
l If there are only two member switches, you are advised to create only one logical stack port on each
member switch. The logical stack port can contain multiple physical member ports.

Figure 9-35 Ring topology of a stack set up through service port connections

Logical
stack port 2

Logical stack port 1


Logical
stack port 2

Logical stack port 1


Logical
stack port 2

Logical stack port 1

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 330


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-36 Chain topology of a stack set up through service port connections
Logical
stack port 2

Logical
stack port 2

Logical stack port 1

Logical stack port 1

To ensure that a stack can be set up successfully, you are advised to perform operations in the
following sequence (in a chain topology with three switches A, B, and C):
1. Wear an ESD wrist strap and connect the other end of the strap to the ESD jack on the
cabinet.
2. Use stack cables to connect SwitchA and SwitchB.
3. Power on SwitchA and then SwitchB.
4. Check whether SwitchA and SwitchB have set up a stack successfully. (See 9.10.4
Checking Whether a Stack Is Established Through Service Port Connections.)
5. Use stack cables to connect SwitchC and SwitchB, and then power on SwitchC.
6. Check whether SwitchA, SwitchB, and SwitchC have set up a stack successfully. (See
9.10.4 Checking Whether a Stack Is Established Through Service Port
Connections.)
NOTE

To specify a member switch as the master switch, power on that switch first. Power on the other member
switches after that switch has started. In this example, SwitchA becomes the master switch after the
stack is set up.

9.10.4 Checking Whether a Stack Is Established Through Service


Port Connections
After the stack powered on, review key indicators to confirm the stack has been established
successfully. If the stack has been successfully established, log in to the stack and run
commands to confirm that the stack topology matches the hardware connections. If a stack

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 331


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

has not been established, log in to the stack (multiple independent switches) and run
commands to locate and resolve the issues.

9.10.4.1 Reviewing Key Indicators to Confirm that a Stack Has Been Established

Context
After the stack powered on, review key indicators on the switch panels to confirm the stack
has been established successfully.

Procedure
l Press the mode switching button on any member switch to set the mode status indicator
to work in STACK mode. A switch has a STCK indicator, which indicates the stack
mode status. After you press the MODE button, the indicator is steady green or blinking
and off in 45 seconds, indicating that the switch has entered the STACK mode.
– If the mode status indicators on all the member switches change to the STACK
mode, the stack has been established successfully. You can determine the stack IDs
of the master switch and member switches by viewing the mode status indicator and
service port indicators.
– If the mode status indicators on some member switches do not change to the
STACK mode, the stack has not been established.
l Determine the stack IDs of the master switch and member switches through the status of
service port indicators. Table 9-26 explains how to interpret service port indicators in
STACK mode.

Table 9-26 Service port indicators in STACK mode


Color Status and Meaning

Off Port indicators do not indicate the stack


ID of the switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 332


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Color Status and Meaning

Green If the indicator is steady on, the switch is


not the master switch in the stack. If the
indicator is blinking, the switch is the
master switch in the stack.
l If the indicator of a port is steady on,
the switch where this port is located is
not the master switch, and the number
of this port is the stack ID of this
switch.
l If the indicator of a port is blinking,
the switch where this port is located is
the master switch, and the number of
this port is the stack ID of this switch.
l If the first nine port indicators of the
switch are steady on, this switch is not
the master switch, and its stack ID is
0.
l If the first nine port indicators of the
switch are blinking, this switch is the
master switch, and its stack ID is 0.

9.10.4.2 Logging In to a Stack to Confirm that a Stack Has Been Established

Context
If a stack fails to be established, you can log in to the stack and run commands to check
whether the stack topology corresponds to the hardware connections or to locate and rectify
faults.

Procedure
1. Log in to the stack.
You can log in to a stack using the following methods:
– Local login: Log in through the console interface of any member switch.
– Remote login: Log in through the management interface or another Layer 3
interface of any member switch. You can remotely log in to the stack using Telnet,
STelnet, web, or SNMP if your operation terminal has a reachable route to the
stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 333


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

l After switches with management interfaces form a stack, only the management interface
on one member switch takes effect and becomes the master management interface. After
the stack starts, the management interface on the master switch is used as the master
management interface. If the management interface on the master switch is faulty or
unavailable, the management interface on another member switch is used as the master
management interface. If you connect your PC directly to a non-master management
interface, you cannot log in to the stack.
l After a stack is set up, all the member switches use the configuration file of the master
switch.
l A stack externally acts as a single switch and uses one management IP address. To
remotely log in to a stack, you need to log in to the IP address of the master switch.
l All stack member switches are able to forward traffic.
2. Check whether the stack has been established successfully.
Run the display device command to check whether the number of member switches in
the stack is the same as the number of switches in the networking.
<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master
1 - S5700-28P-LI Present PowerOn Registered Normal
Standby

– If they are the same, go to step 3.


– If they are different, see Rectifying Common Stack Faults.
3. Check whether the stack topology is the same as the actual hardware connections.
– Run the display stack command to check whether the stack topology is the same as
the actual hardware connections.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0018-82b1-6eb4
MAC switch delay time: 2 min
Stack reserved VLAN:
4093

Slot of the active management port: 0


Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82b1-6eb4 200 S5700-28P-LI-AC
1 Standby 0018-82b1-6eba 150 S5700-28P-LI-AC

– Run the display stack peers command to check whether neighboring information
about the stack is the same as the actual hardware connections.
<HUAWEI> display stack peers
Slot Port1 Peer1 Port2
Peer2
-------------------------------------------------------------------------
--
0 STACK 1 1 STACK 2
None
1 STACK 1 None STACK 2 0

– Run the display stack port command to view information about physical member
ports added to a logical stack port.
<HUAWEI> display stack port
*down : administratively
down

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 334


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

(r) : Runts trigger error


down

(c) : CRC trigger error


down

(l) : Link-flapping trigger error


down

Logic Port Phy Port Online


Status
-------------------------------------------------------------------------
---
stack-port0/1 GigabitEthernet0/0/27 present up
stack-port1/2 GigabitEthernet1/0/28 present up

– Run the display stack channel all command to check the stack link connections
and status.
<HUAWEI> display stack channel all
! : Port have received packets with CRC
error.

L-Port: Logic stack


port

P-Port: Physical
port

Slot L-Port P-Port Speed State || P-Port Speed


State L-Port Slot
-------------------------------------------------------------------------
--------------
1 1/2 GE1/0/28 2G UP GE2/0/27 2G
UP 2/1 2
2 2/1 GE2/0/27 2G UP GE1/0/28 2G
UP 1/2 1
-------------------------------------------------------------------------
--------------

– If they are the same, the stack has been established successfully.
– If they are different, reconnect the member switches.
– If the fault persists, rectify the fault according to Rectifying Common Stack
Faults.

Rectifying Common Stack Faults


Common Causes
Some member switches may fail to be added to a stack for the following reasons:
l Switches of different models cannot set up a stack.
l A switch does not support the stacking function.
l A switch has no electronic label or an incorrect electronic label.
l Stack ports are incorrectly connected.
l Stack cables are faulty.
l The stack reserved VLAN is occupied.
l MAC addresses of stack member switches conflict.
Procedure
1. Check the switch model.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 335


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Run the display device command to check the device model.


<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master

– If switches of different models cannot set up a stack or a switch does not support
the stacking function, replace the switch.
– If the switches support stacking, proceed to the next step.
2. Check that a correct electronic label has been loaded to the switch.
Run the display elabel command to view the electronic label.
<HUAWEI> display elabel
/$[System Integration Version]
/$SystemIntegrationVersion=3.0

[Slot_0]
/$[Board Integration Version]
/$BoardIntegrationVersion=3.0

[Main_Board]

/$[ArchivesInfo Version]
/$ArchivesInfoVersion=3.0

[Board Properties]
BoardType=CX22EMGEB
BarCode=21023518320123456789
Item=02351832
Description=S5700-28P-LI,LS5ZC48CM,S5700-28P-LI Mainframe
Manufactured=2009-02-05
VendorName=Huawei
IssueNumber=
CLEICode=
BOM=

– If all fields under [Board Properties] are empty, no electronic label has been loaded
to the switch. Replace the switch.
– If fields under [Board Properties] are not empty, an electronic label has been loaded
to the switch. Proceed to the next step.
3. Check the stack cables.
Run the display stack port command to check whether stack cables are correctly
connected.
<HUAWEI> display stack port
*down : administratively down
Logic Port Phy Port Online Status
----------------------------------------------------------------------------
stack-port0/1 GigabitEthernet0/0/1 present up
stack-port1/2 GigabitEthernet1/0/1 present up

– If the physical member ports are in the Up state, proceed to the next step.
– If the status of a physical member port is in the Down state, check whether the
switch connected to the port has been powered off or is restarting. If so, check
whether the port status is in the Up state after the connected switch restarts. If not,
replace the stack cable.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 336


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

– If the fault persists, proceed to the next step.


4. Check whether the stack reserved VLAN is occupied.
Run the display stack command to check the reserved VLAN of a member switch. By
default, the reserved VLAN is 4093.
Run the display vlan vlan-id command. If the reserved VLAN 4093 is not occupied,
proceed to the next step.
<HUAWEI> display vlan 4093
Error: The VLAN does not exist.

– If the reserved VLAN 4093 is occupied, run either of the following commands to
rectify the fault:
n Run the stack reserved-vlan vlan-id command in the system view to modify
the reserved VLAN.
n Delete services in the reserved VLAN and run the undo vlan vlan-id
command in the system view to delete the VLAN.
– If the fault persists, proceed to the next step.
5. Check whether MAC addresses of member switches conflict with each other.
Run the display stack command to check whether the MAC address of the switch to be
added to the stack conflicts with the MAC address of an existing member switch. If not,
proceed to the next step.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0018-82b1-6eb4
MAC switch delay time: 2 min
Stack reserved vlan: 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82b1-6eb4 200 S5700-28P-LI-AC
1 Standby 0018-82b1-6eba 150 S5700-28P-LI-AC

6. Collect the following information and contact technical support personnel.


– Results of the preceding troubleshooting procedure
– Configuration file, logs, and alarms of switches

Relevant Alarms and Logs


l Relevant Alarms
– A stack port goes Up: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.1 hwStackLinkUp
– A stack port goes Down: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.2 hwStackLinkDown
– A switch has joined the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.6
hwStackStackMemberAdd
– A switch has left the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.7
hwStackStackMemberLeave
– Logical ports with the same ID on two switches are connected:
FSP_1.3.6.1.4.1.2011.5.25.183.1.22.9 hwStackLogicStackPortLinkErr
– Physical ports of the same logical port are connected to different devices:
FSP_1.3.6.1.4.1.2011.5.25.183.1.22.10 hwStackPhyStackPortLinkErr
l Relevant Logs
None

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 337


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.11 Establishing a Stack Through Service Port


Connections Using Dedicated Stack Cables (Zero-
Configuration Stacking)

9.11.1 Establishing a Stack Using Dedicated Stack Cables

Installation Preparation
l Components: dedicated stack cables
l Tools: ESD wrist strap or ESD gloves

Precautions
l Wear an ESD wrist strap or ESD gloves during the installation.
l Ensure that the stack cables are not tangled with other cables.
l To remove a cable, gently push the connector of the cable and then pull out the cable by
the pull ring.

Cable Connections
l Logical stack port 1 on one switch must be connected to logical stack port 2 on another
switch. Logical stack port numbers have been preconfigured for physical ports as shown
in Table 9-27. To view the port numbers, run the display stack port auto-cable-info
command.

Table 9-27 Preconfigured logical stack port numbers

Ports Supporting Logical Stack Port 1 Logical Stack Port 2


Dedicated Stack Cables

Two uplink optical ports Uplink optical port 1 Uplink optical port 2
(non-combo ports) on the
front panel

Four uplink optical ports First two uplink optical Last two uplink optical
on the front panel ports ports

Eight uplink optical ports Uplink optical ports 1, 2, Uplink optical ports 3, 4,
on the front panel 5, and 6 7, and 8

All 16 optical ports on the Optical ports 1, 2, 5, 6, 9, Optical ports 3, 4, 7, 8, 11,


front panel 10, 13, and 14 12, 15, and 16

Last 16 optical ports Optical ports 9, 10, 13, 14, Optical ports 11, 12, 15,
among all 24 optical ports 17, 18, 21, and 22 16, 19, 20, 23, and 24
on the front panel

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 338


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Ports Supporting Logical Stack Port 1 Logical Stack Port 2


Dedicated Stack Cables

Last 16 optical ports Optical ports 17, 18, 21, Optical ports 19, 20, 23,
among all 32 optical ports 22, 25, 26, 29, and 30 24, 27, 28, 31, and 32
on the front panel

Last 16 optical ports Optical ports 33, 34, 37, Optical ports 35, 36, 39,
among all 48 optical ports 38, 41, 42, 45, and 46 40, 43, 44, 47, and 48
on the front panel

l Stack member ports of a logical stack port can be connected at any sequence. Each
logical stack port can have one or more physical ports connected.
l If logical stack port numbers have been configured manually, these port numbers will not
change after stack cables are connected. The preconfigured logical stack port numbers do
not take effect. Connect stack cables according to the configured port numbers.
l In unconfigured deployment scenarios, you are advised to connect member switches
based on the following rules:
– Connect the switches in sequence from top to bottom, as shown in Figure 9-37.
– Ensure that all logical stack ports of the top switch are connected to the master ends
of cables, all logical stack ports of the bottom switch are connected to the slave
ends of cables, and two logical stack ports of the intermediate switch are connected
to the master and slave ends respectively.
– After the switches have been connected using dedicated stack cables, they
automatically set up a stack and their stack IDs as well as stack roles are
automatically assigned.
– If the switches are not connected in a ring topology, you only need to ensure that
logical stack port 1 of the local switch is connected to logical stack port 2 of the
remote switch. In this situation, these switches can set up a stack, but their master
and standby roles and stack IDs are randomly generated.
l To perform stack capacity expansion on a switch that already has the configuration, pay
attention to the following:
– Ports with dedicated stack cables installed cannot have any service configuration.
– You only need to ensure that logical stack port 1 of one switch is connected to
logical stack port 2 of another switch, without having to consider the master/slave
ends of dedicated stack cables.
– The existing stack ID of the switch is used when no stack ID conflict occurs. If such
a conflict occurs, a new stack ID is automatically assigned to the switch.

Installation Procedure
Stack member switches can set up a stack in a chain or ring topology through service port
connections. Figure 9-37 and Figure 9-38 show stack cable connections in a stack that is set
up by three S5720-28X-LI-AC switches in ring and chain topologies respectively. On these
member switches, the first two 10GE optical ports are preconfigured as stack member ports of
logical stack port 1, and the last two 10GE optical ports are preconfigured as stack member
ports of logical stack port 2. Here, each logical stack port has two physical member ports
connected and can also have one physical member port connected. To ensure reliability, it is
recommended that a logical stack port have two or more physical member ports connected.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 339


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

l Before using dedicated stack cables to connect member switches, you are advised to power off all
member switches to ensure security.
l When the switch is running and a dedicated stack cable is removed and inserted to a port, this port
changes between a service port and a stack port after 60 seconds to prevent flapping in the event that
this cable is removed and inserted to this port multiple times in a short time. That is, this port
becomes a stack port 60 seconds after a dedicated stack cable is inserted to it or it becomes a service
port 60 seconds after this cable is removed from it. If the stack configuration has been saved before
the dedicated stack cable is removed from a stack port, this stack port will not automatically become
a service port.
l If ports cannot automatically become stack ports after they have dedicated stack cables connected,
an alarm 1.3.6.1.4.1.2011.5.25.183.1.22.64 hwStackAutoConfigFailed is generated. Solve this
problem based on the possible causes and procedure described in this alarm.

Figure 9-37 Stack set up in a ring topology using dedicated stack cables

SwitchA

Logical stack port 1 Logical stack port 2

SwitchB

Logical stack port 1 Logical stack port 2

SwitchC

Logical stack port 1 Logical stack port 2

Indicates the master end with the


Master tag of a dedicated stack cable

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 340


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-38 Stack set up in a chain topology using dedicated stack cables

SwitchA

Logical stack port 1 Logical stack port 2

SwitchB

Logical stack port 1 Logical stack port 2

SwitchC

Logical stack port 1 Logical stack port 2

Indicates the master end with the


Master tag of a dedicated stack cable

l If the switches have been powered off before they have stack cables connected, you are
advised to power on them in sequence. If you want a specific switch to become the
master switch, power on it first. After it starts, power on other switches. In the following
example, three switches, SwitchA, SwitchB, and SwitchC set up a stack in a chain
topology, and SwitchA becomes the master switch after the three switches are powered
on in the following sequence:
a. Power on and start SwitchA and then power on SwitchB.
b. Check whether SwitchA and SwitchB set up a stack successfully according to
9.10.4 Checking Whether a Stack Is Established Through Service Port
Connections.
c. Power on SwitchC.
d. Check whether SwitchA, SwitchB, and SwitchC set up a stack successfully
according to 9.10.4 Checking Whether a Stack Is Established Through Service
Port Connections.
l If the switches are not powered off before they have stack cables connected, their roles
and stack IDs will be randomly assigned.

9.11.2 Checking Whether a Stack Is Established Through Service


Port Connections

After the stack powered on, review key indicators to confirm the stack has been established
successfully. If the stack has been successfully established, log in to the stack and run
commands to confirm that the stack topology matches the hardware connections. If a stack
has not been established, log in to the stack (multiple independent switches) and run
commands to locate and resolve the issues.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 341


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.11.2.1 Reviewing Key Indicators to Confirm that a Stack Has Been Established

Context
After the stack powered on, review key indicators on the switch panels to confirm the stack
has been established successfully.

Procedure
l Press the mode switching button on any member switch to set the mode status indicator
to work in STACK mode. A switch has a STCK indicator, which indicates the stack
mode status. After you press the MODE button, the indicator is steady green or blinking
and off in 45 seconds, indicating that the switch has entered the STACK mode.
– If the mode status indicators on all the member switches change to the STACK
mode, the stack has been established successfully. You can determine the stack IDs
of the master switch and member switches by viewing the mode status indicator and
service port indicators.
– If the mode status indicators on some member switches do not change to the
STACK mode, the stack has not been established.
l Determine the stack IDs of the master switch and member switches through the status of
service port indicators. Table 9-28 explains how to interpret service port indicators in
STACK mode.

Table 9-28 Service port indicators in STACK mode


Color Status and Meaning

Off Port indicators do not indicate the stack


ID of the switch.

Green If the indicator is steady on, the switch is


not the master switch in the stack. If the
indicator is blinking, the switch is the
master switch in the stack.
l If the indicator of a port is steady on,
the switch where this port is located is
not the master switch, and the number
of this port is the stack ID of this
switch.
l If the indicator of a port is blinking,
the switch where this port is located is
the master switch, and the number of
this port is the stack ID of this switch.
l If the first nine port indicators of the
switch are steady on, this switch is not
the master switch, and its stack ID is
0.
l If the first nine port indicators of the
switch are blinking, this switch is the
master switch, and its stack ID is 0.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 342


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.11.2.2 Logging In to a Stack to Confirm a Stack Has Been Established

Context
If a stack fails to be established, you can log in to the stack and run commands to check
whether the stack topology corresponds to the hardware connections or to locate and rectify
faults.

Procedure
1. Log in to the stack.
You can log in to a stack using the following methods:
– Local login: Log in through the console interface of any member switch.
– Remote login: Log in through the management interface or another Layer 3
interface of any member switch. You can remotely log in to the stack using Telnet,
STelnet, web, or SNMP if your operation terminal has a reachable route to the
stack.
NOTE

l After switches with management interfaces form a stack, only the management interface
on one member switch takes effect and becomes the master management interface. After
the stack starts, the management interface on the master switch is used as the master
management interface. If the management interface on the master switch is faulty or
unavailable, the management interface on another member switch is used as the master
management interface. If you connect your PC directly to a non-master management
interface, you cannot log in to the stack.
l After a stack is set up, all the member switches use the configuration file of the master
switch.
l A stack externally acts as a single switch and uses one management IP address. To
remotely log in to a stack, you need to log in to the IP address of the master switch.
l All stack member switches are able to forward traffic.
2. Check whether the stack has been established successfully.
Run the display device command to check whether the number of member switches in
the stack is the same as the number of switches in the networking.
<HUAWEI> display device
S5720-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5720-28P-LI Present PowerOn Registered Normal
Master
1 - S5720-28P-LI Present PowerOn Registered Normal
Standby

– If they are the same, go to step 3.


– If they are different, see Rectifying Common Stack Faults.
3. Check whether the stack topology is the same as the actual hardware connections.
– Run the display stack command to check whether the stack topology is the same as
the actual hardware connections.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0018-82b1-6eb4
MAC switch delay time: 2 min
Stack reserved VLAN:

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 343


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

4093

Slot of the active management port: 0


Slot Role MAC Address Priority Device
Type

-------------------------------------------------------------
0 Master 0018-82b1-6eb4 100 S5720-28P-LI-AC
1 Standby 0018-82b1-6eba 100 S5720-28P-LI-AC

– Run the display stack peers command to check whether neighboring information
about the stack is the same as the actual hardware connections.
<HUAWEI> display stack peers
Slot Port1 Peer1 Port2
Peer2
-------------------------------------------------------------------------
--
0 STACK 1 1 STACK 2
None
1 STACK 1 None STACK 2 0

– Run the display stack port command to view information about physical member
ports added to a logical stack port.
<HUAWEI> display stack port
*down : administratively
down

(r) : Runts trigger error


down

(c) : CRC trigger error


down

(l) : Link-flapping trigger error


down

Logic Port Phy Port Online


Status
-------------------------------------------------------------------------
--
stack-port0/1 GigabitEthernet0/0/26 present up
stack-port1/2 GigabitEthernet1/0/27 present up

– Run the display stack channel all command to check the stack link connections
and status.
<HUAWEI> display stack channel all
! : Port have received packets with CRC
error.

L-Port: Logic stack


port

P-Port: Physical
port

Slot L-Port P-Port Speed State || P-Port Speed


State L-Port Slot
-------------------------------------------------------------------------
--------------
1 1/2 GE1/0/27 2G UP GE2/0/26 2G
UP 2/1 2
2 2/1 GE2/0/26 2G UP GE1/0/27 2G
UP 1/2 1
-------------------------------------------------------------------------
--------------

– If they are the same, the stack has been established successfully.
– If they are different, reconnect the member switches.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 344


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

– If the fault persists, rectify the fault according to Rectifying Common Stack
Faults.

Rectifying Common Stack Faults


Common Causes

Some member switches may fail to be added to a stack for the following reasons:
l Switches of different models cannot set up a stack.
l A switch does not support the stacking function.
l A switch has no electronic label or an incorrect electronic label.
l Stack ports are incorrectly connected.
l Stack cables are faulty.
l The stack reserved VLAN is occupied.
l MAC addresses of stack member switches conflict.

Procedure

1. Check the switch model.


Run the display device command to check the device model.
<HUAWEI> display device
S5720-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
------------------------------------------------------------------------------
-
0 - S5720-28P-LI Present PowerOn Registered Normal
Master

– If switches of different models cannot set up a stack or a switch does not support
the stacking function, replace the switch.
– If the switches support stacking, proceed to the next step.
2. Check that a correct electronic label has been loaded to the switch.
Run the display elabel command to view the electronic label.
<HUAWEI> display elabel
/$[System Integration Version]
/$SystemIntegrationVersion=3.0

[Slot_0]
/$[Board Integration Version]
/$BoardIntegrationVersion=3.0

[Main_Board]

/$[ArchivesInfo Version]
/$ArchivesInfoVersion=3.0

[Board Properties]
BoardType=CX22EMGEB
BarCode=21023518320123456789
Item=02351832
Description=S5720-28P-LI,LS5ZC48CM,S5720-28P-LI Mainframe
Manufactured=2009-02-05
VendorName=Huawei
IssueNumber=

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 345


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

CLEICode=
BOM=

– If all fields under [Board Properties] are empty, no electronic label has been loaded
to the switch. Replace the switch.
– If fields under [Board Properties] are not empty, an electronic label has been loaded
to the switch. Proceed to the next step.
3. Check the stack cables.
Run the display stack port command to check whether stack cables are correctly
connected.
<HUAWEI> display stack port
*down : administratively down
Logic Port Phy Port Online Status
----------------------------------------------------------------------------
stack-port0/1 GigabitEthernet0/0/1 present up
stack-port1/2 GigabitEthernet1/0/1 present up

– If the physical member ports are in the Up state, proceed to the next step.
– If the status of a physical member port is in the Down state, check whether the
switch connected to the port has been powered off or is restarting. If so, check
whether the port status is in the Up state after the connected switch restarts. If not,
replace the stack cable.
– If the fault persists, proceed to the next step.
4. Check whether the stack reserved VLAN is occupied.
Run the display stack command to check the reserved VLAN of a member switch. By
default, the reserved VLAN is 4093.
Run the display vlan vlan-id command. If the reserved VLAN is not occupied, proceed
to the next step.
<HUAWEI> display vlan 4093
Error: The VLAN does not exist.

– If the reserved VLAN is occupied, run either of the following commands to rectify
the fault:
n Run the stack reserved-vlan vlan-id command in the system view to modify
the reserved VLAN.
n Delete services in the reserved VLAN and run the undo vlan vlan-id
command in the system view to delete the VLAN.
– If the fault persists, proceed to the next step.
5. Check whether MAC addresses of member switches conflict with each other.
Run the display stack command to check whether the MAC address of the switch to be
added to the stack conflicts with the MAC address of an existing member switch. If not,
proceed to the next step.
<HUAWEI> display stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 0018-82b1-6eb4
MAC switch delay time: 2 min
Stack reserved vlan: 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82b1-6eb4 200 S5720-28P-LI-AC
1 Standby 0018-82b1-6eba 150 S5720-28P-LI-AC

6. Collect the following information and contact technical support personnel.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 346


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

– Results of the preceding troubleshooting procedure


– Configuration file, logs, and alarms of switches
Relevant Alarms and Logs
l Relevant Alarms
– A stack port goes Up: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.1 hwStackLinkUp
– A stack port goes Down: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.2 hwStackLinkDown
– A switch has joined the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.6
hwStackStackMemberAdd
– A switch has left the stack: FSP_1.3.6.1.4.1.2011.5.25.183.1.22.7
hwStackStackMemberLeave
– Logical ports with the same ID on two switches are connected:
FSP_1.3.6.1.4.1.2011.5.25.183.1.22.9 hwStackLogicStackPortLinkErr
– Physical ports of the same logical port are connected to different devices:
FSP_1.3.6.1.4.1.2011.5.25.183.1.22.10 hwStackPhyStackPortLinkErr
l Relevant Logs
None

9.11.3 Saving the Configuration Automatically Generated for


Dedicated Cable Stacking to the Flash Memory

Context
After a stack has been set up using dedicated stack cables, the stack configuration
automatically generated will not be automatically saved to the flash memory. To ensure that
the stack configuration still takes effect when these cables are removed or other cables are
connected, save the automatically generated stack configuration to the flash memory.

NOTE

No stack configurations cannot be manually modified before the automatically generated stack configuration
is saved to the flash memory. The system displays error information: "Error: The operation failed because
there was unsaved stack configuration. Please save the stack configuration first."

Procedure
Step 1 Run the system-view command to enter the system view.

Step 2 (Optional) Run the display stack configuration command to view the stack configuration.
If there is configuration starting with a number sign (#) in the command output, this
configuration is not saved to the flash memory. In this situation, no stack configurations can
be modified.
Step 3 You can use the following methods to save the stack configuration automatically generated
for dedicated cable stacking to the flash memory.
l Run the save stack configuration or save command to save the automatically generated
stack configuration to the flash memory.
l If the switch has a configuration file, the stack configuration automatically generated for
dedicated cable stacking is saved to the flash memory after the switch is restarted with
power on.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 347


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l If ASs in an SVF system are correctly connected using dedicated stack cables, the stack
configuration automatically generated for dedicated cable stacking is saved to the flash
memory.

If dedicated stack cables are removed and the stack configuration automatically
generated for dedicated cable stacking is not saved to the flash memory, this stack
configuration is cleared.

Step 4 Run the display stack configuration command to check whether all stack configurations are
saved to the flash memory.

----End

9.12 Configuring Enhanced Stacking Functions


Table 9-29 describes the enhanced stack configurations.

Table 9-29 Enhanced stack configurations


Task Description Remarks

Configuring MAD Multi-active detection All these operations are


(MAD) detects multiple optional and can be
master switches after a stack configured in any sequence.
splits. NOTE
The MAD configuration is
Configuring a System The system MAC address recommended because it
MAC Address Switching switching delay prevents minimizes the impact of a
Delay traffic interruption during stack split on services.
switching of the stack MAC
address, and minimizes the
impact of switching on
services.

Enabling a Port Indicator Port indicators are enabled


to Show the Stack ID to show stack IDs of
member switches, which
facilitates management on
the switches.

Configuring the Reserved You can change the reserved


VLAN of the Stack VLAN of the stack and
configure services on the
default reserved VLAN.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 348


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Task Description Remarks

Configuring a Load You can configure a load


Balancing Mode for Stack balancing mode to ensure
Links that traffic is properly
distributed among multiple
stack links.
NOTE
Only the S5720HI, S6720EI,
and S6720S-EI series support
load balancing for stack links.

9.12.1 Configuring MAD

Context
MAD detects multiple master switches after a stack splits.

NOTE

You are advised to configure MAD to minimize the impact of a stack split on services.

Configuration Procedure
Table 9-30 describes the MAD configuration procedure.

Table 9-30 MAD configuration process


N Task Description Scenario Remarks
o
.

1 Config You can configure Configure MAD in direct The direct and relay
uring MAD in direct mode when member modes cannot be
MAD mode to perform switches in a stack have configured simultaneously
in MAD through idle ports. Use common in a stack.
Direct dedicated direct cables to connect these By default, MAD is not
Mode links between ports and use the ports for configured on a device.
member switches. MAD only.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 349


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

N Task Description Scenario Remarks


o
.

2 Config You can configure Configure MAD in relay


uring MAD in relay mode mode when stack Eth-
MAD to perform MAD Trunk is configured in a
in through the relay stack. In relay mode, the
Relay agent between MAD relay detection is
Mode member switches. set on Eth-Trunk ports of
the stack, and the MAD
relay function is enabled
on a relay agent. In
contrast with the direct
mode, the relay mode
does not occupy
additional ports.
The relay mode can be
implemented in two ways:
configuring a single
switch as the MAD relay
agent or configuring two
stack systems as MAD
relay agents for each
other.

3 (Optio You can configure a When MAD detects a -


nal) reserved port to stack split, multiple stacks
Config forward service compete with each other.
uring packets when a You must shut down all
Reserv stack splits. service ports on member
ed switches that fail in the
Ports competition, to avoid
MAC address or IP
address conflict.The ports
that only transparently
transmit packets do not
affect network operations
when a stack splits. You
can configure these ports
as reserved ports to ensure
normal packet
transmission on them.
MAD does not shut down
service transmission on
these ports when it detects
a stack split.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 350


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

N Task Description Scenario Remarks


o
.

4 (Optio You can restore a When MAD detects a Perform this configuration
nal) shutdown port to stack split, multiple stacks when the stack in the
Restori the Up state to compete with each other. Detect state fails. When
ng allow the stack in The stack that wins the the stack in the Detect
Shutdo the Recovery state competition remains in the state is working normally,
wn to work when the Detect state (normal do not perform this
Ports stack in the Detect working state) and the configuration.
to the state fails. stacks that fail the
Up competition enter the
State Recovery state (disabled
state). In the Recovery
state, all the service ports
except reserved ports on
member switches are shut
down, so the stacks do not
forward service packets.
You can restore shutdown
ports to the Up state so
that the stacks in
Recovery state can work
again. For example, if the
stack in Detect state fails
or is removed from the
network before the stack
fault is rectified, restore
the shutdown ports in a
stack in the Recovery state
to the Up state, so that the
stack in the Recovery state
can take over services
from the original active
stack. This minimizes the
impact of a stack fault on
services.

Guidelines
l MAD in direct mode can only be configured on Layer 2 Ethernet ports in Up state.
l You can configure a maximum of eight direct detection links for each member switch in
a stack to improve detection reliability. Ensure that one direct detection link on each
member switch in a stack works normally when multiple master switches coexist.
l MAD is a Huawei proprietary protocol, and Huawei S series switches support the MAD
relay function.
l You can configure the relay mode on a maximum of four Eth-Trunks in a stack to
improve detection reliability. Ensure that one Eth-Trunk in each stack works normally
when multiple master switches coexist.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 351


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l When configuring MAD in relay mode, ensure that member switches in a stack use
different MAC addresses. If they use the same MAC address, the proxy device cannot
forward MAD packets.

Procedure
Step 1 Configure MAD in direct or relay mode.
l Configure MAD in direct mode.
a. Run the system-view command to enter the system view.
b. Run the interface interface-type interface-number command to enter the interface
view.
c. Run the mad detect mode direct command to configure MAD in direct mode.
NOTE

– MAD packets are bridge protocol data units (BPDUs). If MAD is performed through dedicated
direct links between member switches and an intermediate device, configure port-based Layer 2
protocol transparent transmission on the intermediate device. For details, see Configuring Interface-
based Layer 2 Protocol Transparent Transmission in "Layer 2 Protocol Transparent Transmission
Configuration" in the S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide -
Ethernet Switching.
– After MAD in direct mode is configured on an interface, the STP status of the interface becomes
Discarding, affecting the transmission of data packets and some protocol packets. Therefore, do not
configure other services on this interface.
l Configure MAD in relay mode.
– Switch functioning as the relay device
n In the stack
1) Run the system-view command to enter the system view.
2) Run the interface eth-trunk trunk-id command to enter the Eth-Trunk
interface view.
3) Run the mad detect mode relay command to configure MAD in relay
mode on the Eth-Trunk.
n On the specified relay device
1) Run the system-view command to enter the system view.
2) Run the interface eth-trunk trunk-id command to enter the Eth-Trunk
interface view.
3) Run the mad relay command to enable the relay function on the Eth-
Trunk.
– Two stack systems functioning as relay of each other
n In each stack
1) Run the system-view command to enter the system view.
2) Run the mad domain domain-id command to specify the MAD domain
ID for a stack.
By default, the MAD domain ID of a stack is 0.
NOTE

Two stack systems can function as proxy of each other to implement MAD. The
two stack systems must be configured with different MAD domain IDs.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 352


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

3) Run the interface eth-trunk trunk-id command to enter the Eth-Trunk


interface view.
4) Run the mad relay command to enable the relay function on the Eth-
Trunk.
5) Run the mad detect mode relay command to configure MAD in relay
mode on the Eth-Trunk.

Step 2 Run the quit command to return to the system view.

Step 3 (Optional) Run the mad exclude interface { interface-type interface-number1 [ to interface-
type interface-number2 ] } &<1-10> command to configure specified ports in a stack as
reserved ports.

By default, only physical member ports of a stack are reserved ports, and all service ports are
non-reserved ports.

The port used for MAD does not need to be specified as a reserved port. After a stack splits,
the port used for MAD will also be shut down.

Step 4 (Optional) Run the mad restore command to restore shutdown ports to the Up state.
NOTE

Do not run this command when the stack in the Detect state is working normally. Otherwise, there will be
multiple master switches on the network after the stack in the Recovery state is enabled.
If the stack in the Detect state is merged with the stack in the Recovery state, the new stack remains in
Recovery state. You need to run the mad restore command to restore shutdown ports to the Up state.

----End

Verifying the Configuration


Run the display mad [ proxy | verbose ] command to view the MAD configuration.

9.12.2 Configuring a System MAC Address Switching Delay

Context
A stack communicates with other network devices as one device and has a unique MAC
address. This MAC address is the stack MAC address. Generally, the MAC address of the
master switch is used as the stack MAC address.

If the owner of the stack MAC address leaves the stack, switching of the stack MAC address
will cause traffic interruption. You can configure a system MAC address switching delay to
reduce the impact of switching of the stack MAC address on services.

l If the stack MAC address is the MAC address of the master switch and the master switch
fails or leaves the stack, the following may occur:
– When no system MAC address switching delay is configured, the MAC address of
the new master switch is immediately used as the stack MAC address. By default, a
system MAC address switching delay is configured and the switching delay is set to
10 minutes.
– When a system MAC address switching delay is configured, the new master switch
uses its own MAC address as the stack MAC address if the old master switch does
not rejoin the stack within the switching delay; the stack MAC address remains

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 353


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

unchanged if the old master switch rejoins the stack as a slave switch within the
switching delay.
l If the stack MAC address is the MAC address of a slave switch, the MAC address of the
master switch is used as the stack MAC address after the slave switch leaves the stack
and does not rejoin the stack within the switching delay.

Procedure
Step 1 Run the system-view command to enter the system view.

Step 2 Run the stack timer mac-address switch-delay delay-time command to configure a system
MAC address switching delay.
By default, the system MAC address switching delay is 10 minutes.
When the delay time is set to 0, the stack MAC address will not change after the owner of the
stack MAC address leaves the stack. If you run the undo stack timer mac-address switch-
delay command, the stack MAC address will change immediately after the owner of the stack
MAC address leaves the stack.

When the system is configured to switch the system MAC address immediately, the system
uses the MAC address of the new master switch as the system MAC address immediately
when the previous master switch fails or leaves the stack. This may cause protocols such as
LACP and STP to flap, affecting services.

----End

Verifying the Configuration


l Run the display stack configuration command to check the configured system MAC
address switching delay.

9.12.3 Enabling a Port Indicator to Show the Stack ID


Context
The master switch can assign stack IDs to member switches once a stack is established. You
can also configure stack IDs for member switches. If stack IDs are assigned by the master
switch, it is difficult to match a stack ID with a corresponding member switch. In this case,
you can enable a port indicator to show the stack ID of a member switch.
When checking the stack ID of a member switch, note the following:
l Switch with a stack ID ranging from 1 to 8: The sequence number of the port indicator
that is steady on indicates the stack ID of the switch. For example, if the first port
indicator is steady on, the stack ID is 1. If the second port indicator is steady on, the
stack ID is 2.
l Switch with stack ID 0: If the first nine port indicators are steady on, the stack ID of the
local switch is 0.
l After port indicators are configured to show the stack IDs, the port indicator of the
master switch blinks, and the port indicator of the slave switch is steady on.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 354


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

On the S5700-28X-LI-24S-DC, S5701-28X-LI-24S-AC, and S5700-28X-LI-24S-AC, if a physical port


is shut down by the shutdown command or by the MAD mechanism after the CSS splits, the
corresponding port indicator is off and cannot indicate the stack ID of the local switch.

Procedure
Step 1 Run the stack led enable [ duration duration-value ] command to enable port indicators to
show stack IDs of member switches.
By default, port indicators do not show stack IDs of member switches.

NOTE

This command can be executed only when the MODE button is not pressed on the switch to change the
indicator mode.
The configuration of this command becomes invalid when port indicators show stack IDs of member
switches for the specified time.

----End

9.12.4 Configuring the Reserved VLAN of the Stack


Context
By default, a stack uses VLAN 4093 as the reserved VLAN. A reserved VLAN is used to
exchange stack protocol packets only. If you need to use VLAN 4093 to deploy services, you
can change the reserved VLAN with the commands used in the following procedure.
NOTE

The reserved VLAN of a stack cannot be used to deploy other services. If the reserved VLAN is
occupied, a stack cannot be established successfully. You can run the undo vlan vlan-id command to
delete the occupied VLAN or run the following commands to configure another VLAN as the stack's
reserved VLAN.

Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the stack reserved-vlan vlan-id command to configure a reserved VLAN for a stack.
By default, a stack uses VLAN 4093 as the reserved VLAN.

----End

Verifying the Configuration


l Run the display stack configuration command to check the configured reserved VLAN
for a stack.

9.12.5 Configuring a Load Balancing Mode for Stack Links


Context
In service port stacking, multiple stack links exist between member switches when a logical
stack port is bound to multiple physical member ports. You can configure a load balancing

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 355


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

mode for stack links to prevent traffic congestion by ensuring that outgoing traffic is properly
distributed to multiple stack links. Configure a load balancing mode in the system view or
logical stack port view based on the source IP address, destination IP address, source MAC
address, destination MAC address carried in packets, or a combination of these factors.
l The load balancing mode configured in the system view applies to all logical stack ports.
l The load balancing mode configured in the logical stack port view applies to that port
only.
l A logical stack port gives preference to the load balancing mode configured in the
logical stack port view. If no load balancing mode is configured in the logical stack port
view, the port uses the mode configured in the system view.
You can run the display stack-port command to view the load balancing mode on a logical
stack port.

NOTE

Only the S5720HI, S6720EI, and S6720S-EI series support load balancing for stack links.
On the S5720HI, this command can only be configured in the system view.

Procedure
l Configure a global load balancing mode.
a. Run the system-view command to enter the system view.
b. Run the stack-port load-balance mode { dst-ip | dst-mac | src-dst-ip | src-dst-
mac | src-ip | src-mac } command to configure a global load balancing mode.
By default, the global load balancing mode is ENHANCED.
l Configure a load balancing mode on a logical stack port.
a. Run the system-view command to enter the system view.
b. Run the interface stack-port member-id/port-id command to enter the logical stack
port view.
c. Run the stack-port load-balance mode { dst-ip | dst-mac | src-dst-ip | src-dst-
mac | src-ip | src-mac } command to configure a load balancing mode for the
logical stack port.
By default, the load balancing mode of a logical stack port is ENHANCED.
----End

Verifying the Configuration


l Run the display stack-port global load-balance or display stack-port load-balance
command to the view load balancing mode on a logical stack port.
NOTE

Only the S5720HI, S6720EI, and S6720S-EI series support load balancing for stack links.
On the S5720HI, this command can only be configured in the system view.

9.12.6 Enabling the Stack Port Error-Down Function


Context
In a stack system, if a stack port continuously receives CRC error packets or flaps between Up
and Down states, the corresponding stack link cannot forward traffic normally, thereby

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 356


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

affecting network services. The stack port error-down function can shut down a stack port and
switch traffic to other stack links if the rate of received CRC error packets or the number of
Up/Down transitions on the stack port reaches the specified threshold. This reduces the
impact of a stack port error-down event on network services. Additionally, the system
generates stack port error-down alarms to help in fault location.
When one end is a stack port and the other end is a service port, the system does not set the
stack port to error-down state or generate an error-down alarm even if this stack port
continuously receives CRC error packets.

Procedure
Step 1 Run the stack port { crc | link-flap } trigger error-down command to enable the stack port
error-down function.
By default, the stack port error-down function is enabled.
Step 2 Set stack port error-down parameters.
l Run the stack port { crc | link-flap } trigger { threshold threshold | interval interval }
*command to set the stack port error-down alarm threshold and check interval.
By default, the stack port error-down alarm threshold is 10 times per minute, and the
check interval is 3 minutes. That is, the system will set a stack port to error-down state
and generate an error-down alarm in the following condition: The stack port receives 10
CRC error packets per minute or alternates between Up and Down states 10 times per
minute, and this condition lasts for 3 minute.
l Run the stack port { crc | link-flap } trigger error-down auto-recovery-interval auto-
recovery-interval command to set the stack port error-down alarm clearance interval.
By default, the alarm clearance interval is 0, which means that a stack port error-down
alarm will not be cleared automatically after it is printed.

----End

Verifying the Configuration


l Run the display current-configuration | include stack command to view the stack port
error-down function configuration.

9.13 Maintaining Stacks

9.13.1 Monitoring the Stack Status

Procedure
l Run the display stack command to check information about member switches.
l Run the display stack peers command to check information about the neighbors of a
member switch in the stack.
l Run the display stack port [ brief | slot slot-id ] command to check information about
stack ports.
l Run the display stack configuration [ slot slot-id ] command to check the stack
commands that have been executed in the stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 357


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l Run the display stack channel [ all | slot slot-id ] command to check stack link
connections and status.
----End

9.13.2 Enabling/Disabling Stack Traps

Context
After you enable stack traps on the switch, the switch sends trap messages to the network
management system (NMS) when the stack status changes. By default, all stack traps are
enabled. You can use commands to disable all or specified stack traps. Then the switch no
longer sends these traps to the NMS.
To check the status (enabled or disabled) of stack traps, run the display snmp-agent trap
feature-name stack all command.
NOTE

Disabling the satack traps is not recommended.

Procedure
l Enable stack traps.
Run the snmp-agent trap enable feature-name stack [ trap-name trap-name ]
command to enable a specified stack trap or all stack traps.
l Disable stack traps.
Run the undo snmp-agent trap enable feature-name stack [ trap-name trap-name ]
command to disable a specified stack trap or all stack traps.
----End

9.13.3 Performing a Master/Standby Switchover

Context
If you want another switch in the stack to be the master switch, perform a master/standby
switchover to change a standby switch to the new master switch.
After the master/standby switchover is complete, the role of each member switch in the stack
changes as shown in Figure 9-39.

Figure 9-39 Role changes of member switches in the stack

SwitchA SwitchA
(Master) (Slave)

Switchover

Stack1 Stack2

SwitchC SwitchB SwitchC SwitchB


(Slave) (Standby) (Standby) (Master)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 358


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

l The original standby switch becomes the master switch.


l The new master switch assigns a specified switch as the standby switch.
l The original master switch restarts and rejoins the stack and becomes a slave switch.

Procedure
Step 1 (Optional) Run the display switchover state command to check whether the stack meets
requirements for a switchover.
Step 2 Run the system-view command to enter the system view.

Step 3 Run the slave switchover enable command to enable master/standby switchover.
By default, master/standby switchover is enabled.
Step 4 Run the slave switchover command to perform a master/standby switchover.

----End

9.13.4 Upgrading Stack Software

Context
Two methods are available to upgrade stack software: traditional upgrade and smooth
upgrade. Table 9-31 compares the two upgrade methods.

Table 9-31 Comparison of traditional and smooth upgrade methods


Upgrade Method Command Application Master Switch
Scenario After the Upgrade

Traditional upgrade reboot All member The switch with a


switches in the stack high stack priority
must restart during a becomes the master
traditional upgrade. switch. If switches
This upgrade have the same
method causes priority, the switch
service interruption with a small MAC
for a relatively long address becomes the
period of time and is master switch.
appropriate for use
in scenarios
insensitive to the
service interruption
time.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 359


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Upgrade Method Command Application Master Switch


Scenario After the Upgrade

Smooth upgrade l upgrade Member switches in After the upgrade,


backup-area a stack can be the master switch
slot slot-id to divided into an must be located in
slot-id active area and a the backup area.
l upgrade start backup area that
back up each other.
Member switches in
the two areas are
upgraded in turn.
During the upgrade
of an area, traffic is
transmitted through
the other area,
minimizing the
impact of the
upgrade on services.
This upgrade
method is
appropriate for use
in scenarios
sensitive to the
service interruption
time. The stack and
networking must
meet the following
requirements:
l The uplinks and
downlinks work
in redundancy
mode.
l The system
software for the
next startup
supports the
smooth upgrade
function.
l Member
switches in the
stack are running
the same system
software, with
the same
software package
name, version,
and path.
l Member
switches in the
stack all have the

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 360


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Upgrade Method Command Application Master Switch


Scenario After the Upgrade

same system
software for the
next startup, with
the same
software package
name, version,
and path.

Procedure
l Traditional upgrade
a. Upload system software to the master switch in the stack. For details on how to
upload files, see File Management in the S1720, S2700, S5700, and S6720
V200R011C10 Configuration Guide - Basic Configuration.
b. Run the startup system-software system-file all command to set the next startup
software for all member switches in the stack.
c. Run the reboot command to upgrade the stack by restarting the entire system.
l Smooth upgrade
a. Upload system software to all the member switches in the stack. Ensure that all
member switches have the same system software, with the same software package
name, version, and path. For details on how to upload files, see File Management in
the S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Basic
Configuration.
b. Run the startup system-software system-file all command to set the next startup
software for all member switches in the stack.
c. Run the system-view command to enter the system view.
d. Run the upgrade backup-area slot slot-id to slot-id command to define the active
and backup areas for a smooth upgrade.
The member switches with stack IDs in the specified range join the backup area,
and the other member switches automatically join the active area.
NOTE

Follow these rules to define the active and backup areas in a stack:
l The active and backup areas cannot have the same member switch, and both areas must
have at least one member switch.
l The backup area cannot contain the master switch of the stack.
l Member switches in each area must be directly connected.
l Member switches in the active and backup areas form the entire stack.
e. (Optional) Run the display upgrade area command to check whether the
configured areas meet the requirements of the current stack topology.

If the stack topology changes after the areas are configured, the smooth upgrade
will fail. To avoid this problem, check the area configuration before starting a
smooth upgrade. If the areas fail the check, define the active and backup areas
correctly according to the current stack topology.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 361


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

f. Run the upgrade start command to enable smooth upgrade.


g. (Optional) Run the display upgrade state [ slot slot-id ] command to check the
smooth upgrade status.

----End

9.14 Splitting a Stack

Context
If a stack is no longer used, you can split the stack into standalone switches. A split process
includes the following steps.
1. Back up the stack configuration file.
2. Remove stack cables.
3. Restore the default stack configuration.
4. Power off all the member switches.
5. Remove the stack card. (This step is required only in stack card stacking.)

Procedure
l Splitting a stack established with stack card connections
a. Run the save command to save the configuration.
b. Run the copy source-filename destination-filename all command to back up the
configuration file to all the member switches, so that you can use the configuration
file when you set up a stack the next time.
c. Remove the stack cables between the member switches. After you remove the stack
cables, the stack splits and some member switches restart. The remote login may
fail because some configurations of member switches such as the IP address are the
same. Log in to a switch through the console port to perform configurations.
d. Run the system-view command to enter the system view.
e. Run the stack slot slot-id renumber 0 command to restore the stack ID of a
member switch to the default value 0.
f. Power off all the member switches.
g. Remove the stack card.
l Splitting a stack established through service port connections (using ordinary and
dedicated cables)
a. Run the save command to save the configuration.
b. Run the copy source-filename destination-filename all command to back up the
configuration file to all the member switches, so that you can use the configuration
file when you set up a stack the next time.
c. Remove the stack cables between the member switches. After you remove the stack
cables, the stack splits and some member switches restart. The remote login may
fail because some configurations of member switches such as the IP address are the
same. Log in to a switch through the console port to perform configurations.
d. Run the system-view command to enter the system view.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 362


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

e. Run the reset stack configuration command to clear the stack configuration.
The cleared stack configuration includes: switch slot ID, stack priority, stack
reserved VLAN, stack MAC address switching delay, stack port configuration, and
stack port rate configuration. Running this command will restart the switch.
f. Power off all the member switches.
----End

9.15 Configuration Examples for Stacks

9.15.1 Example for Establishing a Stack Using Stack Card


Connections

Networking Requirements
An enterprise network needs to provide a sufficient number of ports to access devices, but a
simple network structure is required to facilitate configuration and maintenance.
As shown in Figure 9-40, SwitchA, SwitchB, and SwitchC need to set up a stack with a ring
topology and connect to SwitchD through inter-device Eth-Trunks. SwitchA, SwitchB, and
SwitchC are the master, standby, and slave switches respectively, with stack IDs of 0, 1, and 2
and stack priorities of 200, 100, and 100. As they function as a single logical device on the
network, the number of ports increases while keeping network management and maintenance
relatively simple.
The S5720-C-EI series switches are used on the network and can set up a stack using stack
card connections.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 363


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-40 Networking with a stack established

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


STACK 1 STACK 2
STACK 2 STACK 1
STACK 2 STACK 1

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Power off the switches, install one ES5D21VST000 stack card on each switch, and
power on the switches.
2. Configure stack IDs and stack priorities for member switches to facilitate management.
3. Power off SwitchA, SwitchB, and SwitchC. Connect stack ports using QSFP+ cables
according to Figure 9-40 and power on the switches.
4. Configure inter-device Eth-Trunks to increase reliability and uplink bandwidth.

NOTE

When connecting stack cables, connect STACK1 port of one switch to STACK2 port of another switch.
If SwitchA, SwitchB, and SwitchC are different switch models, these models must be able to set up a
stack together. For details, see Licensing Requirements and Limitations for Stacks.
During a stack setup, the software version used by the master switch takes effect, and the standby and
slave switches synchronize their software versions with the software version of the master switch.

Procedure
Step 1 Install the ES5D21VST000 stack card.
Install the ES5D21VST000 stack card on SwitchA, SwitchB, and SwitchC. For details on
how to install a stack card, see 9.9.1 Installing a Stack Card.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 364


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Step 2 To help identify devices, set device names as SwitchA, SwitchB, and SwitchC. The following
uses SwitchA as an example.
<HUAWEI> system-view
[HUAWEI] sysname SwitchA

Step 3 Configure stack IDs and stack priorities.


# Set the stack priority of SwitchA to 200.
[SwitchA] stack slot 0 priority 200
Warning:Please do not frequently modify Priority because it will make the stack
split. Continue? [Y/N]:y

# Set the stack ID of SwitchB to 1.


[SwitchB] stack slot 0 renumber 1
Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Please do not frequently modify slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

# Set the stack ID of SwitchC to 2.


[SwitchC] stack slot 0 renumber 2
Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Please do not frequently modify slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

Step 4 Power off SwitchA, SwitchB, and SwitchC, connect stack ports using QSFP+ cables, and
power them on.
NOTE

l Run the save command to save the configurations before you power off the switches.
l The STACK1 port of one switch must be connected to the STACK2 port of another switch.
Otherwise, the stack cannot be set up.
l To ensure that the stack has been successfully established, connect and power on the switches in the
following sequence. (To specify a member switch as the master switch, power on that switch first. In
this example, SwitchA is the master switch.)
1. Power off SwitchA, SwitchB, and SwitchC.
2. Connect SwitchA and SwitchB with a stack cable.
3. Power on and start SwitchA and then power on SwitchB.
4. Check whether SwitchA and SwitchB have set up a stack successfully. For the verification
method, see 9.9.5 Checking Whether a Stack Has Been Established Through Stack Card
Connections.
5. Connect SwitchC to SwitchB and SwitchA using stack cables and then power on SwitchC.
6. Check whether SwitchA, SwitchB, and SwitchC have set up a stack successfully. For the
verification method, see 9.9.5 Checking Whether a Stack Has Been Established Through
Stack Card Connections.

Step 5 Configure inter-device Eth-Trunks.


Configure inter-device Eth-Trunk uplinks for the stack. For the detailed configuration process,
see 9.15.6 Example for Configuring Stack Eth-Trunks.
Step 6 Verify the configuration.
# Check basic stack information.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 365


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

<SwitchA> display stack


Stack mode: Card
Stack topology type: Ring
Stack system MAC: 0200-0000-01ab
MAC switch delay time: 10 min
Stack reserved vlan: 4093
Slot of the active management port: 0
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0200-0000-01ab 200 S5720-36C-EI-AC
1 Standby 0200-0000-0000 100 S5720-36C-EI-AC
2 Slave 0200-0000-02aa 100 S5720-36C-EI-AC

----End

Configuration Files
None

9.15.2 Example for Establishing a Stack Through Service Port


Connections Using Ordinary Stack Cables

Networking Requirements
An enterprise network needs to provide a sufficient number of ports to access devices, but a
simple network structure is required to facilitate configuration and maintenance.
As shown in Figure 9-41, SwitchA, SwitchB, and SwitchC need to set up a stack with a ring
topology and connect to SwitchD through inter-device Eth-Trunks. SwitchA, SwitchB, and
SwitchC are the master, standby, and slave switches respectively, with stack IDs of 0, 1, and 2
and stack priorities of 200, 100, and 100. As they function as a single logical device on the
network, the number of ports increases while keeping network management and maintenance
relatively simple.
The S5700-LI series switches are used on the network and can set up a stack using service
port connections.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 366


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-41 Networking with a stack established

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/28 GE0/0/27
GE0/0/27 GE0/0/28
GE0/0/27 GE0/0/28

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Configure logical stack ports and add physical member ports to the corresponding logical
stack ports to enable packet forwarding between member switches.
2. Configure stack IDs and stack priorities for member switches to facilitate management.
3. Power off SwitchA, SwitchB, and SwitchC. Connect physical member ports using SFP+
stack cables according to Figure 9-41 and power on the switches.
4. Configure inter-device Eth-Trunks to increase reliability and uplink bandwidth.
NOTE

Physical member ports in stack-port n/1 of one switch can only be connected to the ports in stack-port
m/2 of a neighboring switch.
If SwitchA, SwitchB, and SwitchC are different switch models, these models must be able to set up a
stack together. For details, see Licensing Requirements and Limitations for Stacks.
During a stack setup, the software version used by the master switch takes effect, and the standby and
slave switches synchronize their software versions with the software version of the master switch.

Procedure
Step 1 Configure logical stack ports and add physical member ports to them.
# Configure the service ports GigabitEthernet0/0/27 and GigabitEthernet0/0/28 on SwitchA as
physical member ports and add them to the corresponding logical stack ports.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 367


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

<HUAWEI> system-view
[HUAWEI] sysname SwitchA
[SwitchA] interface stack-port 0/1
[SwitchA-stack-port0/1] port interface gigabitethernet 0/0/27 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchA-stack-port0/1] quit
[SwitchA] interface stack-port 0/2
[SwitchA-stack-port0/2] port interface gigabitethernet 0/0/28 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchA-stack-port0/2] quit

# Configure the service ports GigabitEthernet0/0/27 and GigabitEthernet0/0/28 on SwitchB as


physical member ports and add them to the corresponding logical stack ports.
<HUAWEI> system-view
[HUAWEI] sysname SwitchB
[SwitchB] interface stack-port 0/1
[SwitchB-stack-port0/1] port interface gigabitethernet 0/0/27 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchB-stack-port0/1] quit
[SwitchB] interface stack-port 0/2
[SwitchB-stack-port0/2] port interface gigabitethernet 0/0/28 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchB-stack-port0/2] quit

# Configure the service ports GigabitEthernet0/0/27 and GigabitEthernet0/0/28 on SwitchC as


physical member ports and add them to the corresponding logical stack ports.
<HUAWEI> system-view
[HUAWEI] sysname SwitchC
[SwitchC] interface stack-port 0/1
[SwitchC-stack-port0/1] port interface gigabitethernet 0/0/27 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchC-stack-port0/1] quit
[SwitchC] interface stack-port 0/2
[SwitchC-stack-port0/2] port interface gigabitethernet 0/0/28 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchC-stack-port0/2] quit

Step 2 Configure stack IDs and stack priorities.


# Set the stack priority of SwitchA to 200.
[SwitchA] stack slot 0 priority 200
Warning: Please do not frequently modify Priority because it will make the stack
split. Continue? [Y/N]:y

# Set the stack ID of SwitchB to 1.


[SwitchB] stack slot 0 renumber 1
Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Please do not frequently modify slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

# Set the stack ID of SwitchC to 2.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 368


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

[SwitchC] stack slot 0 renumber 2


Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Please do not frequently modify slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

Step 3 Power off SwitchA, SwitchB, and SwitchC, connect them using SFP+ stack cables, and then
power the switches on.
NOTE

l Run the save command to save the configurations before you power off the switches.
l stack-port 0/1 of one switch must be connected to stack-port 0/2 of a neighboring switch. Otherwise,
the stack cannot be set up.
l To ensure that the stack has been successfully established, connect and power on the switches in the
following sequence. (To specify a member switch as the master switch, power on that switch first. In
this example, SwitchA is the master switch.)
1. Power off SwitchA, SwitchB, and SwitchC.
2. Connect SwitchA and SwitchB with a stack cable.
3. Power on and start SwitchA and then power on SwitchB.
4. Check whether SwitchA and SwitchB have set up a stack successfully. For the verification
method, see 9.10.4 Checking Whether a Stack Is Established Through Service Port
Connections.
5. Connect SwitchC to SwitchB and SwitchA using stack cables and then power on SwitchC.
6. Check whether SwitchA, SwitchB, and SwitchC have set up a stack successfully. For the
verification method, see 9.10.4 Checking Whether a Stack Is Established Through Service
Port Connections.

Step 4 Configure inter-device Eth-Trunks.


Configure inter-device Eth-Trunk uplinks for the stack. For the detailed configuration process,
see 9.15.6 Example for Configuring Stack Eth-Trunks.
Step 5 Verify the configuration.
# Check basic stack information.
[SwitchA] display stack
Stack mode: Service-port
Stack topology type : Ring
Stack system MAC: 0018-82d2-2e85
MAC switch delay time: 10 min
Stack reserved vlan : 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82d2-2e85 200 S5700-28P-LI-AC
1 Standby 0018-82c6-1f44 100 S5700-28P-LI-AC
2 Slave 0018-82c6-1f4c 100 S5700-28P-LI-AC

----End

Configuration Files
None

9.15.3 Example for Establishing a Stack Through Service Port


Connections Using Dedicated Stack Cables

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 369


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Networking Requirements
An enterprise network needs to provide sufficient ports for access devices, and the network
structure should be simple to facilitate configuration and management.

As shown in Figure 9-42, Switches A to C set up a stack in a ring topology and connect to
SwitchD through an inter-chassis Eth-Trunk. To reduce the configuration, Switches A to C set
up a stack using dedicated stack cables. In the stack, SwitchA needs to function as the master
switch.

Figure 9-42 Stack topology

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/27 GE0/0/26
GE0/0/26 GE0/0/27
GE0/0/26 GE0/0/27

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Power off SwitchA, SwitchB, and SwitchC to ensure security.
2. Connect the switches using dedicated stack cables based on dedicated stack cable
connection rules.
3. Power on SwitchA first to ensure that it becomes the master switch.
4. Save the stack configuration automatically generated for dedicated cable stacking to the
flash memory. This ensures that the stack configuration still takes effect when these
cables are removed or other cables are connected.
5. Configure an inter-chassis Eth-Trunk to increase reliability and uplink bandwidth.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 370


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Procedure
Step 1 Power off SwitchA, SwitchB, and SwitchC.

Step 2 Connect SwitchA, SwitchB, and SwitchC using dedicated stack cables as shown in Figure
9-43. Ensure that logical stack port 1 of the local switch is connected to logical stack port 2 of
the adjacent switch. Otherwise, these switches cannot set up a stack.

Figure 9-43 Dedicated stack cable connection


GE0/0/26 Logical stack
port 2

SwitchA
Logical stack port 1 GE0/0/27
Logical stack
GE0/0/26 port 2

SwitchB
Logical stack port 1 GE0/0/27
Logical stack
GE0/0/26 port 2

SwitchC

Logical stack port 1 GE0/0/27

Indicates the master end with the


Master tag of a dedicated stack cable

Step 3 Power on SwitchA, SwitchB, and SwitchC.


# Power on the switches in the following sequence to ensure that SwitchA becomes the
master switch.
1. Power on SwitchA first.
2. Power on SwitchB after SwitchA starts.
3. Power on SwitchC after SwitchB starts.
Step 4 Check whether a stack has been set up successfully.
[SwitchA] display stack
Stack mode: Service-port
Stack topology type : Ring
Stack system MAC: 0018-82d2-2e85
MAC switch delay time: 10 min
Stack reserved vlan : 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82d2-2e85 100 S5720-28P-LI-AC
1 Standby 0018-82c6-1f44 100 S5720-28P-LI-AC
2 Slave 0018-82c6-1f4c 100 S5720-28P-LI-AC

Step 5 Save the stack configuration automatically generated for dedicated cable stacking to the flash
memory.
# After checking that a stack has been set up, save the stack configuration automatically
generated for dedicated cable stacking to the flash memory.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 371


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

[SwitchA] save stack configuration


Warning: This operation will save all stack configurations to flash. Are you sure
you want to continue? [Y/N]:y

Step 6 Configure an inter-chassis Eth-Trunk.


# Configure an inter-chassis Eth-Trunk on uplink ports for the stack. For details, see 9.15.6
Example for Configuring Stack Eth-Trunks.

----End

Configuration files
None

9.15.4 Example for Configuring MAD in Direct Mode

Networking Requirements
As shown in Figure 9-44, SwitchA and SwitchB set up a stack. The stack IDs of SwitchA and
SwitchB are 0 and 1 respectively.

MAD can be used to detect dual master switches with the same configuration on the network
to reduce the impact of a stack split on the network.

Figure 9-44 Networking of DAD in direct mode

SwitchC

Stack
SwitchA SwitchB
GE0/0/5 GE1/0/5

MAD Link

Stack Link

Common Link

Configuration Roadmap
The configuration roadmap is as follows:

l Configure MAD in direct mode on a specified port.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 372


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Procedure
Step 1 Configure MAD in direct mode on a specified port.

# Configure MAD in direct mode on GigabitEthernet0/0/5.


<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] mad detect mode direct
Warning: This command will block the port, and no other configuration running on
this port is recommended. Continue?[Y/N]:y
[HUAWEI-GigabitEthernet0/0/5] quit
[HUAWEI] quit

# Configure MAD in direct mode on GigabitEthernet1/0/5.


<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/5
[HUAWEI-GigabitEthernet1/0/5] mad detect mode direct
Warning: This command will block the port, and no other configuration running on
this port is recommended. Continue?[Y/N]:y
[HUAWEI-GigabitEthernet1/0/5] quit
[HUAWEI] quit

Step 2 Verify the configuration.

# Check detailed MAD configuration of the stack.


<HUAWEI> display mad verbose
Current MAD domain: 0
Current MAD status: Detect
Mad direct detect interfaces configured:
GigabitEthernet0/0/5
GigabitEthernet1/0/5
Mad relay detect interfaces configured:
Excluded ports(configurable):
Excluded ports(can not be configured):
GigabitEthernet0/0/27
GigabitEthernet1/0/27

Step 3 Verify the MAD function.

After the MAD function has been configured successfully:


l The system can generate an alarm of MAD_1.3.6.1.4.1.2011.5.25.246.1.1
hwMadConflictDetect if the stack splits.
l When the stack recovers, the system generates an alarm of
MAD_1.3.6.1.4.1.2011.5.25.246.1.2 hwMadConflictResume.

If no service is configured in the stack, perform the following steps to check whether the
MAD function has been configured successfully:

1. Enable the alarm display function in the user view.


<HUAWEI> terminal monitor
<HUAWEI> terminal trapping

2. Simulate a stack split situation by removing some stack cables. If the stack is set up
through service port connections, you can also run the shutdown interface command to
shut down some physical member ports in the logical stack port view.
3. After the stack splits, you can see the following alarm on the terminal: MAD/4/
MULTIACTIVEDETECTED(t):OID 1.3.6.1.4.1.2011.5.25.246.1.1 Multi-active
scenario is detected.
4. Check whether the number of member switches decreases.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 373


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Run the display device command, and you can see that the number of member switches
decreases from 2 to 1. (In this example, the member switches are S5700-28P-LI-AC.)
<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master

5. The preceding operations verify that the MAD function has been configured
successfully.
6. Connect the stack cables again or run the undo shutdown command to enable the
physical member ports, so that the stack can be set up again.
7. After the stack is set up again, you can see the following alarm on the terminal: MAD/4/
MULTIACTIVEMERGE(t):OID 1.3.6.1.4.1.2011.5.25.246.1.2 Multi-active scenario
is merged.
8. Check whether the number of member switches restores to the original value.

Run the display device command, and you can see that the number of member switches
changes to 2. (In this example, the member switches are S5700-28P-LI-AC.)
<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master
1 - S5700-28P-LI Present PowerOn Registered Normal
Standby

----End

Configuration Files
l Stack configuration file
#
interface GigabitEthernet0/0/5
mad detect mode direct
#
interface GigabitEthernet1/0/5
mad detect mode direct
#
return

9.15.5 Example for Configuring MAD in Relay Mode

Configuration Requirements
As shown in Figure 9-45, SwitchA, SwitchB, and SwitchC set up a stack and they connect to
SwitchD through Eth-Trunk1.

MAD can be used to detect dual master switches with the same configuration on the network
to reduce the impact of a stack split on the network.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 374


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-45 Networking of MAD in relay mode

Network

SwitchD
GE0/0/1 GE0/0/3
GE0/0/2

Eth-Trunk1

GE0/0/5 Stack GE1/0/5 GE2/0/5


SwitchA SwitchB SwitchC

MAD Link

Stack Link

Common Link

Configuration Roadmap
The configuration roadmap is as follows:
1. On the stack, configure MAD in relay mode on the inter-device Eth-Trunk.
2. On the relay agent, configure the MAD relay function so that MAD packets can be
forwarded through the Eth-Trunk.

Procedure
Step 1 On the stack, configure MAD in relay mode on the inter-device Eth-Trunk.
<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mad detect mode relay
[HUAWEI-Eth-Trunk1] quit
[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] eth-trunk 1
[HUAWEI-GigabitEthernet0/0/5] quit
[HUAWEI] interface gigabitethernet 1/0/5
[HUAWEI-GigabitEthernet1/0/5] eth-trunk 1
[HUAWEI-GigabitEthernet1/0/5] quit
[HUAWEI] interface gigabitethernet 2/0/5
[HUAWEI-GigabitEthernet2/0/5] eth-trunk 1
[HUAWEI-GigabitEthernet2/0/5] quit
[HUAWEI] quit

Step 2 Configure the MAD relay function on the relay agent.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 375


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

<HUAWEI> system-view
[HUAWEI] sysname SwitchD
[SwitchD] interface eth-trunk 1
[SwitchD-Eth-Trunk1] mad relay
[SwitchD-Eth-Trunk1] quit
[SwitchD] interface gigabitethernet 0/0/1
[SwitchD-GigabitEthernet0/0/1] eth-trunk 1
[SwitchD-GigabitEthernet0/0/1] quit
[SwitchD] interface gigabitethernet 0/0/2
[SwitchD-GigabitEthernet0/0/2] eth-trunk 1
[SwitchD-GigabitEthernet0/0/2] quit
[SwitchD] interface gigabitethernet 0/0/3
[SwitchD-GigabitEthernet0/0/3] eth-trunk 1
[SwitchD-GigabitEthernet0/0/3] quit
[SwitchD] quit

Step 3 Verify the configuration.


# Check detailed MAD configuration of the stack.
<HUAWEI> display mad verbose
Current MAD domain: 0
Current MAD status: Detect
Mad direct detect interfaces configured:
Mad relay detect interfaces configured:
Eth-Trunk1
Excluded ports(configurable):
Excluded ports(can not be configured):
GigabitEthernet0/0/26
GigabitEthernet0/0/27
GigabitEthernet1/0/26
GigabitEthernet1/0/27
GigabitEthernet2/0/26
GigabitEthernet2/0/27

# Check MAD relay configuration on SwitchD.


<SwitchD> display mad proxy
Mad relay interfaces configured:
Eth-Trunk1

Step 4 Verify the MAD function.


After the MAD function has been configured successfully:
l The system can generate an alarm of MAD_1.3.6.1.4.1.2011.5.25.246.1.1
hwMadConflictDetect if the stack splits.
l When the stack recovers, the system generates an alarm of
MAD_1.3.6.1.4.1.2011.5.25.246.1.2 hwMadConflictResume.
If no service is configured in the stack, perform the following steps to check whether the
MAD function has been configured successfully:
1. Enable the alarm display function in the user view.
<HUAWEI> terminal monitor
<HUAWEI> terminal trapping

2. Simulate a stack split situation by removing the stack cables that connect SwitchB to
SwitchC and SwitchC to SwitchA. If the stack is set up through service port connections,
you can also run the shutdown interface command to shut down the physical member
ports in the logical stack port view that connect SwitchB to SwitchC and SwitchC to
SwitchA.
3. After the stack splits, you can see the following alarm on the terminal: MAD/4/
MULTIACTIVEDETECTED(t):OID 1.3.6.1.4.1.2011.5.25.246.1.1 Multi-active
scenario is detected.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 376


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

4. Check whether the number of member switches decreases.


Run the display device command, and you can see that the number of member switches
decreases from 3 to 2. (In this example, the member switches are S5700-28P-LI-AC.)
<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master
1 - S5700-28P-LI Present PowerOn Registered Normal
Standby

5. The preceding operations verify that the MAD function has been configured
successfully.
6. Connect the stack cables again or run the undo shutdown command to enable the
physical member ports, so that the stack can be set up again.
7. After the stack is set up again, you can see the following alarm on the terminal: MAD/4/
MULTIACTIVEMERGE(t):OID 1.3.6.1.4.1.2011.5.25.246.1.2 Multi-active scenario
is merged.
8. Check whether the number of member switches restores to the original value.
Run the display device command, and you can see that the number of member switches
changes to 3. (In this example, the member switches are S5700-28P-LI-AC.)
<HUAWEI> display device
S5700-28P-LI-AC's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
0 - S5700-28P-LI Present PowerOn Registered Normal
Master
1 - S5700-28P-LI Present PowerOn Registered Normal
Standby
2 - S5700-28P-LI Present PowerOn Registered Normal Slave

----End

Configuration Files
l Stack configuration file
#
interface Eth-Trunk1
mad detect mode relay
#
interface GigabitEthernet0/0/5
eth-trunk 1
#
interface GigabitEthernet1/0/5
eth-trunk 1
#
interface GigabitEthernet2/0/5
eth-trunk 1
#
return

l SwitchD configuration file


#
sysname SwitchD
#
interface Eth-Trunk1
mad relay

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 377


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

#
interface GigabitEthernet0/0/1
eth-trunk 1
#
interface GigabitEthernet0/0/2
eth-trunk 1
#
interface GigabitEthernet0/0/3
eth-trunk 1
#
return

9.15.6 Example for Configuring Stack Eth-Trunks


Networking Requirements
To simplify network structure and prevent network loops, SwitchA and SwitchB set up a stack
to connect to upstream and downstream devices. The customer wants to expand the uplink
bandwidth and requires that member switches in the stack back up each other to improve
reliability.
As shown in Figure 9-46, a stack Eth-Trunk can be configured for uplink ports of the stack to
expand the uplink bandwidth. SwitchC and SwitchD are dual homed to the stack to improve
reliability, and stack Eth-Trunks can be configured for downlink ports of the stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 378


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-46 Networking for stack Eth-Trunk configuration

Network

SwitchE
GE0/0/1 GE0/0/2

Eth-Trunk 10

GE1/0/4 Stack GE2/0/4

SwitchA GE
SwitchB
1/0 /5
GE1/0/3 /5 2/0
GE GE2/0/3

Eth-Trunk 20 Eth-Trunk 30
GE0/0/2 GE0/0/2
GE0/0/1 GE0/0/1
SwitchC SwitchD

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Configure a stack Eth-Trunk between the stack and its upstream device and add physical
member ports to the Eth-Trunk to expand the uplink bandwidth.
2. Configure stack Eth-Trunks between the stack and its downstream devices and add
physical member ports to the Eth-Trunks, so that the member switches work in
redundancy mode to improve network reliability.
3. Enable Eth-Trunks to forward traffic from local ports first to improve forwarding
efficiency and reduce the load on the stack cable between member switches. When an
Eth-Trunk member port of a local device is working normally or when the traffic is not
heavy, traffic is forwarded preferentially through the local member port.

Procedure
Step 1 Configure an Eth-Trunk between the stack and its upstream device.
# Configure an Eth-Trunk on the stack and add uplink ports to the Eth-Trunk.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 379


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

<HUAWEI> system-view
[HUAWEI] sysname Stack
[Stack] interface eth-trunk 10
[Stack-Eth-Trunk10] quit
[Stack] interface gigabitethernet 1/0/4
[Stack-GigabitEthernet1/0/4] eth-trunk 10
[Stack-GigabitEthernet1/0/4] quit
[Stack] interface gigabitethernet 2/0/4
[Stack-GigabitEthernet2/0/4] eth-trunk 10
[Stack-GigabitEthernet2/0/4] quit

# Configure an Eth-Trunk on SwitchE and add member ports to the Eth-Trunk.


<HUAWEI> system-view
[HUAWEI] sysname SwitchE
[SwitchE] interface eth-trunk 10
[SwitchE-Eth-Trunk10] quit
[SwitchE] interface gigabitethernet 0/0/1
[SwitchE-GigabitEthernet0/0/1] eth-trunk 10
[SwitchE-GigabitEthernet0/0/1] quit
[SwitchE] interface gigabitethernet 0/0/2
[SwitchE-GigabitEthernet0/0/2] eth-trunk 10
[SwitchE-GigabitEthernet0/0/2] quit

Step 2 Configure Eth-Trunks between the stack and its downstream devices.
# Configure an Eth-Trunk on the stack and add the downlink ports connected to SwitchC to
the Eth-Trunk.
[Stack] interface eth-trunk 20
[Stack-Eth-Trunk20] quit
[Stack] interface gigabitethernet 1/0/3
[Stack-GigabitEthernet1/0/3] eth-trunk 20
[Stack-GigabitEthernet1/0/3] quit
[Stack] interface gigabitethernet 2/0/5
[Stack-GigabitEthernet2/0/5] eth-trunk 20
[Stack-GigabitEthernet2/0/5] quit

# Configure an Eth-Trunk on SwitchC and add member ports to the Eth-Trunk.


<HUAWEI> system-view
[HUAWEI] sysname SwitchC
[SwitchC] interface eth-trunk 20
[SwitchC-Eth-Trunk20] quit
[SwitchC] interface gigabitethernet 0/0/1
[SwitchC-GigabitEthernet0/0/1] eth-trunk 20
[SwitchC-GigabitEthernet0/0/1] quit
[SwitchC] interface gigabitethernet 0/0/2
[SwitchC-GigabitEthernet0/0/2] eth-trunk 20
[SwitchC-GigabitEthernet0/0/2] quit

# Configure an Eth-Trunk on the stack and add the downlink ports connected to SwitchD to
the Eth-Trunk.
[Stack] interface eth-trunk 30
[Stack-Eth-Trunk30] quit
[Stack] interface gigabitethernet 1/0/5
[Stack-GigabitEthernet1/0/5] eth-trunk 30
[Stack-GigabitEthernet1/0/5] quit
[Stack] interface gigabitethernet 2/0/3
[Stack-GigabitEthernet2/0/3] eth-trunk 30
[Stack-GigabitEthernet2/0/3] quit

# Configure an Eth-Trunk on SwitchD and add member ports to the Eth-Trunk.


<HUAWEI> system-view
[HUAWEI] sysname SwitchD
[SwitchD] interface eth-trunk 30
[SwitchD-Eth-Trunk30] quit

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 380


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

[SwitchD] interface gigabitethernet 0/0/1


[SwitchD-GigabitEthernet0/0/1] eth-trunk 30
[SwitchD-GigabitEthernet0/0/1] quit
[SwitchD] interface gigabitethernet 0/0/2
[SwitchD-GigabitEthernet0/0/2] eth-trunk 30
[SwitchD-GigabitEthernet0/0/2] quit

Step 3 Enable local preferential forwarding on the Eth-Trunks. By default, local preferential
forwarding is enabled on an Eth-Trunk.
[Stack] interface eth-trunk 10
[Stack-Eth-Trunk10] local-preference enable
[Stack-Eth-Trunk10] quit
[Stack] interface eth-trunk 20
[Stack-Eth-Trunk20] local-preference enable
[Stack-Eth-Trunk20] quit
[Stack] interface eth-trunk 30
[Stack-Eth-Trunk30] local-preference enable
[Stack-Eth-Trunk30] quit
[Stack] quit

Step 4 Verify the configuration.


After the configuration is complete, run the display trunkmembership eth-trunk command
in any view to view information about Eth-Trunk member ports.
The command output shows information about member ports in Eth-Trunk 10.
<Stack> display trunkmembership eth-trunk 10
Trunk ID: 10
Used status: VALID
TYPE: ethernet
Working Mode : Normal
Number Of Ports in Trunk = 2
Number Of Up Ports in Trunk = 2
Operate status: up

Interface GigabitEthernet1/0/4, valid, operate up, weight=1


Interface GigabitEthernet2/0/4, valid, operate up, weight=1

----End

Configuration Files
l Stack configuration file
#
sysname Stack
#
interface Eth-Trunk10
#
interface Eth-Trunk20
#
interface Eth-Trunk30
#
interface GigabitEthernet1/0/3
eth-trunk 20
#
interface GigabitEthernet1/0/4
eth-trunk 10
#
interface GigabitEthernet1/0/5
eth-trunk 30
#
interface GigabitEthernet2/0/3
eth-trunk 30
#
interface GigabitEthernet2/0/4
eth-trunk 10

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 381


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

#
interface GigabitEthernet2/0/5
eth-trunk 20
#
return

l SwitchE configuration file


#
sysname SwitchE
#
interface Eth-Trunk10
#
interface GigabitEthernet0/0/1
eth-trunk 10
#
interface GigabitEthernet0/0/2
eth-trunk 10
#
return

l SwitchC configuration file


#
sysname SwitchC
#
interface Eth-Trunk20
#
interface GigabitEthernet0/0/1
eth-trunk 20
#
interface GigabitEthernet0/0/2
eth-trunk 20
#
return

l SwitchD configuration file


#
sysname SwitchD
#
interface Eth-Trunk30
#
interface GigabitEthernet0/0/1
eth-trunk 30
#
interface GigabitEthernet0/0/2
eth-trunk 30
#
return

9.15.7 Example for Adding a Member Switch to a Stack (Service


Port Connection Using Ordinary Stack Cables)

Networking Requirements
As shown in Figure 9-47, SwitchA, SwitchB, and SwitchC set up a stack to support user
access and connect to an upstream device SwitchD through an Eth-Trunk. SwitchA, SwitchB,
and SwitchC are the master, standby, and slave switches respectively, with stack IDs of 0, 1,
and 2 and stack priorities of 200, 100, and 100. As an increasing number of users need to
connect to the network, the current stack cannot provide a sufficient number of ports.
SwitchE is added to the stack as shown in Figure 9-48 to increase the number of ports
available for user access.
The S5700-LI series switches are used on the network and can set up a stack using service
port connections.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 382


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-47 Networking before a member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/28 GE0/0/27
GE0/0/27 GE0/0/28
GE0/0/27 GE0/0/28

Stack link
common link
Eth-Trunk

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 383


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-48 Networking after a member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC SwitchE


GE0/0/27 GE0/0/27 GE0/0/27
GE0/0/28 GE0/0/28 GE0/0/28
GE0/0/27 GE0/0/28

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Examine the physical connections of the stack to determine a location for the new
member switch.
2. Perform software configurations for service port stacking on SwitchE: configure logical
stack ports and add physical member ports to the corresponding logical stack ports to
enable packet forwarding between member switches, and configure stack IDs to facilitate
user management.
3. Power off SwitchE, connect physical member ports using SFP+ stack cables according to
Figure 9-48, and then power on SwitchE.
NOTE

Physical member ports of logical stack port stack-port n/1 on one switch can only be connected to the
ports of stack-port m/2 on a neighboring switch.
4. Add the uplink port of SwitchE to the inter-device Eth-Trunk.

Procedure
Step 1 Determine a location for the new member switch.
# The stack in this example has a ring topology. Break the ring topology into a chain topology
and add the new member switch to either end of the chain. Disconnect the link between
SwitchA and SwitchC to break the ring.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 384


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

If the member switches are running a software version earlier than V200R001, break the ring on the link
between the master switch and standby switch. Otherwise, reelection will occur which will cause unnecessary
role changes.

Step 2 Configure software for service port stacking.


# Configure the service ports GigabitEthernet0/0/27 and GigabitEthernet0/0/28 on SwitchE as
physical member ports and add them to the corresponding logical stack ports.

NOTE

The physical member ports GigabitEthernet0/0/27 and GigabitEthernet0/0/28 on SwitchA, SwitchB, and
SwitchC are added to the logical stack ports stack-port n/1 and stack-port n/2 respectively.
<HUAWEI> system-view
[HUAWEI] sysname SwitchE
[SwitchE] interface stack-port 0/1
[SwitchE-stack-port0/1] port interface gigabitethernet 0/0/27 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchE-stack-port0/1] quit
[SwitchE] interface stack-port 0/2
[SwitchE-stack-port0/2] port interface gigabitethernet 0/0/28 enable
Warning: Enabling stack function may cause configuration loss on the interface.
Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait.
[SwitchE-stack-port0/2] quit

# Set the stack ID of SwitchE to 3.


[SwitchE] stack slot 0 renumber 3
Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Please do not frequently modify slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

Step 3 Power off SwitchE, connect physical member ports on SwitchE to corresponding physical
member ports on SwitchA and SwitchC according to Figure 9-48, and then power on
SwitchE.
NOTE

It is recommended that you run the save command to save the configurations before you power off
SwitchE.

Step 4 Add the uplink port of SwitchE to the inter-device Eth-Trunk.


Configure an inter-device Eth-Trunk for the uplink port of SwitchE. For the detailed
configuration procedure, see 9.15.6 Example for Configuring Stack Eth-Trunks.
Step 5 Check basic stack information. The command output shows that the roles of member switches
in the original stack remain unchanged and SwitchE has been elected as a slave switch.
<SwitchA> display stack
Stack mode: Service-port
Stack topology type : Ring
Stack system MAC: 0018-82d2-2e85
MAC switch delay time: 10 min
Stack reserved vlan : 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82d2-2e85 200 S5700-28P-LI-AC
1 Standby 0018-82c6-1f44 100 S5700-28P-LI-AC

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 385


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

2 Slave 0018-82c6-1f4c 100 S5700-28P-LI-AC


3 Slave 0018-82c6-1f4a 100 S5700-28P-LI-AC

----End

Configuration Files
None

9.15.8 Example for Adding a Member Switch to a Stack (Service


Port Connection Using Dedicated Stack Cables)

Networking Requirements
In Figure 9-49, SwitchA, SwitchB, and SwitchC set up a stack using dedicated stack cables to
provide access service to users. The stack connects to SwitchD through an inter-chassis Eth-
Trunk. SwitchA, SwitchB, and SwitchC are the master, standby, and slave switches
respectively, with stack IDs of 0, 1, and 2 respectively. As the number of users increases, the
current stack cannot provide sufficient ports for user access.

SwitchE needs to be added to the stack to increase the number of ports. Figure 9-50 shows
the topology of the new stack.

Figure 9-49 Before the new member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/27 GE0/0/26
GE0/0/26 GE0/0/27
GE0/0/26 GE0/0/27

Stack link
common link
Eth-Trunk

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 386


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-50 After the new member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/27 GE0/0/26 GE0/0/26
GE0/0/26 GE0/0/27 GE0/0/27
GE0/0/26 GE0/0/27

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Analyze physical connections between original stack member switches to determine
where to add the new member switch.
2. Power off SwitchE. Connect stack member ports using dedicated stack cables according
to Figure 9-51 and then power on the switches.
NOTE

Connect port STACK 1 of one switch to port STACK 2 of another switch.


3. Add the uplink port of SwitchE to the inter-chassis Eth-Trunk.

Procedure
Step 1 Determine the location for the new member switch.

# The stack in this example has a ring topology. To add the new member switch to the stack,
tear down the link between SwitchA and SwitchC to change the stack topology to a chain
topology, and then connect SwitchE to SwitchA and SwitchC.

Step 2 Power off SwitchE, use dedicated stack cables to connect GE0/0/27 and GE0/0/26 on
SwitchE to corresponding ports on SwitchA and SwitchC according to Figure 9-51, and then
power on SwitchE.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 387


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-51 Dedicated stack cable connection


GE0/0/26 Logical stack
port 2

SwitchA
Logical stack port 1 GE0/0/27
Logical stack
GE0/0/26 port 2

SwitchB
Logical stack port 1 GE0/0/27
Logical stack
GE0/0/26 port 2

SwitchC

Logical stack port 1 GE0/0/27


Logical stack
GE0/0/26 port 2

SwitchE

Logical stack port 1 GE0/0/27

Indicates the master end with the


Master tag of a dedicated stack cable

Step 3 Add the uplink port of SwitchE to the inter-chassis Eth-Trunk.


For details about the configuration, see 9.15.6 Example for Configuring Stack Eth-Trunks.

Step 4 Check basic stack information.


The command output shows that SwitchA, SwitchB, and SwitchC retain their roles and
SwitchE becomes a slave switch and is automatically assigned a stack ID 3.
[SwitchA] display stack
Stack mode: Service-port
Stack topology type : Ring
Stack system MAC: 0018-82d2-2e85
MAC switch delay time: 10 min
Stack reserved vlan : 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 0018-82d2-2e85 100 S5720-28P-LI-AC
1 Standby 0018-82c6-1f44 100 S5720-28P-LI-AC
2 Slave 0018-82c6-1f4c 100 S5720-28P-LI-AC
3 Slave 0018-82c6-1f4a 100 S5720-28P-LI-AC

----End

Configuration Files
None

9.15.9 Example for Adding a Member Switch to a Stack (Stack


Card Connection)

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 388


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Networking Requirements
As shown in Figure 9-52, switches A to C set up a stack to provide access service to users.
The stack connects to SwitchD through an inter-chassis Eth-Trunk. SwitchA, SwitchB, and
SwitchC are the master, standby, and slave switches respectively, with stack IDs of 0, 1, 2 and
stack priorities of 200, 100, 100, respectively. As the number of users increases, the current
stack cannot provide sufficient ports for user access.
SwitchE needs to be added to the stack to increase the number of ports. Figure 9-53 shows
the topology of the new stack.
In this example, the stacked switches are S5720-EI, and they are connected using stack cards.

Figure 9-52 Before the new member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


STACK1 STACK2
STACK2 STACK1
STACK2 STACK1

Stack link
Common link
Eth-Trunk

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 389


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-53 After the new member switch is added to the stack

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC SwitchE


STACK2 STACK2 STACK2
STACK1 STACK1 STACK1
STACK2 STACK1

Stack link
Common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Analyze physical connections between original stack member switches to determine
where to add the new member switch.
2. Set a stack ID for SwitchE.
3. Power off SwitchE. Use QSFP+ high-speed copper cables to connect physical stack
member ports according to Figure 9-53, and then power on SwitchE.
NOTE

Connect port STACK 1 of one switch to port STACK 2 of another switch.


4. Add the uplink port of SwitchE to the inter-chassis Eth-Trunk.

Procedure
Step 1 Determine the location for the new member switch.
# The stack in this example has a ring topology. To add the new member switch to the stack,
tear down the link between SwitchA and SwitchC to change the stack topology to a chain
topology, and then connect SwitchE to SwitchA and SwitchC.

NOTE

If the member switches are running a software version earlier than V200R001, do not tear down the link
between the master and standby switches, as this will result in reelection in the stack.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 390


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Step 2 Set a stack ID for the new member switch.


# Set the stack ID of SwitchE to 3.
<HUAWEI> system-view
[HUAWEI] sysname SwitchE
[SwitchE] stack slot 0 renumber 3
Warning: All the configurations related to the slot ID will be lost after the
slot ID is modified.
Do not frequently modify the slot ID because it will make the stack split.
Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to
make the configuration effective.

Step 3 Power off SwitchE, use QSFP+ high-speed copper cables to connect physical stack member
ports on SwitchE to corresponding physical member ports on SwitchA and SwitchC
according to Figure 9-53, and then power on SwitchE.
NOTE

Run the save command to save the configuration before you power off SwitchE.

Step 4 Add the uplink port of SwitchE to the inter-chassis Eth-Trunk.


For details about the configuration, see 9.15.6 Example for Configuring Stack Eth-Trunks.
Step 5 Check basic stack information. The command output shows that the roles of original stack
member switches remain unchanged and SwitchE becomes a slave switch.
<SwitchA> display stack
Stack mode: Card
Stack topology type : Ring
Stack system MAC: 0018-82d2-2e85
MAC switch delay time: 10 min
Stack reserved VLAN : 4093
Slot of the active management port: --
Slot Role Mac Address Priority Device Type
-------------------------------------------------------------
0 Master 0018-82d2-2e85 200 S5720-36C-EI-AC
1 Standby 0018-82c6-1f44 100 S5720-36C-EI-AC
2 Slave 0018-82c6-1f4c 100 S5720-36C-EI-AC
3 Slave 0018-82c6-1f4a 100 S5720-36C-EI-AC

----End

Configuration Files
None

9.15.10 Example for Upgrading a Stack (Smooth Upgrade)

Networking Requirements
A stack is running stably and transmitting upstream and downstream services normally. The
software of stacked switches needs to be upgraded without interrupting upstream and
downstream services.
As shown in Figure 9-54, switches A to C set up a stack in ring topology and connect to
SwitchD through an inter-chassis Eth-Trunk. SwitchA, SwitchB, and SwitchC are the master,
standby, and slave switches of the stack, with stack IDs of 0, 1, and 2, respectively.
In this example, the stacked switches are S5700-LI, and they are connected through service
ports.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 391


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Figure 9-54 Stack topology

Network

SwitchD

Eth-Trunk

SwitchA SwitchB SwitchC


GE0/0/28 GE0/0/27
GE0/0/27 GE0/0/28
GE0/0/27 GE0/0/28

Stack link
common link
Eth-Trunk

Configuration Roadmap
The configuration roadmap is as follows:
1. Upload the target system software package to all stack member switches.
2. Define the active and backup areas for a smooth upgrade.
3. Start the smooth upgrade.

Procedure
Step 1 Upload the target system software package to all stack member switches.
Ensure that all member switches have the same system software, with the same software
package name, version, and path. For details on how to upload files to a switch, see File
Management in the S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide -
Basic Configuration.
Step 2 Define the active and backup areas for a smooth upgrade.
# Assign SwitchB and SwitchC to the backup area, and SwitchA to the active area.
<HUAWEI> startup system-software test.cc all
<HUAWEI> system-view
[HUAWEI] upgrade backup-area slot 1 to 2

The member switches with stack IDs in the specified range join the backup area, and the other
member switch automatically joins the active area.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 392


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

NOTE

Follow these rules to define the active and backup areas in a stack:
l The active and backup areas cannot have the same member switch, and both areas must have at
least one member switch.
l The backup area cannot contain the master switch.
l Member switches in each area must be directly connected.
l Member switches in the active and backup areas form the entire stack.

# Check the active and backup areas.


[HUAWEI] display upgrade area
Slot Area Upgrade-Check
------------------------------------
0 active passed
1 backup passed
2 backup passed

Step 3 Start the smooth upgrade.


[HUAWEI] upgrade start

Step 4 Verify the configuration.

# Check the smooth upgrade status of the stack.


[HUAWEI] display upgrade state
Slot Area Status
-----------------------------
0 active backup rebooting
1 backup backup rebooting
2 backup backup rebooting

----End

Configuration Files
None

9.16 FAQ About Stacks

9.16.1 Can a Stack Be Set Up Among Different Switch Models?

l A stack cannot be set up among different switch series. For example, a stack cannot be
set up among the S5700 and S6700 switches.
l A stack cannot be set up among different switch models of the same switch series. For
example, a stack cannot be set up among the S5720EI and S5720HI switches.
l A stack can be set up among only certain different switch models of the same switch
series. For example, a stack can be set up among the S5720SI and S5720S-SI switches
but not among the S5720LI and S5720S-LI switches. For details about whether a stack
can be set up among different switch models, see stack support of different switch
models in Stacking Support and Version Requirements. As described in Remarks of
S6720LI and S6720S-LI Service Port Stacking Support, a stack can be set up among
all S6720LI models, among all S6720S-LI models, but not among the S6720LI and
S6720S-LI models.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 393


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

9.16.2 How Can I Specify a Switch in a Stack as the Master


Switch?
To manually specify a member switch as the master, power on that switch first, and then wait
20 seconds before powering on the other switches.
The master election timeout period is 20 seconds. The length of time each member switch
spends in startup may differ significantly. Therefore, when the stack is powered on or restarts,
not all member switches participate in the master election. Member switches that start more
than 20 seconds later than the first switch to complete startup cannot be elected the master
switch.

9.16.3 How Do I Identify the Stack IDs of Member Switches


Through Indicators Without Logging In to the Stack?
After a stack is established successfully, press the mode switching button to set the mode
status indicator to work in STACK mode. You can determine the stack IDs of the master
switch and member switches by viewing the mode status indicator and service port indicators.
Among the switch models that support stacking:
l The S5700-SI, S5700-EI, S5700-HI, S5710-C-LI, and S6700-EI use the same mode
status indicator to show the STACK and SPEED modes. After you press the mode
switching button, the indicator turns steady red for 45 seconds and then turns off,
indicating the switch has entered the STACK mode.
l The S2720EI, S2750EI, S5700-LI, S5720-LI, S5720S-LI, S5710-EI, S5720-EI, S5720-
SI, S5720S-SI, S5710-X-LI, S5700S-X-LI, S5700S-28P-PWR-LI-AC, S5730SI,
S5730S-EI, S6720LI, S6720S-LI, S6720SI, S6720S-SI, S6720-EI and S6720S-EI have
an independent STACK indicator. After you press the mode switching button, the
indicator turns steady green or is blinking for 45 seconds and then turns off, indicating
the switch has entered the STACK mode.
You can determine the stack IDs of the master switch and member switches through the status
of service port indicators. Table 9-32 explains how to interpret service port indicators in
STACK mode.

Table 9-32 Service port indicators in STACK mode


Color Status and Meaning

Off Port indicators do not indicate the stack ID


of the switch.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 394


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Color Status and Meaning

Green If the indicator is steady on, the switch is


not the master switch in the stack. If the
indicator is blinking, the switch is the
master switch in the stack.
l If the indicator of a port is steady on, the
switch where this port is located is not
the master switch, and the number of this
port is the stack ID of this switch.
l If the indicator of a port is blinking, the
switch where this port is located is the
master switch, and the number of this
port is the stack ID of this switch.
l If the first nine port indicators of the
switch are steady on, this switch is not
the master switch, and its stack ID is 0.
l If the first nine port indicators of the
switch are blinking, this switch is the
master switch, and its stack ID is 0.

9.16.4 How Do I Restart a Stack Member Device?


Run the reset slot slot-id command to restart a specified stack member device. slot-id
specifies the stack ID of a member device.

9.16.5 Can I Log In to a Stack Through the Web NMS?


You can log in to a stack through the web NMS to configure the stack from V100R006C00.

9.16.6 How Do I Load a Patch for a Stack?


Perform the following operations to load a patch to a stack.
1. Save the patch file to the root directory of the master switch.
2. Run the patch load filename all run command to load and run the patch.
3. After the patch is loaded, run the display patch-information command to view patch
information.

9.16.7 How Do I Install a License File for a Stack System?


Perform the following steps to install a license file to a stack system.
1. Apply for a license using the ESNs of member switches.
a. Run the display license esn command to obtain the ESNs of stack member
switches.
b. Use the ESNs to apply for a license file.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 395


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

For details about how to apply for a license, see S Series Switch License Use
Guide.
NOTE

In V200R009 and later versions, if all member switches have installed license files with the same
license-controlled items before they set up a stack, you do not need to apply for a new license for the
stack. If only some of member switches have installed a license file, apply for a new license for the
stack.
In versions prior to V200R009, apply for a license that contains ESNs of all the member switches.
2. Install the license file to the stack master switch.
3. Run the license active command to activate the license file. The standby and slave
switches will synchronize the license from the master switch.
4. After the license file is installed successfully, run the display license command to check
license file information.
After the stack splits, the license is still effective on all the member switches.
l You must have a Huawei account to log in to the license self-service system. For details
on how to apply for a Huawei account, click Help, and then click Applying for an
Account under the Basic Concepts node.
l The following is the license processing mechanism in a stack system. Knowing this will
help you handle license status exceptions.
– If member switches are running a version prior to V200R009, you must apply for a
license that contains ESNs of all member switches. If the license file contains only
the ESN of the master switch, the license is in normal state and the license-
controlled features can take effect in the stack. If a switchover occurs in the stack,
however, the license will change to the trial state (60-day trial period). If the license
file contains only the ESN of the standby switch or a slave switch, the license
remains in trial state after it is loaded.
– If member switches are running V200R009 or a later version, you can apply for a
license that contains ESNs of all member switches, or apply a license for each ESN
and install the licenses to the switches before setting up a stack. When using the
second method, ensure that all license files have the same license-controlled items,
because:
n If the license files of the standby and slave switches have the same items as the
license file of the master switch, the standby and slave switches use their own
license files and do not synchronize the license file from the master switch.
Their license files are still effective after a switchover in the stack.
n If the license files of the standby and slave switches have different items than
the license file of the master switch, the standby and slave switches
synchronize the license file from the master switch. If the license file of the
master switch contains the ESNs of the standby and slave switches, the license
is in normal state on the standby and slave switches and will still effective after
a switchover. If the license file on the master switch does not contain the ESNs
of the standby and slave switches, the license will change to trial state (60-day
trial period) on the standby and slave switches, because ESN in the
synchronized license file is different from the ESN of the local switch. After a
switchover, the license of the stack will also change to trial state.

9.16.8 Will the Standby Switch Restart If the Master Switch Is


Powered Off and Restarts?

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 396


S1720, S2700, S5700, and S6720 Series Ethernet Switches
Configuration Guide - Device Management 9 Stack Configuration

Run the display switchover state command to view the stack master/standby status.
<HUAWEI> display switchover state
Slot 1 HA FSM State(master): realtime or routine backup
Slot 2 HA FSM State(slave): receiving realtime or routine data.

When the master status displays realtime or routine backup and the slave status displays
receiving realtime or routine data, the standby switch does not restart and automatically
becomes the new master switch if the master switch is powered off and restarts. When the
master status and slave status display other states, the standby switch also restarts if the
master switch is powered off and restarts.

Issue 08 (2019-07-31) Copyright © Huawei Technologies Co., Ltd. 397

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy