Huawei Quidway S6700 Configuration Guide - Reliability

Quidway S6700 Series Ethernet Switches
V100R006C00
Configuration Guide - Reliability
Issue 01
Date 2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2011. All rights reserved.
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 the 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 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i
DANGER
WARNING
CAUTION
TIP
NOTE
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability About This Document

About This Document

Intended Audience
This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the reliability supported by the S6700.
This document describes how to configure the reliability.
This document is intended for:
l Data configuration engineers
l Commissioning engineers
l Network monitoring engineers
l System maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
Indicates a hazard with a high level of risk, which if not avoided, will result in death or serious injury.
Indicates a hazard with a medium or low level of risk, which if not avoided, could result in minor or moderate injury.
Indicates a potentially hazardous situation, which if not avoided, could result in equipment damage, data loss, performance degradation, or unexpected results.
Indicates a tip that may help you solve a problem or save time.
Provides additional information to emphasize or supplement important points of the main text.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ii
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability About This Document
Command Conventions
The command conventions that may be found in this document are defined as follows.
Convention Description
Boldface The keywords of a command line are in boldface.
Italic Command arguments are in italics.
[ ] Items (keywords or arguments) in brackets [ ] are optional.
{ x | y | ... } Optional items are grouped in braces and separated by
vertical bars. One item is selected.
[ x | y | ... ] Optional items are grouped in brackets and separated by
vertical bars. One item is selected or no item is selected.
{ x | y | ... }
[ x | y | ... ]
&<1-n> The parameter before the & sign can be repeated 1 to n times.
# A line starting with the # sign is comments.
*
*
Change History
Updates between document issues are cumulative. Therefore, the latest document issue contains all changes made in previous issues.
Changes in Issue 01 (2011-07-15)
Initial commercial release.
Optional items are grouped in braces and separated by vertical bars. A minimum of one item or a maximum of all items can be selected.
Optional items are grouped in brackets and separated by vertical bars. Several items or no item can be selected.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iii
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents

Contents

