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 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
Quidway S6700 Series Ethernet Switches
Configuration Guide - ReliabilityAbout 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:
lData configuration engineers
lCommissioning engineers
lNetwork monitoring engineers
lSystem 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
1.1 Introduction to DLDP.........................................................................................................................................2
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.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
Quidway S6700 Series Ethernet Switches
Configuration Guide - ReliabilityContents
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
3.1 Overview of RRPP...........................................................................................................................................48
3.2 RRPP Features Supported by the S6700..........................................................................................................48
3.3.7 Creating an RRPP Ring...........................................................................................................................57
3.3.8 Enabling the RRPP Ring.........................................................................................................................58
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
4.1 Introduction to Ethernet OAM.......................................................................................................................150
4.2 Ethernet OAM Supported by the S6700.........................................................................................................150
4.5.3 Sending Test Packets.............................................................................................................................162
4.5.4 Checking the Statistics on Returned Test Packets.................................................................................163
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.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
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
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
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:
lConfiguring the interfaces at both ends to work in non-auto-negotiation mode
Data Preparation
To configure DLDP, you need the following data.
No.
1Type 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
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
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:
lS8500
lS7800
lS6500
lS5600
lS5100–EI
lS3900
lS3500
lS3100
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-typeinterface-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
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
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:
lManual 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.
lAutomatic 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
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
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
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.
1Type and number of each interface
2Name 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
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-typeinterface-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
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
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
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
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.
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
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 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
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 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
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 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:
lEnsuring 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
1Number of the interface added to the Smart Link group
Issue 01 (2011-07-15)Huawei Proprietary and Confidential
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 Smart Link and Monitor Link Configuration
No.Data
2ID of the Smart Link group
3IDs of VLANs bound to the instance
4Control 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:
lThe interface is a Rapid Ring Protection Protocol (RRPP) interface.
Issue 01 (2011-07-15)Huawei Proprietary and Confidential
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 Smart Link and Monitor Link Configuration
lSpanning Tree Protocol (STP) is enabled on the interface.
lThe interface has been added to an Eth-Trunk.
lThe interface has been added to a Monitor Link group.
lThe interface has been added to another Smart Link group.
lSTP is configured on the interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-typeinterface-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-typeinterface-number master
An interface is added to the Smart Link group and is specified as the master interface.
Step 7 Run:
port interface-typeinterface-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
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability2 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.
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