SVF Technology White Paper

CloudEngine Series Switches
SVF Technology White Paper
Issue
01
Date
2014-07-01
HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2014. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
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.
Huawei Technologies Co., Ltd.
Address:
Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i
CloudEngine Series Switches
SVF Technology White Paper
Contents
Contents
1 SVF Overview ................................................................................................................................ 1
2 Principles ........................................................................................................................................ 3
2.1 Concepts ....................................................................................................................................................................... 3
2.2 SVF Topology ............................................................................................................................................................... 4
2.3 SVF Setup ..................................................................................................................................................................... 5
2.4 SVF Management and Maintenance ............................................................................................................................. 7
2.5 Packet Forwarding in an SVF System .......................................................................................................................... 7
2.6 SVF System Merging and Splitting .............................................................................................................................. 8
2.7 SVF Upgrade .............................................................................................................................................................. 10
3 Application ................................................................................................................................... 11
4 Configuration Notes ................................................................................................................... 12
5 Configuring an SVF System ..................................................................................................... 14
5.1 (Optional) Setting Up a Stack Between Parent Switches ............................................................................................ 14
5.2 Configuring a Fabric Port ........................................................................................................................................... 15
5.3 Configuring the Working Mode of Leaf Switches ...................................................................................................... 17
5.4 Configuring the Type of Leaf Switch Ports to Be Connected to the Parent Switch .................................................... 18
5.5 Connecting Parent and Leaf Switches ........................................................................................................................ 19
5.6 Checking the Configuration ........................................................................................................................................ 19
6 Maintaining an SVF System ..................................................................................................... 20
6.1 Configuring a Heartbeat Timeout Interval for SVF Links .......................................................................................... 20
6.2 Disabling Auto-negotiation on a Fabric Port .............................................................................................................. 21
6.3 Enabling the Single-Homing Alarm Function for Leaf Switches ............................................................................... 21
7 Configuration Examples ............................................................................................................ 22
7.1 Example for Setting Up an SVF System ..................................................................................................................... 22
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ii
CloudEngine Series Switches
SVF Technology White Paper
1 SVF Overview
1
SVF Overview
This section describes the purpose and functions of SVF.
In the traditional access layer networking used in data centers, servers connect to the network
through box switches, as shown in Figure 1-1. As the network size expands, more network
devices are deployed. Network management becomes a critical issue in data center
infrastructure management. Additionally, large-scale modern data centers require that access
switches provide higher port densities for servers.
Figure 1-1 Traditional data center access layer networking
Access
layer
Super virtual fabric (SVF) is a vertical virtualization technology that allows low-cost
fixed-configuration switches to act as remote interface cards for a parent switch. This
technology increases the port density of the parent switch and facilitates centralized switch
management, allowing for high-density access and simple management in data centers. Figure
1-2 shows SVF networking at the data center access layer.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1
CloudEngine Series Switches
SVF Technology White Paper
1 SVF Overview
Figure 1-2 SVF networking at the data center access layer
Access layer
...
...
Compared with traditional access layer networking, SVF networking has the following
advantages:

Lower network construction costs: Low-cost switches are used as access switches, so
network construction costs are reduced.

Simpler configuration and management: SVF virtualizes multiple devices into one,
reducing the number of nodes to manage.

Higher scalability and more flexible deployment: When more access ports are required
on the network, you only need to add low-cost fixed-configuration switches to the
network. Moreover, these low-cost switches are deployed near servers, making network
deployment more flexible.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
2
Principles
About This Chapter
This section describes the concepts and implementation of SVF.
2.1 Concepts
2.2 SVF Topology
2.3 SVF Setup
2.4 SVF Management and Maintenance
2.5 Packet Forwarding in an SVF System
2.6 SVF System Merging and Splitting
2.7 SVF Upgrade
2.1 Concepts
Figure 2-1 SVF-related concepts
Parent switch
Fabric port
Leaf switch
ID=101

Parent/Leaf switch
Devices in an SVF system play either of the following roles:
−
Issue 01 (2014-07-01)
Leaf switch
ID=102
Parent switch: acts as the main control unit that controls and manages the entire
system.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3
CloudEngine Series Switches
SVF Technology White Paper
−

2 Principles
Leaf switch: an extended device that acts as an interface card of the parent switch and
connects to servers.
Leaf ID
A leaf ID is the identifier of a leaf switch. Leaf IDs are used to identify and manage leaf
switches in an SVF system. Each leaf switch has a unique leaf ID.