About This Document.....................................................................................................................ii
1 DLDP Configuration.....................................................................................................................1
1.1 Introduction to DLDP.........................................................................................................................................2
1.2 Configuring DLDP Functions............................................................................................................................3
1.2.1 Establishing the Configuration Task.........................................................................................................3
1.2.2 Enabling DLDP.........................................................................................................................................3
1.2.3 (Optional) Setting the Operating Mode of DLDP.....................................................................................4
1.2.4 (Optional) Enabling DLDP Compatible Mode..........................................................................................5
1.2.5 (Optional) Setting the Interval for Sending Advertisement Packets.........................................................6
1.2.6 (Optional) Setting the Delay Down Timer................................................................................................6
1.2.7 (Optional) Setting the Interface Blocking Mode.......................................................................................7
1.2.8 (Optional) Setting the Authentication Mode of DLDP Packets................................................................8
1.2.9 Checking the Configuration.......................................................................................................................8
1.3 Resetting the DLDP Status.................................................................................................................................9
1.3.1 Establishing the Configuration Task.........................................................................................................9
1.3.2 Resetting the DLDP Status Globally.........................................................................................................9
1.3.3 Resetting the DLDP Status of an Interface..............................................................................................10
1.3.4 Checking the Configuration.....................................................................................................................10
1.4 Maintaining DLDP...........................................................................................................................................11
1.4.1 Clearing the Statistics of DLDP..............................................................................................................11
1.5 Configuration Examples...................................................................................................................................12
1.5.1 Example for Configuring DLDP.............................................................................................................12
2 Smart Link and Monitor Link Configuration........................................................................15
2.1 Smart Link and Monitor Link...........................................................................................................................16
2.2 Configuring a Smart Link Group......................................................................................................................16
2.2.1 Establishing the Configuration Task.......................................................................................................16
2.2.2 Creating and Enabling a Smart Link Group............................................................................................18
2.2.3 Configuring the Master and Slave Interfaces in a Smart Link Group.....................................................18
2.2.4 Enabling the Sending of Flush Packets...................................................................................................19
2.2.5 (Optional) Configuring Load Balancing in a Smart Link Group............................................................20
2.2.6 (Optional) Enabling Revertive Switching and Setting the WTR Time...................................................21
2.2.7 (Optional) Enabling the Receiving of Flush Packets...............................................................................22
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
iv
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents
2.2.8 (Optional) Setting the Holdtime of the Smart Link Switchover..............................................................23
2.2.9 Enabling the Functions of the Smart Link Group....................................................................................23
2.2.10 Checking the Configuration...................................................................................................................24
2.3 Configuring a Flow Control Policy in a Smart Link Group.............................................................................25
2.3.1 Establishing the Configuration Task.......................................................................................................25
2.3.2 Locking Data Flows on the Master Interface..........................................................................................26
2.3.3 Locking Data Flows on the Slave Interface.............................................................................................26
2.3.4 Switching Data Flows Manually.............................................................................................................27
2.3.5 Checking the Configuration.....................................................................................................................27
2.4 Configuring a Monitor Link Group..................................................................................................................28
2.4.1 Establishing the Configuration Task.......................................................................................................28
2.4.2 Creating a Monitor Link Group...............................................................................................................30
2.4.3 Configuring the Uplink and Downlink Interfaces in a Monitor Link Group..........................................30
2.4.4 Setting the Revertive Switching Interval of a Monitor Link group.........................................................31
2.4.5 Checking the Configuration.....................................................................................................................32
2.5 Maintaining the Smart Link..............................................................................................................................32
2.5.1 Debugging the Smart Link......................................................................................................................32
2.6 Configuration Examples...................................................................................................................................33
2.6.1 Example for Configuring Basic Functions of Smart Link.......................................................................33
2.6.2 Example for Configuring Load Balancing Between Active and Standby Links of a Smart Link Group
..........................................................................................................................................................................37
2.6.3 Example for Applying the Smart Link Functions...................................................................................41
3 RRPP Configuration...................................................................................................................47
3.1 Overview of RRPP...........................................................................................................................................48
3.2 RRPP Features Supported by the S6700..........................................................................................................48
3.3 Configuring RRPP Functions...........................................................................................................................53
3.3.1 Establishing the Configuration Task.......................................................................................................53
3.3.2 Creating Instances....................................................................................................................................53
3.3.3 Configuring Interfaces on the RRPP Ring..............................................................................................54
3.3.4 Creating the RRPP Domain.....................................................................................................................55
3.3.5 Creating the Control VLAN....................................................................................................................56
3.3.6 Specifying Protected VLANs..................................................................................................................57
3.3.7 Creating an RRPP Ring...........................................................................................................................57
3.3.8 Enabling the RRPP Ring.........................................................................................................................58
3.3.9 Enabling RRPP........................................................................................................................................59
3.3.10 (Optional) Setting the Values of RRPP Domain Timers.......................................................................59
3.3.11 Checking the Configuration...................................................................................................................60
3.4 Configuring RRPP Multi-Instance...................................................................................................................61
3.4.1 Establishing the Configuration Task.......................................................................................................62
3.4.2 Creating Instances....................................................................................................................................63
3.4.3 Configuring Interfaces on the RRPP Ring..............................................................................................64
3.4.4 Creating an RRPP Domain......................................................................................................................65
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
v
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents
3.4.5 Specifying Protected VLANs..................................................................................................................66
3.4.6 Creating a Control VLAN.......................................................................................................................66
3.4.7 Creating an RRPP Ring...........................................................................................................................67
3.4.8 Enabling the RRPP Ring.........................................................................................................................68
3.4.9 Enabling the RRPP Protocol....................................................................................................................69
3.4.10 (Optional) Creating a RRPP Ring Group..............................................................................................69
3.4.11 (Optional) Configuring the Delay for Link Restoration........................................................................70
3.4.12 (Optional) Setting the Hello Timer and Fail Timer of an RRPP Domain.............................................70
3.4.13 Checking the Configuration...................................................................................................................71
3.5 Maintaining RRPP............................................................................................................................................72
3.5.1 Clearing RRPP Running Information......................................................................................................73
3.5.2 Debugging RRPP.....................................................................................................................................73
3.6 Configuration Examples...................................................................................................................................73
3.6.1 Example for Configuring a Single RRPP Ring.......................................................................................74
3.6.2 Example for Configuring Crossed RRPP Rings with a Single Instance.................................................79
3.6.3 Example for Configuring Tangent RRPP Rings......................................................................................88
3.6.4 Example for Configuring a Single RRPP Ring with Multiple Instances................................................97
3.6.5 Example for Configuring Crossed RRPP Rings with Multiple Instances (HW version)......................109
3.6.6 Example for Configuring Tangent RRPP Rings with Multiple Instances.............................................130
4 Ethernet OAM Configuration-EFM.......................................................................................148
4.1 Introduction to Ethernet OAM.......................................................................................................................150
4.2 Ethernet OAM Supported by the S6700.........................................................................................................150
4.3 Configuring Basic EFM OAM.......................................................................................................................152
4.3.1 Establishing the Configuration Task.....................................................................................................152
4.3.2 Enabling EFM OAM Globally..............................................................................................................152
4.3.3 Configuring the Working Mode of EFM OAM on an Interface...........................................................153
4.3.4 (Optional) Setting the Maximum Size of an EFM OAMPDU..............................................................154
4.3.5 Enabling EFM OAM on an Interface....................................................................................................154
4.3.6 Checking the Configuration...................................................................................................................155
4.4 Configuring EFM OAM Link Monitoring.....................................................................................................156
4.4.1 Establishing the Configuration Task.....................................................................................................156
4.4.2 (Optional) Detecting Errored Frames of EFM OAM............................................................................156
4.4.3 (Optional) Detecting Errored Codes of EFM OAM..............................................................................157
4.4.4 (Optional) Detecting Errored Frame Seconds of EFM OAM...............................................................158
4.4.5 (Optional) Associating a Threshold Crossing Event with an Interface.................................................159
4.4.6 Checking the Configuration...................................................................................................................160
4.5 Testing the Packet Loss Ratio on the Physical Link......................................................................................160
4.5.1 Establishing the Configuration Task.....................................................................................................161
4.5.2 Enabling EFM OAM Remote Loopback...............................................................................................162
4.5.3 Sending Test Packets.............................................................................................................................162
4.5.4 Checking the Statistics on Returned Test Packets.................................................................................163
4.5.5 (Optional) Manually Disabling EFM OAM Remote Loopback............................................................164
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vi
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents
4.5.6 Checking the Configuration...................................................................................................................164
4.6 Associating EFM OAM with an Interface......................................................................................................165
4.6.1 Establishing the Configuration Task.....................................................................................................165
4.6.2 Associating EFM OAM with an Interface.............................................................................................166
4.6.3 (Optional) Setting the Faulty-State Hold Timer....................................................................................167
4.6.4 Checking the Configuration...................................................................................................................168
4.7 Configuring Association Between an EFM OAM Session and an Interface (Triggering the Physical Status of
the Interface Associated with the EFM OAM Session to Become Down)...........................................................169
4.7.1 Establishing the Configuration Task.....................................................................................................169
4.7.2 Configuring Association Between an EFM OAM Session and an Interface.........................................170
4.7.3 Checking the Configuration...................................................................................................................171
4.8 Maintaining Ethernet OAM............................................................................................................................172
4.8.1 Debugging EFM OAM..........................................................................................................................172
4.9 Configuration Examples.................................................................................................................................173
4.9.1 Example for Configuring EFM OAM...................................................................................................173
4.9.2 Example for Configuring Association Between an EFM OAM Module and an Interface...................176
4.9.3 Example for Configuring Association Between EFM OAM Modules.................................................178
5 BFD Configuration....................................................................................................................182
5.1 BFD Overview................................................................................................................................................183
5.2 BFD Features Supported by the S6700..........................................................................................................183
5.3 Configuring Single-hop BFD.........................................................................................................................185
5.3.1 Establishing the Configuration Task.....................................................................................................185
5.3.2 Enabling BFD Globally.........................................................................................................................186
5.3.3 (Optional) Setting the Multicast IP Address of BFD............................................................................186
5.3.4 Creating a BFD Session.........................................................................................................................187
5.3.5 Checking the Configuration...................................................................................................................188
5.4 Configuring the Multi-Hop BFD....................................................................................................................189
5.4.1 Establishing the Configuration Task.....................................................................................................189
5.4.2 Enabling BFD Globally.........................................................................................................................190
5.4.3 Creating a BFD Session.........................................................................................................................190
5.4.4 Checking the Configuration...................................................................................................................191
5.5 Configuring a BFD Session with Automatically Negotiated Discriminators.................................................193
5.5.1 Establishing the Configuration Task.....................................................................................................193
5.5.2 Enabling BFD Globally.........................................................................................................................194
5.5.3 Configuring a Static BFD Session with Automatically Negotiated Discriminators.............................194
5.5.4 Checking the Configuration...................................................................................................................195
5.6 Adjusting BFD Parameters.............................................................................................................................196
5.6.1 Establishing the Configuration Task.....................................................................................................196
5.6.2 Adjusting the BFD Detection Time.......................................................................................................196
5.6.3 Adding the Description of a BFD Session.............................................................................................197
5.6.4 Configuring the BFD WTR...................................................................................................................198
5.6.5 Setting the Priority of BFD Packets......................................................................................................199
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vii
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents
5.6.6 Checking the Configuration...................................................................................................................199
5.7 Configuring the Interval at Which Trap Messages Are Sent..........................................................................200
5.7.1 Establishing the Configuration Task.....................................................................................................200
5.7.2 Configuring the Interval at Which Trap Messages Are Sent.................................................................201
5.7.3 Checking the Configuration...................................................................................................................201
5.8 Maintaining BFD............................................................................................................................................202
5.8.1 Clearing BFD Statistics.........................................................................................................................202
5.8.2 Debugging BFD.....................................................................................................................................202
5.9 Configuration Examples.................................................................................................................................203
5.9.1 Example for Configuring Single-Hop BFD on a Layer 2 Interface......................................................203
5.9.2 Example for Configuring Single-Hop BFD on a VLANIF Interface....................................................205
5.9.3 Example for Configuring Multi-Hop BFD............................................................................................209
6 VRRP and VRRP6 Configuration...........................................................................................213
6.1 VRRP Overview.............................................................................................................................................215
6.2 VRRP Features Supported by the S6700........................................................................................................215
6.3 Configuring the VRRP Backup Group...........................................................................................................217
6.3.1 Establishing the Configuration Task.....................................................................................................217
6.3.2 Creating a Backup Group and Configuring a Virtual IP Address.........................................................218
6.3.3 Configuring Priorities for Interfaces Where a Backup Group Is Created.............................................221
6.3.4 (Optional) Configuring the Sending Mode of VRRP Packets in Super-VLAN....................................222
6.3.5 Checking the Configuration...................................................................................................................222
6.4 Configuring VRRP to Track the Status of an Interface..................................................................................224
6.4.1 Establishing the Configuration Task.....................................................................................................224
6.4.2 Configuring VRRP to Track the Status of an Interface.........................................................................225
6.4.3 Checking the Configuration...................................................................................................................226
6.5 Configuring VRRP to Tracking the BFD Session Status...............................................................................227
6.5.1 Establishing the Configuration Task.....................................................................................................228
6.5.2 Tracking the Status of a BFD Session...................................................................................................228
6.5.3 Checking the Configuration...................................................................................................................230
6.6 Configuring VRRP Security...........................................................................................................................231
6.6.1 Establishing the Configuration Task.....................................................................................................231
6.6.2 Configuring the Authentication Mode of VRRP Packets......................................................................232
6.6.3 Checking the Configuration...................................................................................................................233
6.7 Adjusting and Optimizing VRRP...................................................................................................................233
6.7.1 Establishing the Configuration Task.....................................................................................................233
6.7.2 Configuring the Interval for Sending VRRP Advertising Messages.....................................................234
6.7.3 Configuring the Preemption Delay Time of Backup Group Switch s...................................................236
6.7.4 Enabling the Reachability Test of the Virtual IP Address.....................................................................238
6.7.5 Disabling a Switch from Checking Number of Hops in VRRP Packets...............................................238
6.7.6 Configuring the Timeout Time of Sending Gratuitous ARP Packets by the Master router..................239
6.7.7 Checking the Configuration...................................................................................................................240
6.8 Configuring mVRRP Backup Groups............................................................................................................241
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
viii
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability Contents
6.8.1 Establishing the Configuration Task.....................................................................................................241
6.8.2 Configuring mVRRP Backup Group.....................................................................................................242
6.8.3 (Optional) Configuring Member VRRP Backup Groups and Binding them to the mVRRP Backup Group
........................................................................................................................................................................243
6.8.4 Checking the Configuration...................................................................................................................245
6.9 Configuring VRRP Version Upgrade.............................................................................................................246
6.9.1 Establishing the Configuration Task.....................................................................................................246
6.9.2 Configuring VRRPv3............................................................................................................................246
6.9.3 Checking the Configuration...................................................................................................................247
6.10 Maintaining VRRP.......................................................................................................................................247
6.10.1 Debugging VRRP................................................................................................................................247
6.11 Configuration Examples...............................................................................................................................248
6.11.1 Example for Configuring VRRP in Master/Backup Mode.................................................................248
6.11.2 Example for Configuring VRRP in Load Balancing Mode................................................................254
6.11.3 Example for Configuring VRRP Fast Switchover..............................................................................259
6.11.4 Example for Configuring VRRP6 on an Interface..............................................................................264
6.11.5 Example for Configuring VRRP6 in Load Balancing Mode..............................................................267
7 MAC Swap Loopback Configuration....................................................................................272
7.1 MAC Swap Loopback Overview...................................................................................................................273
7.2 MAC Swap Loopback Features Supported by the S6700..............................................................................273
7.3 Configuring Local MAC Swap Loopback......................................................................................................274
7.3.1 Establishing the Configuration Task.....................................................................................................274
7.3.2 Configuring Local MAC Swap Loopback.............................................................................................275
7.3.3 Enabling the MAC Swap Loopback Function.......................................................................................276
7.3.4 Disabling the MAC Swap Loopback Function......................................................................................276
7.3.5 Checking the Configuration...................................................................................................................277
7.4 Configuring Remote MAC Swap Loopback..................................................................................................278
7.4.1 Establishing the Configuration Task.....................................................................................................278
7.4.2 Configuring Remote MAC Swap Loopback.........................................................................................279
7.4.3 Enabling the MAC Swap Loopback Function.......................................................................................279
7.4.4 Disabling the MAC Swap Loopback Function......................................................................................280
7.4.5 Checking the Configuration...................................................................................................................281
7.5 Configuration Examples.................................................................................................................................281
7.5.1 Example for Configuring Local MAC Swap Loopback........................................................................281
7.5.2 Example for Configuring Remote MAC Swap Loopback....................................................................283
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ix
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration

