07+eth Trunk+IStack+and+CSS
07+eth Trunk+IStack+and+CSS
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and
recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any
kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the preparation
of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this
document do not constitute a warranty of any kind, express or implied.
Website: https://e.huawei.com/
Huawei Certification System
Huawei Certification follows the "platform + ecosystem" development strategy, which is a new
collaborative architecture of ICT infrastructure based on "Cloud-Pipe-Terminal". Huawei has set up
a complete certification system consisting of three categories: ICT infrastructure certification,
platform and service certification, and ICT vertical certification. It is the only certification system
that covers all ICT technical fields in the industry. Huawei offers three levels of certification:
Huawei Certified ICT Associate (HCIA), Huawei Certified ICT Professional (HCIP), and Huawei
Certified ICT Expert (HCIE). Huawei Certification covers all ICT fields and adapts to the industry
trend of ICT convergence. With its leading talent development system and certification standards,
it is committed to fostering new ICT talent in the digital era, and building a sound ICT talent
ecosystem.
Huawei Certified ICT Associate-Datacom (HCIA-Datacom) is designed for Huawei's frontline
engineers and anyone who want to understand Huawei's datacom products and technologies. The
HCIA-Datacom certification covers routing and switching principles, basic WLAN principles,
network security basics, network management and O&M basics, SDN and programmability and
automation basics.
The Huawei certification system introduces the industry, fosters innovation, and imparts cutting-
edge datacom knowledge.
Contents
1.1 Foreword
As services develop and the campus network scale expands, users have increasingly demanding
requirements on network bandwidth and reliability. Traditional solutions improve network bandwidth
by upgrading devices and implement high reliability by deploying redundant links and using the
Spanning Tree Protocol (STP), leading to low flexibility, time-consuming troubleshooting, and complex
configuration.
This chapter describes how to use Eth-Trunk, intelligent stack (iStack), and cluster switch system (CSS)
technologies to improve network bandwidth and reliability.
1.2 Objectives
On completion of this course, you will be able to:
⚫ Understand the functions of link aggregation.
⚫ Understand the link aggregation types.
⚫ Understand the link aggregation negotiation process in Link Aggregation Control Protocol (LACP)
mode.
⚫ Understand the advantages and principles of iStack and CSS.
⚫ Understand the common applications and networking of link aggregation and stacking
technologies.
Network reliability can be implemented at the card, device, and link levels.
⚫ Member interface and member link: Physical interfaces that constitute an Eth-Trunk interface
are called member interfaces, and the link corresponding to a member interface is known as a
member link.
⚫ Active interface and active link: An active interface is also called a selected interface and is a
member interface that participates in data forwarding. The link corresponding to an active
interface is called an active link.
⚫ Inactive interface and inactive link: An inactive interface is also called an unselected interface and
is a member interface that does not participate in data forwarding. A link corresponding to an
inactive interface is referred to as an inactive link.
⚫ Link aggregation mode: Based on whether the Link Aggregation Control Protocol (LACP) is
enabled, link aggregation can be classified into manual mode and LACP mode.
⚫ Other concepts: upper and lower thresholds for the number of active interfaces
⚫ An Eth-Trunk can be treated as a physical Ethernet interface. The only difference between the
Eth-Trunk and physical Ethernet interface is that the Eth-Trunk needs to select one or more
member interfaces to forward traffic.
⚫ The following parameters must be the same for member interfaces in an Eth-Trunk:
◼ Interface rate
◼ Duplex mode
◼ VLAN configurations: The interface type must be the same (access, trunk, or hybrid). For
access interfaces, the default VLAN of the member interfaces must be the same. For trunk
interfaces, the allowed VLANs and the default VLAN of the member interfaces must be the
same.
⚫ When receiving LACPDUs from the peer end, SW1 and SW2 compare the system priorities, which
use the default value 32768 and are the same. Then they compare MAC addresses. The MAC
address of SW1 is 4c1f-cc58-6d64, and the MAC address of SW2 is 4c1f-cc58-6d65. SW1 has a
smaller MAC address and is preferentially elected as the Actor.
To enable the LACP mode, run mode lacp. To enable the manual mode, run mode manual load-
balance.
Note: The link aggregation modes at both ends must be the same.
In the Eth-Trunk view, the interface is added to the Eth-Trunk. You can use either of the preceding
commands to add an interface to an Eth-Trunk.
Step 5 Enable interfaces at different rates to join the same Eth-Trunk interface.
By default, interfaces at different rates are not allowed to join the same Eth-Trunk, and only interfaces
at the same rate can be added to the same Eth-Trunk.
A smaller priority value indicates a higher LACP system priority. By default, the LACP priority is 32768.
The LACP interface priority is set in the interface view. By default, the LACP interface priority is 32768.
A smaller priority value indicates a higher LACP interface priority.
You can run this command only after an interface is added to the Eth-Trunk.
Ensure that the maximum number of active interfaces on the local end is the same as that on the peer
end. The maximum number of active interfaces can be configured only in LACP mode.
Eth-Trunk iStack and CSS Page 16
The minimum number of active interfaces can be different on the local end and peer end and can be
configured in both manual and LACP modes.
The minimum number of active interfaces is configured to ensure the minimum bandwidth. When the
number of active links is smaller than the lower threshold, the Eth-Trunk interface goes down.
⚫ The maximum number of active interfaces varies according to switch models. For example, the
maximum number of active interfaces in an Eth-Trunk is 32 on the S6720HI, S6730H, S6730S, and
S6730S-S, and is 16 on the S6720LI, S6720S-LI, S6720SI, and S6720S-SI. For details, see the
product manual.
⚫ The minimum number of active interfaces is configured to ensure the minimum bandwidth. If the
bandwidth is too small, services that require high link bandwidth may be abnormal. In this case,
you can disconnect the Eth-Trunk interface to switch services to other paths through the high
reliability mechanism of the network, ensuring normal service running.
Example for Configuring an Eth-Trunk in Manual Mode
⚫ Requirement description:
◼ SW1 and SW2 are connected to the networks of VLAN 10 and VLAN 20.
◼ SW1 and SW2 are connected through two Ethernet links. To provide link redundancy and
enhance transmission reliability, configure an Eth-Trunk in manual mode between SW1 and
SW2.
⚫ SW2 configuration:
SW2, manually adjust the priority to configure SW1 as the Actor, and set the maximum
number of active interfaces to 2. The other link functions as the backup link.
⚫ SW1 configuration:
1.5.3 Application
When the port density of a switch cannot meet the access requirements, add new switches to set up
an iStack to increase the number of ports.
Eth-Trunk iStack and CSS Page 19
1.6 Quiz
1. (Single) When two switches are interconnected using link aggregation, which of the following
conditions does not need to be met on each member port? ( )
A. The number of physical interfaces connected at both ends is the same.
B. The rates of the physical interfaces connected to the two ends are the same.
C. The duplex modes of the physical interfaces connected to the two ends are the same.
D. The physical numbers of the physical interfaces connected to the two ends are the same.
2. (Multiple)Which of the following statements about link aggregation are correct? ( )
A. Link aggregation can prevent routing loops.
Eth-Trunk iStack and CSS Page 21
1.7 Summary
Link aggregation can be used to improve link reliability, utilization, and bandwidth. Link aggregation
can be classified into static and LACP aggregation based on the aggregation mode.
LACP uses packet negotiation to implement backup for active links. When a link fails, the backup link
is elected as the active link to forward packets.
To ensure the sequence in which packets arrive, link aggregation uses per-flow load balancing.
iStack and CSS simplify network management and network structure, and improve network reliability.