Fabric port
A fabric port is a logical port that connects a parent switch and a leaf switch. One or
more member ports can be added to a fabric port to improve SVF link bandwidth and
reliability.
2.2 SVF Topology
The parent switch in an SVF system can be a single switch, as shown in Figure 2-2, or an
iStack system consisting of two switches, as shown in Figure 2-3. Using a stack of two parent
switches can implement redundancy on the control plane of the SVF system. If one parent
switch fails, the other one can ensure normal operations of the SVF system.
For details about the iStack feature, see Stack Configuration in the CloudEngine
7800&6800&5800 Series Switches Configuration Guide - Virtualization.
Figure 2-2 SVF system with a single parent switch
Parent switch
Leaf switch
Figure 2-3 SVF system with a stack of two parent switches
Master
Parent switch
Standby
iStack Link
Leaf switch
Leaf switches connect to the parent switch through member ports of fabric ports. A leaf switch
can connect to one parent switch (in single-homing mode) or two parent switches (in
dual-homing mode).
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
Note that a leaf switch can connect to only the parent switches in the same SVF system.
Figure 2-4 shows an example of incorrect connection.
Figure 2-4 One leaf switch connecting to two SVF systems incorrectly
Parent switch
Leaf switch
If a leaf switch connects to more than one SVF system, only one of the links connected ro an
SVF system takes effect. (The link that becomes Up first takes effect.)
2.3 SVF Setup
Switch Working Modes
Switches that can be used as leaf switches in an SVF system support two working modes:

Stack mode: runs as an independent switch, for example, the parent switch in an SVF. A
switch starting in this mode has complete system software and saves a configuration file.

Leaf mode: runs as a leaf switch in an SVF system. A switch starting in this mode can
only connect to a parent switch as an extended interface card. It has no configuration or
management functions, and does not save any configuration.

Auto-negotiation: determines whether to work in stack or leaf mode through
auto-negotiation.
By default, a newly connected switch negotiates with the parent switch to determine its
working mode, as shown in Figure 2-5. If a switch is powered on without any configuration, it
initiates an SVF negotiation initiates an SVF negotiation by sending link probe packets and
attempts to join an SVF system. If the switch has a configuration file, it starts in stack mode.
The working mode of a switch can be configured on the command line interface or BIOS
menu. After you set the working mode of a switch to stack or leaf, the switch automatically
starts in this mode and does not perform the negotiation.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
Figure 2-5 Switch working mode determination
Switch is powered on
Yes
Start in configured
mode
Is working mode
configured?
No
No
Start in stack mode
Is it
an unconfigured
switch?
Yes
Perform SVF negotiation
Yes
Start in leaf mode
Is the negotiation
successful?
No
Start the ZTP process
Yes
Start in stack mode
Is the ZTP process
successful?
No
Perform SVF negotiation
Yes
Start in leaf mode
Is the negotiation
successful?
No
For details about ZTP, see ZTP Configuration in the CloudEngine 7800&6800&5800 Series
Switches Configuration Guide - Basic Configuration.
SVF Setup Process
After a switch starts in leaf mode, it obtains required information such as the leaf ID and
software version from the parent switch. An SVF system is set up after the following steps:
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
1.
Leaf ID allocation: After leaf switches are connected to the parent switch, they send
probe packets to the parent switch. The parent switch then allocates leaf IDs to the leaf
switches.
2.
Software version synchronization: The leaf switches obtain software version information
from the parent switch. If the software version of a leaf switch is different from that of
the parent switch, the leaf switch automatically downloads the system software from the
parent switch. After the software download is complete, the leaf switch restarts with the
new version and registers with the parent switch.
Leaf switches only obtain a software package from the system software of the parent
switch, not the complete system software. The system software of the parent switch
contains two software packages with different functions. One is used for running the
parent switch itself, and the other is synchronized to the leaf switches.
3.
Configuration delivery: The parent switch delivers configuration information to the leaf
switches.
2.4 SVF Management and Maintenance
Interface Numbering Rules
In an SVF system, parent switches are identified and managed using their stack member IDs,
and leaf switches are identified and managed using their leaf IDs. Therefore, interfaces on a
parent switch are numbered in the format member stack ID/subcard ID/interface number, and
interfaces on a leaf switch are numbered in the format leaf ID/subcard ID/interface number.
Logging In to an SVF System
As a virtual device, an SVF system is configured and managed through the parent switch. You
can use either of the following methods to log in to an SVF system:

Through the console interface or management interface of any parent switch