1 DLDP Configuration

About This Chapter
This chapter describes the principle, configuration procedure, and configuration example of the Device Link Detection Protocol (DLDP).
1.1 Introduction to DLDP
This section describes the concept of DLDP.
1.2 Configuring DLDP Functions
This section describes how to configure DLDP functions.
1.3 Resetting the DLDP Status
This section describes how to reset the DLDP status.
1.4 Maintaining DLDP
This section describes how to maintain DLDP.
1.5 Configuration Examples
This section provides a configuration example of DLDP.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1
XGE0/0/1
XGE0/0/1
XGE0/0/2
XGE0/0/2
SwitchA
SwitchB
SwitchB
XGE0/0/1
XGE0/0/1
SwitchA
RX
TX
RX
TX
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration

1.1 Introduction to DLDP

This section describes the concept of DLDP.
On a network, unidirectional link faults often occur. That is, the local device can receive packets from the remote device through the link layer, but the remote device cannot receive packets from the local device.
Take the fiber as an example. The fault of unidirectional link may be caused by crossed connection of fibers or disconnection of one fiber.
Figure 1-1 Crossed connection of fibers
Figure 1-2 Disconnection of one fiber
DLDP can detect the link status of fibers or copper twisted pairs. If a unidirectional link exists, DLDP automatically disables the interface or prompts the user to manually disable the interface. This prevents network faults. Currently, the S6700 supports DLDP detection for up to 256 neighbors.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
As a link layer protocol, DLDP works with the physical layer protocol to detect the link status. The auto negotiation mechanism on the physical link detects physical signals and faults on the physical link, and DLDP identifies the remote device and unidirectional link and disables
Copyright © Huawei Technologies Co., Ltd.
2
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
unreachable interfaces. The auto negotiation mechanism and DLDP work together to detect and close unidirectional links on the physical and logical interfaces. If the interfaces on both ends of the link work normally on the physical layer, DLDP checks the connection and packet exchange between the two interfaces on the link layer. This process cannot be implemented through the auto negotiation mechanism.