Through the management interface of any leaf switch
When you log in to an SVF system, you actually log in to the master switch of the parent
switch, regardless of what login method you use and which member switch you have logged
in to. Therefore, the IP address of the master switch is required in a remote login to an SVF
system.
Configuration and Management
In an SVF system, the leaf switches do not have configuration and management functions,
and they are configured and managed on the parent switch. After you configure the leaf
switches on the parent switch, the configuration information is saved on the parent switch.
The leaf switches do not save any configuration. If a leaf switch is restarted or replaced by a
new leaf switch, the parent switch delivers configuration to the leaf switch through the SVF
link. Similar to interface cards of chassis switches, leaf switches are plug-and-play.
2.5 Packet Forwarding in an SVF System
Similar to interface cards of a chassis switch, leaf switches support local forwarding. As
shown in Figure 2-6, unicast packets transmitted between servers connected to the same leaf
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
switch are directly forwarded by the local leaf switch. Unicast packets transmitted between
servers connected to different leaf switches need to be forwarded by the parent switch.
Multicast packets are forwarded according to multicast forwarding entries, and broadcast
packets are broadcast in the SVF system.
Figure 2-6 Unicast packet forwarding in an SVF system
Parent switch
Leaf switch
2.6 SVF System Merging and Splitting
SVF System Merging
Two SVF systems merge when their parent switches merge into one stack, as shown in Figure
2-7. Parent switches of SVF-1 and SVF-2 compete for the master role. If the parent switch of
SVF-2 fails the competition, SVF-2 restarts and rejoins SVF-1. In this situation, the SVF
configuration will be lost. If SVF-1 has the offline configuration of SVF-2, leaf switches of
SVF-2 can still join the merged SVF. Otherwise, these leaf switches cannot join the merged
SVF.
Figure 2-7 Merging of two SVF systems
SVF-1
Issue 01 (2014-07-01)
SVF-2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
SVF
8
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
SVF System Splitting
Similarly, an SVF system splits when the stack of the parent switches splits, as shown in
Figure 2-8. When the stack link between the parent switches fails, the stack of the parent
switches splits. As a result, the SVF system also splits.
If a leaf switch connects to more than one parent switch, it may connect to two SVF systems
after the original SVF system splits. The following situations occur:

If batch backup between two parent switches is not finished, the leaf switch's port
connected to the standby parent switch is blocked.

If batch backup between two parent switches is finished, the leaf switch's port connected
to the master parent switch is blocked.
Figure 2-8 Splitting of an SVF system
If the dual-active detection (DAD) function is configured, two SVF systems compete after the
stack splits. The parent switch and leaf switches in the SVF system that fails the competition
shut down all their service ports except the reserved ports. The two SVF systems compare the
following in the listed order (the comparison ends when a winning SVF system is found):
1.
Number of leaf switches: The SVF system with a larger number of leaf switches win.
2.
Parent switch stack priority: The SVF system with a higher parent switch stack priority
win.
3.
Parent switch MAC address: The SVF system with a smaller parent switch MAC address
wins.
For details about DAD, see Stack Split and Dual-Active Detection in the CloudEngine
7800&6800&5800 Series Switches Configuration Guide - Virtualization - Stack
Configuration.
It is recommended to configure DAD on the ports of the parent switch. If DAD is configured on the
ports of a leaf switch, the leaf switch may be still connects to the same parent switch when the leaf
switch is dual-homed to two parent switches and the stack of the parent switches splits. In this situation,
split detection cannot be performed.
When the system split recovers, the two parent switches merge into one stack and compete for
the master role. The parent switch that fails the competition and the leaf switches attached to
this parent switch restart and rejoin the SVF system. The SVF system then recovers.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9
CloudEngine Series Switches
SVF Technology White Paper
2 Principles
2.7 SVF Upgrade
An SVF system can be upgraded using the traditional upgrade method or the in-service
software upgrade (ISSU) function:

Traditional upgrade method: Specify the files to use on next startup on the parent
switches, and then restart the entire SVF system.

ISSU upgrade: One of the parent switches is upgraded first, and the other is upgraded
after a switchover. This upgrade method is more reliable than the traditional upgrade
method, and the service interruption time is relatively short. For more information about
ISSU upgrade, see ISSU Configuration in the CloudEngine 7800&6800&5800 Series
Switches Configuration Guide - Basic Configuration.
Issue 01 (2014-07-01)

If an SVF system has only one parent switch, it does not support ISSU upgrade.

During the ISSU upgrade of an SVF system, all the leaf switches must be dual-homed to two parent
switches.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10
CloudEngine Series Switches
SVF Technology White Paper
3 Application
3
Application
This section describes a typical SVF application scenario.
As shown in Figure 3-1, low-cost leaf switches are deployed in server racks to provide servers
with network access. This deployment reduces network construction costs. The parent
switches are deployed in a centralized manner, which simplifies device management and
allows network cables to be routed more neatly.
Figure 3-1 SVF application at the data center access layer
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11
CloudEngine Series Switches
SVF Technology White Paper
4 Configuration Notes
4
Configuration Notes
This section provides notes regarding SVF configuration.
Pay attention to the following points when configuring SVF:

One leaf switch can connect to only one SVF system.

When a single switch is used as the parent switch, you must configure a stack domain ID
for the switch. Otherwise, the SVF system cannot be set up.

When a single switch or a stack of two switches is used as the parent switch, the stack
member ID of the parent switch must be smaller than or equal to 4.
When a parent switch with stack member ID larger than 4 joins an SVF that has only one
parent switch, the existing parent switch assigns a stack member ID that is smaller than
or equal to 4 to the new parent switch.

By default, an unconfigured leaf switch is plug-and-play, and you do not need to perform
any configuration on the switch.
Among the 10GE optical ports on a CE6810-EI switch, only 10GE1/0/41 to 10GE1/0/48
can connect to parent switches. If any one of 10GE1/0/41 to 10GE1/0/48 connects to a
parent switch, the other ports of 10GE1/0/41 to 10GE1/0/48 cannot be used as common
service ports.
On a CE6810-EI, 40GE1/0/1 to 40GE1/0/4 optical ports can connect to parent switches.
If any one of 40GE1/0/1 to 40GE1/0/4 connects to a parent switch, the other ports of
40GE1/0/1 to 40GE1/0/4 cannot be used as common service ports.

Issue 01 (2014-07-01)
When a leaf switch of CE5810-48T4S-EI model connects to a parent switch, connection
mode 1 shown in Figure 4-1 is recommended because it reduces the traffic load of the
stack link between parent switches. If connection mode 2 is used, some upstream traffic
is load balanced to the stack link, increasing the bandwidth pressure of the stack link.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
12
CloudEngine Series Switches
SVF Technology White Paper
4 Configuration Notes
Figure 4-1 Two leaf switches of CE5810-48T4S-EI model connecting to parent switches
iStack
Parent switch
1
Leaf switch
2
LSW 1
3
4
1
LSW 2
2
3
LSW 1
CE5810-48T4S-EI
4
LSW 2
CE5810-48T4S-EI
Mode 1
(recommended)
Mode 2
(not recommended)
1
2
3
4
LSW 1
10GE interface
Forwarding chip
Traffic in mode 1
Traffic in mode 2
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13
CloudEngine Series Switches
SVF Technology White Paper
5 Configuring an SVF System
5
Configuring an SVF System
About This Chapter
This section describes how to configure an SVF system.
Pre-configuration Tasks
Before configuring an SVF system, complete the following task:

Powering on the related devices and ensuring that the self check completes successfully.
5.1 (Optional) Setting Up a Stack Between Parent Switches
5.2 Configuring a Fabric Port
5.3 Configuring the Working Mode of Leaf Switches
5.4 Configuring the Type of Leaf Switch Ports to Be Connected to the Parent Switch
5.5 Connecting Parent and Leaf Switches
5.6 Checking the Configuration
5.1 (Optional) Setting Up a Stack Between Parent Switches
Context
An SVF system can use a single switch or a stack of two switches as the parent switch. Using
a stack of two parent switches can provide redundancy for the SVF system, improving system
reliability.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14
CloudEngine Series Switches
SVF Technology White Paper
5 Configuring an SVF System

To ensure high reliability, you are advised to use a stack of two parent switches in an SVF system.

Currently, an SVF system allows at most two parent switches in a stack.

When a single switch is used as the parent switch, you must configure a stack domain ID for the
switch. Otherwise, the SVF system cannot be set up.

When a single switch or a stack of two switches is used as the parent switch, the stack member ID of
the parent switch must be smaller than or equal to 4.
Procedure
Step 1 Set up a stack between two parent switches by referring to Stack Configuration in the
CloudEngine 7800&6800&5800 Series Switches Configuration Guide - Virtualization.
----End
5.2 Configuring a Fabric Port
Context
A parent switch connects to leaf switches using fabric ports. One or more member ports can
be added to a fabric port to improve SVF link bandwidth and reliability.
You can add member ports to a fabric port using either of the following methods:
1.
Configure service ports as physical stack member ports, and then add them to a fabric
port.
2.
Add service ports to a fabric port directly. The service ports are then automatically
configured as physical stack member ports.

A fabric port can have a maximum of eight member ports.