1.2 Configuring DLDP Functions

This section describes how to configure DLDP functions.

1.2.1 Establishing the Configuration Task

Applicable Environment
On a network, unidirectional link faults often occur. To prevent network faults caused by unidirectional links, you can enable DLDP on interfaces at two ends of a pair of fibers or a copper twisted pair to monitor the link status. If a unidirectional link exists, DLDP automatically disables the interface connected to the link or prompts you to manually disable the interface.
Unidirectional links can be tested only when the devices on both ends of the fibers and copper twisted pairs support DLDP functions.
Pre-configuration Tasks
Before configuring DLDP, complete the following task:
l Configuring the interfaces at both ends to work in non-auto-negotiation mode
Data Preparation
To configure DLDP, you need the following data.
No.
1 Type and number of each interface
2 (Optional)Name of the interface group
3 (Optional) Interval for sending Advertisement packets
4 (Optional) Value of the Delay Down timer
Data

1.2.2 Enabling DLDP

Procedure
Step 1 Run:
system-view
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
The system view is displayed.
Step 2 Run:
dldp enable
DLDP is enabled globally.
Step 3 Run:
interface interface-type interface-number
The Ethernet interface view is displayed.
Or run:
port-group port-group-name
The interface group view is displayed.
Step 4 Run:
dldp enable
DLDP is enabled on the interface.
By default, DLDP is disabled globally and on each interface.
----End