After a 10GE port is configured as a physical stack member port, the other three 10GE ports in the
same range of 4N+1 to 4N+4 (N = 0, 1, 2, 3...) as this 10GE port are also configured as physical
stack member ports. For example, if you configure 10GE1/0/1 as a physical stack member port,
ports 10GE1/0/1 to 10GE1/0/4 are all configured as physical stack member ports.
Procedure
Step 1 Create a fabric port and bind a leaf ID to it.
1.
Run the system-view command to enter the system view.
2.
Run the interface fabric-port port-id command to create a fabric port.
By default, no fabric port exists in the system. The value of port-id ranges from 1 to 24.
3.
Run the port bind member member-id command to bind a leaf ID to the fabric port.
By default, no leaf ID is bound to a fabric port. The value of member-id ranges from 101
to 254.
Leaf IDs are used to identify and manage leaf switches in an SVF system. Each leaf
switch has a unique leaf ID. Leaf IDs are bound to fabric ports. When a leaf switch
connects to the parent switch, it obtains its leaf ID from the parent switch.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
15
CloudEngine Series Switches
SVF Technology White Paper
4.
5 Configuring an SVF System

Each fabric port can have only one leaf ID bound to it, and each leaf ID can be bound to only one
fabric port.

If you change or delete the leaf ID bound to a fabric port, the leaf switch connected to the fabric port
will restart.
Run the commit command to commit the configuration.
Step 2 (Optional) Configure service ports as physical stack member ports.

You can perform step 2 to configure service ports as physical stack member ports before adding
them to the fabric port, or perform step 3 directly to adding service ports to the fabric port.

The configuration can be performed in the stack management view or interface view. The two
configuration methods obtain the same result.

Configuration in the stack management view:
1.
Run the system-view command to enter the system view.
2.
Run the stack command to enter the stack management view.
3.
Run the port mode stack interface interface-type { interface-number1 [ to
interface-number2 ] } &<1-32> command to configure the specified service ports as
physical stack member ports.
4.
Run the commit command to commit the configuration.

Configuration in the interface view:
1.
Run the system-view command to enter the system view.
2.
Run the interface interface-type interface-number command to enter the interface view.
3.
Run the port mode stack command to configure the service port as a physical stack
member port.
4.
Run the commit command to commit the configuration.
Step 3 Add the service ports or stack member ports to the fabric port.
The configuration can be performed in the fabric port view or interface view. The two configuration
methods obtain the same result.

Configuration in the fabric port view:
1.
Run the system-view command to enter the system view.
2.
Run the interface fabric-port port-id command to enter the fabric port view.
3.
Run the port member-group interface interface-type { interface-number1 [ to
interface-number2 ] } &<1-8> command to add member ports to the fabric port.
4.
Run the commit command to commit the configuration.

Configuration in the interface view:
1.
Run the system-view command to enter the system view.
2.
Run the interface interface-type interface-number command to enter the interface view.
3.
Run the fabric-port port-id command to add the port to the fabric port.
4.
Run the commit command to commit the configuration.
Step 4 (Optional) Configure a load balancing mode for the fabric port.
1.
Run the system-view command to enter the system view.
2.
Run the interface fabric-port port-id command to enter the fabric port view.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
16
CloudEngine Series Switches
SVF Technology White Paper
3.
5 Configuring an SVF System
Run the load-balance { dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac }
command to configure a load balancing mode for the fabric port.
By default, the load balancing mode for a fabric port is src-dst-ip (load balancing based
on the source and destination IP addresses).
4.
Run the commit command to commit the configuration.
----End
5.3 Configuring the Working Mode of Leaf Switches
Context
By default, if a leaf switch starts with no configuration, it performs a negotiation with the
parent switch and attempts to join the SVF system in leaf mode, and you do not need to
perform any configuration on the leaf switch.
If a switch starts with a configuration file, it enters the stack mode by default and cannot join
the SVF system as a leaf switch. In this case, set the working mode of the switch to leaf mode
using the BIOS menu during the startup process or using commands after the switch starts.
The switch will then join the SVF as a leaf switch after each restart.
Procedure

An unconfigured switch is plug-and-play and does not require any manual configuration.
By default, the working mode of a switch is auto-negotiation. That is, an unconfigured switch
is plug-and-play and does not require any manual configuration.