1.2.3 (Optional) Setting the Operating Mode of DLDP

Context
If DLDP works in normal mode, the system can identify only one type of unidirectional link, that is, the crossed connection of fibers. In this mode, the system does not use any timer, so it cannot detect that a bidirectional link changes to a unidirectional link.
If DLDP works in enhanced mode, the system can identify two types of unidirectional links, that is, the crossed connection of fibers and the connection where one fiber is disconnected. To detect the unidirectional link caused by disconnection of one fiber, you need to manually set the rate and full-duplex mode of the interconnected ports; otherwise, DLDP does not take effect even if it is enabled. When a bidirectional link changes to a unidirectional link, the port where the Tx fiber receives optical signals is in Disable state, and the port where the Tx fiber receives no optical signals is in Inactive state.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dldp work-mode { enhance | normal }
The operation mode of DLDP is set.
By default, the operation mode of DLDP is enhance mode.
----End
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration

1.2.4 (Optional) Enabling DLDP Compatible Mode

Context
If the S6700 needs to work with the following Huawei switches to provide the DLDP function, this task is required. The software versions of the following switches must support the DLDP function:
l S8500
l S7800
l S6500
l S5600
l S5100–EI
l S3900
l S3500
l S3100
Procedure
Step 1 Run:
Step 2 Run:
Step 3 Run:
system-view
The system view is displayed.
bpdu mac-address mac-address [ mac-address-mask ]
The S6700 is configured to use the BPDU MAC address 010F-E200-0001 to send DLDP packets.
The MAC addresses used for sending DLDP packets on the S6700 and on the old Huawei switches are different. Therefore, the S6700 must be configured to use BPDU MAC address 10F-E200-0001 to send DLDP packets.
interface interface-type interface-number
The interface view is displayed.
Or run:
port-group port-group-name
The port group view is displayed.
Step 4 Run:
dldp compatible-mode enable
The DLDP compatible mode is enabled.
If two devices are connected by using two links, the DLDP compatible mode must be enabled or disabled on both the two interfaces.
If devices at both ends are S6700s, the interfaces at both ends must use the same DLDP compatible mode. That is, you must enable or disable the DLDP compatible mode simultaneously on the interfaces.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
Step 5 Run:
dldp compatible-mode local-mac
The DLDP packets sent in the DLDP compatible mode contain MAC addresses.
After the DLDP compatible mode is enabled on the S6700, the peer device of the S6700 may discover multiple neighbors, causing DLDP flapping. The dldp compatible-mode local-mac command can prevent this problem.
NOTE
At least one bit in the MAC address must be 0, and the MAC address cannot be a multicast MAC address.
----End

1.2.5 (Optional) Setting the Interval for Sending Advertisement Packets

Context
Procedure
Step 1 Run:
Step 2 Run:
Do as follows on the S6700 that needs to run DLDP.
system-view
The system view is displayed.
dldp interval time
The interval for sending Advertisement packets is set.
By default, the interval for sending Advertisement packets is 5 seconds.
The interval for sending Advertisement packets must be smaller than one third of the STP convergence time. If the interval is too long, STP loops occur before a unidirectional link is shut down on a DLDP interface. If the interval is too short, traffic on the network increases.
NOTE
Ensure that the interval for sending Advertisement packets is the same on the local and remote devices that are connected through fibers or copper twisted pairs.
----End

1.2.6 (Optional) Setting the Delay Down Timer

Procedure
Step 1 Run:
system-view
The system view is displayed.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
Step 2 Run:
dldp delaydown-timer time
The Delay Down timer is set.
By default, the Delay Down timer is 1 second.
If DLDP receives a Port-Down event when it is in Active, Advertisement, or Probe state, DLDP will enter Inactive state and clear the neighbor information. In certain cases, the port is Down for a very short time. For example, failure of the Tx fiber on a port may cause jitter of optical signals on the Rx fiber, that is, the port becomes Down and then becomes Up again. To prevent the neighbor information from being deleted immediately in this case, DLDP first enters the DelayDown state and starts the DelayDown timer. Before the DelayDown timer times out, DLDP retains the neighbor information and responds to only Port-Up events.
l If DLDP does not receive any Port-Up event when the DelayDown timer times out, it deletes
the neighbor information and enters the Inactive state.
l If DLDP receives the Port-Up event before the DelayDown timer times out, it returns to the
previous state.
The Delay Down timer applies to all DLDP interfaces.
----End

1.2.7 (Optional) Setting the Interface Blocking Mode

Context
When a unidirectional link is detected, DLDP blocks the corresponding interface in either of the following ways:
l Manual mode: This mode can prevent DLDP from blocking the interface immediately to
affect packet forwarding when the network performance is poor. It is a compromise mode used to prevent an interface from being blocked because of incorrect judgment of the system. In this mode, DLDP detects the unidirectional link, and the network administrator blocks the interface manually. When the DLDP state machine detects a unidirectional link, the system records the log and sends trap messages to prompt you the network administrator to block the interface manually. Then the DLDP state machine changes to the Disable state.
l Automatic mode: It is the default mode. When a unidirectional link is detected, the DLDP
state machine changes to the Disable state, and the system records the log, sends trap messages, and sets the interface state to Blocking.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dldp unidirectional-shutdown { auto | manual }
The mode of blocking interfaces when a unidirectional link fault is detected is set.
By default, DLDP automatically blocks the interface when a unidirectional link fault is detected.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
An interface in DLDP Down state still sends RecoverProbe packets periodically. If correct RecoverEcho packets are received, it indicates that the unidirectional link changes to the bidirectional link and the DLDP status becomes Up.
----End

1.2.8 (Optional) Setting the Authentication Mode of DLDP Packets

Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dldp authentication-mode { md5 md5-password | none | simple simple-password }
The DLDP authentication mode used between the interfaces of the S6700 and the remote device is set.
By default, the DLDP authentication mode used between the interfaces of the S6700 and the remote device is none. That is, DLDP packets are not authenticated.
NOTE
Ensure that the local and remote devices use the same authentication mode and same authentication password; otherwise, the DLDP authentication fails. DLDP works normally only after the DLDP authentication succeeds.
----End

1.2.9 Checking the Configuration

Procedure
Step 1 Run the display dldp [ interface interface-type interface-number ] command to check the DLDP
configuration and neighbor entries.
----End
Example
Run the display dldp command, and you can view the operation mode of DLDP, interval for sending Advertisement packets, value of the Delay Down timer, interface disabling mode, and authentication mode of DLDP packets.
<Quidway> display dldp DLDP global status : enable DLDP interval : 5s DLDP work-mode : enhance DLDP authentication-mode : simple, password is 123 DLDP unidirectional-shutdown : auto DLDP delaydown-timer : 2s The number of enabled ports is 2. The number of global neighbors is: 2.
Interface XGigabitEthernet0/0/1
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-0100 Neighbor port index : 21 Neighbor state : two way Neighbor aged time : 13
Interface XGigabitEthernet0/0/2 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-1100 Neighbor port index : 22 Neighbor state : two way Neighbor aged time : 12

1.3 Resetting the DLDP Status

This section describes how to reset the DLDP status.

1.3.1 Establishing the Configuration Task

Applicable Environment
When a unidirectional link is detected, the corresponding interface enters the Disable state. The system prompts you to disable the interface or sets the interface state to DLDP Down automatically according to the configuration. To enable the interface to detect unidirectional links again, you can reset the DLDP state of the interface. The DLDP status of the interface after recovery depends on the physical status of the interface. If the physical status is Down, the DLDP status of the interface changes to Inactive. If the physical status is Up, the DLDP status changes to Active.
Pre-configuration Tasks
None.
Data Preparation
To reset the DLDP status, you need the following data.
No.
1 Type and number of each interface
2 Name of the interface group
Data

1.3.2 Resetting the DLDP Status Globally

Context
The dldp reset command takes effect only when DLDP is enabled globally and on interfaces.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
When you reset the DLDP status globally, the DLDP status is reset for all the disabled interfaces on the S6700.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dldp reset
The DLDP status is reset globally.
----End

1.3.3 Resetting the DLDP Status of an Interface

Context
Procedure
Step 1 Run:
Step 2 Run:
If you reset the DLDP status on an interface or interface group, the DLDP status is reset for the interface or all the disabled interfaces in the interface group.
The dldp reset command takes effect only when DLDP is enabled globally and on interfaces.
system-view
The system view is displayed.
interface interface-type interface-number
The Ethernet interface view is displayed.
Or run:
port-group port-group-name
The interface group view is displayed.
Step 3 Run:
dldp reset
The DLDP status is reset on the interface or interface group.
----End

1.3.4 Checking the Configuration

Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
Procedure
Step 1 Run the display dldp [ interface interface-type interface-number ] command to check the DLDP
configuration and neighbor entries.
----End
Example
Run the display dldp command, and you can view the status of an interface after the DLDP status is reset.
<Quidway> display dldp DLDP global status : enable DLDP interval : 5s DLDP work-mode : enhance DLDP authentication-mode : simple, password is 123 DLDP unidirectional-shutdown : auto DLDP delaydown-timer : 2s The number of enabled ports is 2. The number of global neighbors is: 2.
Interface XGigabitEthernet0/0/1 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-0100 Neighbor port index : 21 Neighbor state : two way Neighbor aged time : 13
Interface XGigabitEthernet0/0/2 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-1100 Neighbor port index : 22 Neighbor state : two way Neighbor aged time : 12

1.4 Maintaining DLDP

This section describes how to maintain DLDP.

1.4.1 Clearing the Statistics of DLDP

Context
CAUTION
Statistics of DLDP cannot be restored after you clear them. So, confirm the action before you use the command.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11
SwitchB
XGE0/0/1
XGE0/0/1
SwitchA
RX
TX
RX
TX
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
Procedure
Step 1 Run the reset dldp statistics [ interface interface-type interface-number ] command in the user
view to clear the statistics of DLDP packets on an interface.
----End

1.5 Configuration Examples

This section provides a configuration example of DLDP.

1.5.1 Example for Configuring DLDP