If a switch starts with a configuration file, use either of the following methods to
configure the leaf mode on the switch:
−
Method 1: Use the BIOS menu to set the leaf mode during the startup process.
1.
Log in to the switch through the console port.
2.
During the startup process, press Ctrl+B to enter the BIOS menu. The prompt
information is "Press CTRL+B to enter BIOS menu".
3.
In the BIOS menu, choose 6. Modify stack parameters > 2. Modify stack
configuration > 3. Leaf mode > 3. Return > 1. Continue to boot to set the working
mode of the switch to leaf mode, and then choose to continue the startup process.
−
Method 2: Use the working mode menu to set the leaf mode during the startup
process.
1.
Log in to the switch through the console port.
2.
During the startup process, press Ctrl+Y to enter the working mode menu. The prompt
information is "Press CTRL+Y to modify the switch mode".
3.
In the working mode menu, choose 3. Leaf mode to set the working mode of the switch
to leaf mode, and then the switch automatically restarts.
−
Method 3: Use commands to set the leaf mode after the switch starts.
1.
Run the system-view command to enter the system view.
2.
Run the stack command to enter the stack management view.
3.
Run the switch mode leaf member { member-id | all } command to set the working
mode of the switch to leaf mode.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
17
CloudEngine Series Switches
SVF Technology White Paper
5 Configuring an SVF System
By default, the working mode of a switch is auto-negotiation. That is, the working mode
of a switch is determined through auto-negotiation. After you set the working mode to
leaf, the switch will run in leaf mode after each restart.

The configured working mode takes effect after the switch restarts.

You can run the switch mode auto-negotiation member { member-id | all } command restore the
working mode of a switch to auto-negotiation.
----End
5.4 Configuring the Type of Leaf Switch Ports to Be
Connected to the Parent Switch
Context

This configuration takes effect only for the CE6810-EI.

Among the 10GE optical ports on a CE6810-EI switch, only 10GE1/0/41 to 10GE1/0/48 can
connect to parent switches. If any one of 10GE1/0/41 to 10GE1/0/48 connects to a parent switch, the
other ports of 10GE1/0/41 to 10GE1/0/48 cannot be used as common service ports.
On a CE6810-EI, 40GE1/0/1 to 40GE1/0/4 optical ports can connect to parent switches. If any one
of 40GE1/0/1 to 40GE1/0/4 connects to a parent switch, the other ports of 40GE1/0/1 to 40GE1/0/4
cannot be used as common service ports.
Procedure
Step 1 Method 1: Use the BIOS menu to set the type of leaf switch ports to be connected to the
parent switch during the startup process.
1.
Log in to the switch through the console port.
2.
During the startup process, press Ctrl+B to enter the BIOS menu. The prompt
information is "Press CTRL+B to enter BIOS menu".
3.
In the BIOS menu, choose 6. Modify stack parameters > 2. Modify stack
configuration > 1. Auto negotiation mode/3. Leaf mode > > 3. Return > 1.
Continue to boot to set the type of leaf switch ports to be connected to the parent switch,
and then choose to continue the startup process.
Step 2 Method 2: Use commands to set the type of leaf switch ports to be connected to the parent
switch after the switch starts.
1.
Run the system-view command to enter the system view.
2.
Run the stack command to enter the stack management view.
3.
Run the leaf uplink-port type { 10ge | 40ge } member { member-id | all } command to
set the type of leaf switch ports to be connected to the parent switch.
After you configure the type of leaf switch ports to be connected to a parent switch, restart the switch for
the configuration to take effect.
----End
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
18
CloudEngine Series Switches
SVF Technology White Paper
5 Configuring an SVF System
5.5 Connecting Parent and Leaf Switches
Context
After completing SVF configurations, connect the leaf switches to the parent switches for the
switches to set up an SVF system. If you change the working mode of a leaf switch through
commands or change the type of the port that connects a leaf switch to a parent switch, restart
the leaf switch to make the modification take effect.

One leaf switch can connect to only one SVF system through only one fabric port.

One fabric port can connect to only one leaf switch.

During the setup of an SVF system, there is no order between the software configuration and cable
connection. You can perform the software configuration and then connect cables; alternatively,
connect cables and then perform the software configuration.
5.6 Checking the Configuration
Context
After completing SVF configuration and connecting the parent and leaf switches, you can log
in to any parent switch to check whether the SVF system is set up successfully.
Procedure

Run the display stack [ member member-id ] command to check information about
SVF member switches.

Run the display stack configuration [ member member-id | all | leaf ] command to
check the SVF configuration.