Networking Requirements
As shown in Figure 1-3, two S6700s are connected through a pair of optical fibers. On a fiber, RX indicate the receive end, and TX indicates the transmit end. DLDP is enabled on the interconnected interfaces. If the Rx fiber on Switch A fails, Switch A cannot receive optical signals. In this case, XGE 0/0/1 of Switch A becomes Down and cannot send or receive any packets. However, the Tx fiber on Switch B still sends optical signals, and Switch B can receive optical signals because the Tx fiber on Switch A is working normally. Therefore, the link status on Switch B is still Up. If Switch B does not receive any DLDP packet from Switch A within the neighbor aging time, XGE 0/0/1 of Switch B changes to unidirectional state. To prevent network faults, DLDP disables XGE 0/0/1 of Switch B.
Figure 1-3 Disconnection of one fiber
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the interfaces at both ends to work in non-auto-negotiation mode.
2. Enable DLDP.
3. Set the operation mode of DLDP.
4. Set the interval for sending Advertisement packets.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
12
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
5. Set the Delay Down timer.
6. Set the mode of disabling the interface when a unidirectional link is detected.
7. Set the authentication mode of DLDP packets.
Data Preparation
To complete the configuration, you need the following data:
l Type and number of each interface
l Interval for sending Advertisement packets
l Value of the Delay Down timer
Procedure
Step 1 Configure the interface on Switch A to work in non-auto negotiation mode.
<Quidway> system-view [Quidway] sysname SwitchA [SwitchA] interface xgigabitethernet 0/0/1 [SwitchA-XGigabitEthernet0/0/1] undo negotiation auto [SwitchA-XGigabitEthernet0/0/1] quit
Step 2 Enable DLDP globally
[SwitchA] dldp enable
Step 3 Enable DLDP on the interface.
[SwitchA] interface xgigabitethernet 0/0/1 [SwitchA-XGigabitEthernet0/0/1] dldp enable [SwitchA-XGigabitEthernet0/0/1] quit
Step 4 Configure DLDP to work in enhanced mode.
[SwitchA] dldp work-mode enhance
Step 5 Set the interval for sending Advertisement packets to 80 seconds.
[SwitchA] dldp interval 80
Step 6 Set the timeout interval of the DelayDown timer to 4 seconds.
[SwitchA] dldp delaydown-timer 4
Step 7 Configure DLDP to automatically shut down the interface where a unidirectional link is detected.
[SwitchA] dldp unidirectional-shutdown auto
Step 8 Set the authentication mode of DLDP packets to simple password authentication and set the
password to 123456.
[SwitchA] dldp authentication-mode simple 12345
Repeat the preceding steps on Switch B.
Step 9 Verify the configuration.
After the configuration, run the display dldp command in the interface view, and you can find that the DLDP status of the interface is advertisement.
[SwitchA] display dldp interface xgigabitethernet 0/0/1
Interface XGigabitEthernet0/0/1 DLDP port state: advertisement DLDP link state: up The neighbor number of the port is: 1. Neighbor mac address:0018-2000-0083
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration
Neighbor port index:27 Neighbor state:two way Neighbor aged time:185
Remove the Rx fiber from Switch A to simulate a unidirectional link between XGE 0/0/1 of Switch A and XGE 0/0/1 of Switch B, as shown in Figure 1-3. You find that DLDP blocks the XGE 0/0/1 interface of Switch B.
# Run the display dldp on Switch A, and you can find that the DLDP status of XGE 0/0/1 is inactive. Run the display dldp on Switch B, and you can find that the DLDP status of XGE 0/0/1 is disable.
[SwitchA] display dldp interface xgigabitethernet 0/0/1
Interface XGigabitEthernet0/0/1 DLDP port state: inactive DLDP link state: down The neighbor number of the port is: 0 [SwitchB] display dldp interface xgigabitethernet 0/0/1
Interface XGigabitEthernet0/0/1 DLDP port state: disable DLDP link state: up The neighbor number of the port is: 0
----End
Configuration Files
l Configuration file of Switch A
# sysname SwitchA # dldp enable dldp interval 80 dldp delaydown-timer 4 dldp authentication-mode simple 12345 # interface XGigabitEthernet0/0/1 dldp enable undo negotiation auto # return
l Configuration file of Switch B
# sysname SwitchB # dldp enable dldp interval 80 dldp delaydown-timer 4 dldp authentication-mode simple 12345 # interface XGigabitEthernet0/0/1 dldp enable undo negotiation auto # return
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration

2 Smart Link and Monitor Link Configuration

About This Chapter
This chapter describes the principle, configuration procedure, and configuration example of the Smart Link and Monitor Link.
2.1 Smart Link and Monitor Link
This section describes the concepts of Smart Link and Monitor Link.
2.2 Configuring a Smart Link Group
This section describes how to create a Smart Link group, enable the Smart Link group, configure the master and slave interfaces, enable the revertive switching, and configure functions related to Flush packets.
2.3 Configuring a Flow Control Policy in a Smart Link Group
This section describes how to configure the advanced functions of the Smart Link group, such as lock of data flows and manual switchover between links.
2.4 Configuring a Monitor Link Group
This section describes how to create a Monitor Link group, configure the uplink and downlink interfaces, and enable the revertive switching.
2.5 Maintaining the Smart Link
This section describes how to debug the Smart Link.
2.6 Configuration Examples
This section provides several configuration examples of the Smart Link.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
15
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration

2.1 Smart Link and Monitor Link

This section describes the concepts of Smart Link and Monitor Link.
The dual-homing networking is often used. In this networking, STP blocks redundant links, providing redundancy. When the active link fails, the traffic is switched to the standby link. Although this scheme can implement redundancy, the performance cannot meet the requirements of users. Route convergence is performed within several seconds even if the Rapid Spanning Tree Protocol (RSTP) is used. The convergence speed is unfavorable for the high-end Ethernet switch used on the core of the carrier-class network.
To address the preceding problem, Huawei introduces Smart Link in dual-homing networking to implement redundancy of active and standby links and fast transition. In this manner, the high performance is ensured and the configuration is simplified. In addition, cooperation of interfaces is used.
The Monitor Link is introduced as a supplement to the Smart Link. This technology supports the association of interfaces. A Monitor Link group consists of an uplink interface and several downlink interfaces. If the uplink interface fails, the Monitor Link group automatically disables the downlink interfaces. When the uplink interface recovers, the downlink interfaces also recover.