Run the display stack topology [ link | neighbor ] command to check SVF topology
information.
----End
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
19
CloudEngine Series Switches
SVF Technology White Paper
6 Maintaining an SVF System
6
Maintaining an SVF System
About This Chapter
This section describes how to maintain an SVF system.
6.1 Configuring a Heartbeat Timeout Interval for SVF Links
6.2 Disabling Auto-negotiation on a Fabric Port
6.3 Enabling the Single-Homing Alarm Function for Leaf Switches
6.1 Configuring a Heartbeat Timeout Interval for SVF
Links
Context
In an SVF system, the parent and leaf switches exchange heartbeat packets to maintain link
connections between them. If no heartbeat packet is transmitted on an SVF link within the
timeout interval, the SVF link is considered abnormal. If SVF links are unstable, you can
increase the heartbeat timeout interval of SVF links to maintain SVF system stability. If SVF
links are stable, you can shorten the heartbeat timeout interval of SVF links to ensure that
traffic can be switched in a timely manner in case of link failures.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface fabric-port port-id command to enter the fabric port view.
Step 3 Run the port holdtime hold-time command to set a heartbeat timeout interval for SVF links
of the fabric port.
By default, the heartbeat timeout interval of SVF links is 40 seconds.
Step 4 Run the commit command to commit the configuration.
----End
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
20
CloudEngine Series Switches
SVF Technology White Paper
6 Maintaining an SVF System
6.2 Disabling Auto-negotiation on a Fabric Port
Context
To prevent the switch connected to a fabric port from connecting to the SVF system
mistakenly, you can disable auto-negotiation on the fabric port. After auto-negotiation is
disabled, the unconfigured switch connected to the fabric port cannot join the SVF system
through auto-negotiation. If the working mode of this switch has been set to the leaf mode
using the switch mode leaf member { member-id | all } command, the switch can still join
the SVF system.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface fabric-port port-id command to enter the fabric port view.
Step 3 Run the leaf negotiation disable command to disable auto-negotiation on the fabric port.
By default, auto-negotiation is enabled on a fabric port.
Step 4 Run the commit command to commit the configuration.
----End
6.3 Enabling the Single-Homing Alarm Function for Leaf
Switches
Context
On a network requiring high reliability, each leaf switch needs to connect to multiple parent
switches. After the single-homing alarm function is enabled, the SVF system generates an
alarm if a leaf switch connects to only one parent switch.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the stack command to enter the stack management view.
Step 3 Run the leaf single-homed alarm enable command to enable the single-homing alarm
function for leaf switches.
By default, the single-homing alarm function is disabled.
Step 4 Run the commit command to commit the configuration.
----End
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21
CloudEngine Series Switches
SVF Technology White Paper
7 Configuration Examples
7
Configuration Examples
About This Chapter
This section provides an SVF configuration example, including the networking requirements,
configuration roadmap, and configuration procedure.
7.1 Example for Setting Up an SVF System
7.1 Example for Setting Up an SVF System
Networking Requirements
As a data center network expands, ports provided by access switches are not sufficient for
server access. To meet server access requirements, the number of access ports needs to be
increased while protecting the previous equipment investment, and the network must be easy
to manage and expand.
An SVF system can be set up on the network to meet the preceding requirements. As shown
in Figure 7-1, SwitchA and SwitchB can set up a stack and function as parent switches to
connect to multiple leaf switches. SwitchA is the master switch of the stack and its stack
member ID is 1. SwitchB is the standby switch and its stack member ID is 2.
In this example, the parent switches are CE6850-48S4Q-EI switches, and the leaf switches are
CE5810-48T4S-EI switches.
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
22
CloudEngine Series Switches
SVF Technology White Paper
7 Configuration Examples
Figure 7-1 SVF networking diagram
iStack Link
SwitchA
SwitchB
10GE1/0/1~10GE1/0/3
10GE2/0/1~10GE2/0/3
ID=101
ID=103
ID=102
Configuration Roadmap
The configuration roadmap is as follows:
1.
Set up a stack between the parent switches to ensure high reliability of the SVF system.
2.
Configure fabric ports on the parent switches so that leaf switches can connect to the
parent switches.
3.
Connect leaf switches to the parent switches.
Procedure
Step 1 Set up a stack between SwitchA and SwitchB. For the configuration procedure, see Stack
Configuration in the CloudEngine 7800&6800&5800 Series Switches Configuration Guide
- Virtualization.
Step 2 Log in to the stack to complete SVF configuration.
# Configure fabric port 1, add member ports 10GE1/0/1 and 10GE2/0/1 to fabric port 1, and
bind leaf ID 101 to it.
<SwitchA> system-view
[~SwitchA] interface fabric-port 1
[*SwitchA-Fabric-Port1] port bind member 101
[*SwitchA-Fabric-Port1] port member-group interface 10ge 1/0/1 2/0/1
Warning: The interface(s) (10GE1/0/1-1/0/4,10GE2/0/1-2/0/4) will be converted to stack
mode. [Y/N]: y
[*SwitchA-Fabric-Port1] quit
[*SwitchA] commit
# Configure fabric port 2, add member ports 10GE1/0/2 and 10GE2/0/2 to fabric port 2, and
bind leaf ID 102 to it.
[~SwitchA] interface fabric-port 2
[*SwitchA-Fabric-Port2] port bind member 102
[*SwitchA-Fabric-Port2] port member-group interface 10ge 1/0/2 2/0/2
[*SwitchA-Fabric-Port2] quit
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
23
CloudEngine Series Switches
SVF Technology White Paper
7 Configuration Examples
[*SwitchA] commit
# Configure fabric port 3, add member ports 10GE1/0/3 and 10GE2/0/3 to fabric port 3, and
bind leaf ID 103 to it.
[~SwitchA] interface fabric-port 3
[*SwitchA-Fabric-Port3] port bind member 103
[*SwitchA-Fabric-Port3] port member-group interface 10ge 1/0/3 2/0/3
[*SwitchA-Fabric-Port3] commit
[~SwitchA-Fabric-Port3] return
Step 3 Connect leaf switches to the parent switches and power on the leaf switches. The leaf
switches connect to the parent switches through uplink 10GE ports.
This example assumes that the leaf switches are unconfigured switches and can join the SVF system
through auto-negotiation. No manual configuration is required on the leaf switches.
Step 4 Verify the configuration.
# Check information about the SVF member switches.
<SwitchA> display stack
---------------------------------------------------------------MemberID Role
MAC
Priority Device Type
---------------------------------------------------------------1
Master 0004-9f31-d520 150
CE6850-48S4Q-EI
2
Standby 0004-9f62-1f40 100
CE6850-48S4Q-EI
101
Leaf
0001-0406-0800 N/A
CE5810-48T4S-EI
102
Leaf
0025-9e95-7c30 N/A
CE5810-48T4S-EI
103
Leaf
0015-3e65-7f40 N/A
CE5810-48T4S-EI
----------------------------------------------------------------
# Check the SVF configuration.
<SwitchA> display stack configuration
Oper
: Operation
Conf
: Configuration
*
: Offline configuration
Isolated Port : The port is in stack mode, but does not belong to any Stack-Port
or Fabric-Port
Spine Attribute Configuration:
-------------------------------------------------MemberID
Domain
Priority
Oper(Conf)
Oper(Conf)
Oper(Conf)
-------------------------------------------------1(1)
10(10)
150(150)
2(2)
10(10)
100(100)
-------------------------------------------------Stack-Port Configuration:
------------------------------------------------------------------------------Stack-Port
Member Ports
------------------------------------------------------------------------------Stack-Port1/1 40GE1/0/1
40GE1/0/2
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
24
CloudEngine Series Switches
SVF Technology White Paper
7 Configuration Examples
Stack-Port2/1 40GE2/0/1
40GE2/0/2
------------------------------------------------------------------------------Fabric-Port Configuration:
--------------------------------------------------------------------------------Fabric-Port
BindMember Ports
--------------------------------------------------------------------------------Fabric-Port1
101
10GE1/0/1 10GE2/0/1
Fabric-Port2
102
10GE1/0/2 10GE2/0/2
Fabric-Port3
103
10GE1/0/3 10GE2/0/3
--------------------------------------------------------------------------------Isolated Port Configuration:
10GE1/0/4
10GE2/0/4
Leaf Attribute Configuration:
--------------------------------------------MemberID
Switch Mode
Uplink Port
Oper(Conf)
Oper(Conf)
--------------------------------------------101
Auto(Auto)
10GE(10GE)
102
Auto(Auto)
10GE(10GE)
103
Auto(Auto)
10GE(10GE)
---------------------------------------------
----End
Configuration Files

Configuration file of the SVF system
#
sysname SwitchA
#
stack
#
stack member 1 domain 10
stack member 1 priority 150
#
stack member 2 domain 10
#
interface Fabric-Port1
port bind member 101
#
interface Fabric-Port2
port bind member 102
#
interface Fabric-Port3
port bind member 103
#
interface Stack-Port1/1
#
interface Stack-Port2/1
#
interface 10GE1/0/1
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
25
CloudEngine Series Switches
SVF Technology White Paper
7 Configuration Examples
port mode stack
fabric-port 1
#
interface 10GE1/0/2
port mode stack
fabric-port 2
#
interface 10GE1/0/3
port mode stack
fabric-port 3
#
interface 10GE1/0/4
port mode stack
#
interface 40GE1/0/1
port mode stack
stack-port 1/1
#
interface 40GE1/0/2
port mode stack
stack-port 1/1
#
interface 10GE2/0/1
port mode stack
fabric-port 1
#
interface 10GE2/0/2
port mode stack
fabric-port 2
#
interface 10GE2/0/3
port mode stack
fabric-port 3
#
interface 10GE2/0/4
port mode stack
#
interface 40GE2/0/1
port mode stack
stack-port 2/1
#
interface 40GE2/0/2
port mode stack
stack-port 2/1
#
return
Issue 01 (2014-07-01)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
26
Download PDF