2.2 Configuring a Smart Link Group

This section describes how to create a Smart Link group, enable the Smart Link group, configure the master and slave interfaces, enable the revertive switching, and configure functions related to Flush packets.

2.2.1 Establishing the Configuration Task

Applicable Environment
As shown in Figure 2-1, each device at the access and convergence layer is connected to two uplink devices. This networking mode provides higher security and reduces the duration of service interruption caused by the link failure.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
16
SwitchD
SwitchB
SwitchA
SwitchC
IP/MPLS
core
network
Smart Link group
Smart Link group
SwitchE
User
1
Active link
Inactive link
User
3
User
2
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration
Figure 2-1 Application scenario of the Smart Link
Pre-configuration Tasks
Data Preparation
As shown in Figure 2-1, Switch D and Switch E are connected to user devices, and both are connected to Switch B and Switch C. Configure the Smart Link on Switch D and Switch E and add the two uplink interfaces to the respective Smart Link group to avoid loops. In this manner, interrupted services can be restored in milliseconds.
Before configuring the basic functions of a Smart Link group, complete the following task:
l Ensuring that the Multiple Spanning Tree Protocol (MSTP), Rapid Ring Protection
Protocol (RRPP), and Smart Ethernet Protection (SEP) are not enabled on the master and slave interfaces of the Smart Link group
To configure basic functions of the Smart Link group, you need the following data.
No.
Data
1 Number of the interface added to the Smart Link group
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
17
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration
No. Data
2 ID of the Smart Link group
3 IDs of VLANs bound to the instance
4 Control VLAN ID contained in the Flush packet
5 (Optional) Password contained in the Flush packet

2.2.2 Creating and Enabling a Smart Link Group

Context
Do as follows on the S6700.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
smart-link group group-id
A Smart Link group is created and the Smart Link group view is displayed.
The S6700 supports a maximum of 16 Smart Link groups.
Step 3 (Optional)Run:
protected-vlan reference-instance { instance-id1 [ to instance-id2 ] }&<1-10>
An instance is bound to the Smart Link group as the protected instance. The functions of the Smart link group take effect only on the VLANs bound to the protected instance. For details about STP instance configuration, see Configuring and Activating an MST Region.
NOTE
By default, a Smart Link group protects all VLANs and the protected-vlan reference-instance command is applicable only to multicast services.
----End

2.2.3 Configuring the Master and Slave Interfaces in a Smart Link Group

Context
The slave interface of a Smart Link group is blocked when the group is started.
An interface cannot be added to a Smart Link group in the following situations:
l The interface is a Rapid Ring Protection Protocol (RRPP) interface.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
18
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration
l Spanning Tree Protocol (STP) is enabled on the interface.
l The interface has been added to an Eth-Trunk.
l The interface has been added to a Monitor Link group.
l The interface has been added to another Smart Link group.
l STP is configured on the interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The system view is displayed.
Step 3 Run:
stp disable
STP is disabled on the interface.
Step 4 Run:
quit
Return to the interface view.
Step 5 Run:
smart-link group group-id
The Smart Link group view is displayed.
Step 6 Run:
port interface-type interface-number master
An interface is added to the Smart Link group and is specified as the master interface.
Step 7 Run:
port interface-type interface-number slave
Another interface is added to the Smart Link group and is specified as the slave interface.
A Smart Link group consists of a master interface and a slave interface. By default, a Smart Link group does not have interfaces.
----End

2.2.4 Enabling the Sending of Flush Packets

Context
When the active and standby links of the Smart Link group switch, the existing forwarding entries no longer apply to the new topology. All the MAC address entries and ARP entries on the network need to be updated. Then the Smart Link group sends Flush packets to ask other devices to update the MAC address table and ARP entries.
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
19
Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration
Because manufacturers define the format of Flush packets differently, the Flush packets described here are used only for the intercommunication between Huawei S-series switches. In addition, the function of receiving Flush packets must be enabled on the remote switch.
If you run flush send control-vlan vlan-id [ password simple password ] command in the Smart Link group view, the Smart Link group is enabled to send Flush packets that contain the specified control VLAN ID and password. The VLAN ID specified by vlan-id must already exist on the S6700. If the specified VLAN ID does not exist on the S6700, Flush packets cannot be sent.
Do as follows on the S6700.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
smart-link group group-id
The Smart Link group view is displayed.
Step 3 Run:
flush send control-vlan vlan-id [ password simple password ]
The S6700 is enabled to send Flush packets, and the control VLAN ID and password contained in Flush packets are set.
A control VLAN cannot be a VLAN mapping a load-balancing instance.
The control VLAN ID and password contained in Flush packets on both devices must be the same. That is, the control VLAN ID and password in Flush packets sent by the device must be the same as the control VLAN ID and password in Flush packets received by the device.
NOTE
After the flush send control-vlan command is run, the interface cannot be added to the control VLAN. You need to configure the interface to allow the packets of the control VLAN to pass through.
----End

2.2.5 (Optional) Configuring Load Balancing in a Smart Link Group

Context
Do as follows on the S6700.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
stp region-configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
20
Loading...
+ 265 hidden pages