Huawei Quidway S6700 series Configuration Manual
Huawei Quidway S6700 series Configuration Manual

Huawei Quidway S6700 series Configuration Manual

Hide thumbs Also See for Quidway S6700 series:
Table of Contents

Advertisement

Quidway S6700 Series Ethernet Switches
V100R006C00
Configuration Guide - Reliability
Issue
01
Date
2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S6700 series

  • Page 1 Quidway S6700 Series Ethernet Switches V100R006C00 Configuration Guide - Reliability Issue Date 2011-07-15 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 2 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.
  • Page 3: About This Document

    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.
  • Page 4: Command Conventions

    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.
  • Page 5: Table Of Contents

    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...
  • Page 6 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...
  • Page 7 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...
  • Page 8 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...
  • Page 9 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...
  • Page 10 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...
  • Page 11: Dldp Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration 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.
  • Page 12: Introduction To Dldp

    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.
  • Page 13: Configuring Dldp Functions

    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.
  • Page 14: Optional) Setting The Operating Mode Of Dldp

    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.
  • Page 15: Optional) Enabling Dldp Compatible Mode

    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:...
  • Page 16: Optional) Setting The Interval For Sending Advertisement Packets

    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.
  • Page 17: Optional) Setting The Interface Blocking Mode

    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.
  • Page 18: Optional) Setting The Authentication Mode Of Dldp Packets

    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.
  • Page 19: Resetting The Dldp Status

    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...
  • Page 20: Resetting The Dldp Status Of An Interface

    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.
  • Page 21: Maintaining Dldp

    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.
  • Page 22: Configuration Examples

    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.
  • Page 23 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration Set the Delay Down timer. Set the mode of disabling the interface when a unidirectional link is detected. Set the authentication mode of DLDP packets. Data Preparation To complete the configuration, you need the following data:...
  • Page 24 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.
  • Page 25: Smart Link And Monitor Link Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 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.
  • Page 26: Smart Link And Monitor Link

    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.
  • Page 27 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Figure 2-1 Application scenario of the Smart Link IP/MPLS core network SwitchA SwitchB SwitchC Smart Link group Smart Link group SwitchD SwitchE User User...
  • Page 28: Creating And Enabling A Smart Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Data ID of the Smart Link group IDs of VLANs bound to the instance Control VLAN ID contained in the Flush packet (Optional) Password contained in the Flush packet 2.2.2 Creating and Enabling a Smart Link Group...
  • Page 29: Enabling The Sending Of Flush Packets

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Spanning Tree Protocol (STP) is enabled on the interface. The interface has been added to an Eth-Trunk. The interface has been added to a Monitor Link group.
  • Page 30: Optional) Configuring Load Balancing In A Smart Link Group

    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.
  • Page 31: Optional) Enabling Revertive Switching And Setting The Wtr Time

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration The Multiple Spanning Tree (MST) region view is displayed. Step 3 Run: instance instance-id vlan { vlan-id1 [ to vlan-id2 ] }&<1-10> The mapping between an instance and VLANs is set.
  • Page 32: Optional) Enabling The Receiving Of Flush Packets

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 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: restore enable Revertive switching is enabled for the Smart Link group.
  • Page 33: Optional) Setting The Holdtime Of The Smart Link Switchover

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 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.
  • Page 34: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration The Smart Link group view is displayed. Step 3 Run: smart-link enable The functions of the Smart Link group are enabled. ----End 2.2.10 Checking the Configuration...
  • Page 35: Configuring A Flow Control Policy In A Smart Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 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.
  • Page 36: Locking Data Flows On The Master Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 2.3.2 Locking Data Flows on the Master Interface Context CAUTION If data flows are locked on the master interface, they cannot be switched to the slave interface automatically when the master interface fails.
  • Page 37: Switching Data Flows Manually

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration The Smart Link group view is displayed. Step 3 Run: smart-link force Data flows are locked on the slave interface. ----End 2.3.4 Switching Data Flows Manually...
  • Page 38: Configuring A Monitor Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Example Run the display smart-link group { all | group-id } command. If lock is displayed, it indicates that data flows are locked on the master interface. If force is displayed, it means that data flows are locked on the slave interface.
  • Page 39 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Figure 2-3 Application scenario of the Monitor Link IP/MPLS core network Smart Link group GE0/0/1 GE0/0/1 GE0/0/2 Monitor Link group Monitor Link group GE0/0/2...
  • Page 40: Creating A Monitor Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Data ID of the Monitor Link group Number of each interface added to the Monitor Link group Revertive switching interval of the Monitor Link group ID of the Smart Link group 2.4.2 Creating a Monitor Link Group...
  • Page 41: Setting The Revertive Switching Interval Of A Monitor Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration An interface is configured as the uplink interface or downlink interface of the Monitor Link group. Or run: smart-link group group-id uplink An interface cannot be added to a Monitor Link group in the following situations: l The interface is added to an Eth-Trunk.
  • Page 42: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration By default, the revertive switching of a Monitor Link group is enabled and the interval of revertive switching is 3 seconds. ----End 2.4.5 Checking the Configuration...
  • Page 43: Configuration Examples

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 2.6 Configuration Examples This section provides several configuration examples of the Smart Link. 2.6.1 Example for Configuring Basic Functions of Smart Link Networking Requirements...
  • Page 44 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Smart Link group ID Number of the uplink interface of Switch A Control VLAN ID and password contained in Flush packets Procedure Step 1 On Switch A, configure the control VLAN and add interfaces to the control VLAN.
  • Page 45 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration <SwitchC> system-view [SwitchC] interface xgigabitethernet 0/0/1 [SwitchC-XGigabitEthernet0/0/1] smart-link flush receive control-vlan 10 password simple 123 [SwitchC-XGigabitEthernet0/0/1] quit Step 7 Verify the configuration. # Run the display smart-link group command to view information about the Smart Link group on Switch A.
  • Page 46 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration XGigabitEthernet0/0/1 Master Active 0000/00/00 00:00:00 UTC+00 XGigabitEthernet0/0/2 Slave Inactive 1 0000/00/00 00:00:00 UTC+00 ----End Configuration Files Configuration file of Switch A sysname Switch A...
  • Page 47: Example For Configuring Load Balancing Between Active And Standby Links Of A Smart Link Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 2.6.2 Example for Configuring Load Balancing Between Active and Standby Links of a Smart Link Group Networking Requirements As shown in Figure 2-5, packets of VLAN 100 and VLAN 500 are transmitted through the standby link, and packets of other VLANs are transmitted through the active link.
  • Page 48 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Data Preparation To complete the configuration, you need the following data: IDs of instances and IDs of the VLANs bound to the instances on Switch A...
  • Page 49 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Step 7 Enable Smart Link on Switch A. [SwitchA-smlk-group1] smart-link enable [SwitchA-smlk-group1] quit Step 8 Enable the receiving of Flush packets. # Configure Switch B.
  • Page 50 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration XGigabitEthernet0/0/2 Slave Active 0000/00/00 00:00:00 UTC+00 # Run the undo shutdown command to enable XGE 0/0/1 and wait for 30 seconds. Then you can find that XGE 0/0/1 is in Active state and XGE 0/0/2 is in Inactive state.
  • Page 51: Example For Applying The Smart Link Functions

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration smart-link flush receive control-vlan 10 password simple 123 return Configuration file of Switch C sysname SwitchC vlan batch 10 100 500 interface XGigabitEthernet0/0/1 port link-type trunk...
  • Page 52 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Figure 2-6 Networking of Smart Link application IP/MPLS core network Smart Link group XGE0/0/1 XGE0/0/1 XGE0/0/2 Monitor Link group Monitor Link group SwitchB SwitchA...
  • Page 53 Smart Link group or Monitor Link group to this VLAN. The configuration procedures are not mentioned here. For details, see "VLAN Configuration" in the Quidway S6700 Series Ethernet Switches Configuration Guide - Ethernet. Step 2 Create Smart Link groups and enable the functions of the groups.
  • Page 54 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration [SwitchA-XGigabitEthernet0/0/3] smart-link flush receive control-vlan 10 password simple 123 [SwitchA-XGigabitEthernet0/0/3] quit # Configure Switch B. <SwitchB> system-view [SwitchB] interface xgigabitethernet 0/0/3 [SwitchB-XGigabitEthernet0/0/3] smart-link flush receive control-vlan 10 password...
  • Page 55 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration XGigabitEthernet0/0/2 Slave Inactive 0000/00/00 00:00:00 UTC [SwitchA] display monitor-link group 1 Monitor Link group 1 information : Recover-timer is 10 sec. Member Role State Last-up-time...
  • Page 56 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration monitor-link group 2 port XGigabitEthernet0/0/1 uplink port XGigabitEthernet0/0/3 downlink 1 timer recover-time 10 return Configuration file of Switch C sysname SwitchC vlan batch 10...
  • Page 57: Rrpp Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration RRPP Configuration About This Chapter The Rapid Ring Protection Protocol (RRPP) features fast convergence, because the convergence time is irrelevant to the number of the nodes on the ring. In addition, RRPP multi-instance supports load balancing of different types of traffic.
  • Page 58: Overview Of Rrpp

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.1 Overview of RRPP RRPP is a link layer protocol applied to an Ethernet ring. RRPP features fast convergence and can prevent broadcast storms caused by data loops.
  • Page 59 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Figure 3-1 Application of crossed RRPP rings RRPP Domain Master SwitchB Node Edge Transit Node Transit Node SwitchD RRPP Sub-Ring 1 SwitchA RRPP Major-Ring SwitchC Master Node Edge Transit...
  • Page 60 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Different from a control VLAN, a data VLAN is used to transmit data packets. The data VLAN can contain both the RRPP ports and non-RRPP ports. Master node On an Ethernet ring, each switch is called a node.
  • Page 61 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration In the RRPP multi-instance networking, a ring can contain multiple master nodes. Load balancing and link backup can be implemented based on the blocking state of the secondary interface on the master node.
  • Page 62 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Multiple subrings share the same edge node and the same assistant edge node. In addition, the edge node and assistant edge node are located on the same major ring. That is, the Edge- Hello packets of the edge node are transmitted to the assistant edge node along the same path.
  • Page 63: Configuring Rrpp Functions

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.3 Configuring RRPP Functions Through RRPP, devices on an Ethernet ring are configured to be the nodes with different roles on RRPP rings. The nodes on an RRPP ring detect the ring status and transmit topology changes by sending and receiving RRPP protocol packets.
  • Page 64: Configuring Interfaces On The Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Context Do as follows on the S6700 that you want to add to an RRPP domain with multiple instances. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 65: Creating The Rrpp Domain

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Step 2 Run: interface interface-type interface-number The interface view is displayed. RRPP rings can be configured only on, and Eth-Trunk interfaces. An interface cannot be configured as an RRPP interface if the Smart Link, LDT, MUX VLAN or MSTP is configured on the interface.
  • Page 66: Creating The Control Vlan

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The system view is displayed. Step 2 Run: rrpp domain domain-id The RRPP domain is created. When creating the RRPP domain, you must specify the domain ID. If the domain exists, the domain view is directly displayed.
  • Page 67: Specifying Protected Vlans

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.3.6 Specifying Protected VLANs Context Do as follows on all S6700s in the RRPP domain. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: rrpp domain domain-id The RRPP domain view is displayed.
  • Page 68: Enabling The Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: rrpp domain domain-id The RRPP domain view is displayed. Step 3 Run: ring ring-id node-mode { master | transit } primary-port interface-type interface- number secondary-port interface-type interface-number level level-value An RRPP ring is created.
  • Page 69: Enabling Rrpp

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The system view is displayed. Step 2 Run: rrpp domain domain-id The domain view is displayed. Step 3 Run: ring ring-id enable The RRPP ring is enabled. ----End 3.3.9 Enabling RRPP...
  • Page 70: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Step 2 Run: rrpp domain domain-id The domain view is displayed. Step 3 Run: timer hello-timer hello-value fail-timer fail-value The values of RRPP domain timers are set. The value of the Fail timer is equal to or more than three times the value of the Hello timer.
  • Page 71: Configuring Rrpp Multi-Instance

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration RRPP Protocol Status: Disable RRPP Working Mode: HW RRPP Linkup Delay Timer: 1 sec (0 sec default). Number of RRPP Domains: 1 Domain Index Control VLAN : major 30...
  • Page 72: Establishing The Configuration Task

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.4.1 Establishing the Configuration Task RRPP does not support auto-selection mechanism. Therefore, you need to correctly configure each node on the ring to achieve detection and protection of the ring.
  • Page 73: Creating Instances

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration HSI: indicates High Speed Internet In the preceding figure, the IPTV service and HSI service are respectively carried in two domains that share the same RRPP ring. By applying RRPP multi-instance, you can realize balanced traffic loads for both services, that is, the IPTV service is carried in domain 1, and the HSI service is carried in domain 2.
  • Page 74: Configuring Interfaces On The Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: stp region-configuration The MST region view is displayed. Step 3 Run the following commands as required.
  • Page 75: Creating An Rrpp Domain

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration RRPP rings can be configured only on, and Eth-Trunk interfaces. An interface cannot be configured as an RRPP interface if the Smart Link, LDT, MUX VLAN or MSTP is configured on the interface.
  • Page 76: Specifying Protected Vlans

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration When creating the RRPP domain, you must specify the domain ID. If the domain exists, the domain view is directly displayed. You can create up to eight domains on S6700.
  • Page 77: Creating An Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Context Do as follows on all switches in the RRPP domain: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: rrpp domain domain-id The domain view is displayed.
  • Page 78: Enabling The Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The RRPP domain view is displayed. Step 3 Run: ring ring-id node-mode { master | transit } primary-port interface-type interface- number secondary-port interface-type interface-number level level-value An RRPP ring is created.
  • Page 79: Enabling The Rrpp Protocol

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The RRPP ring is enabled. ----End 3.4.9 Enabling the RRPP Protocol To activate an RRPP ring, you must enable RRPP and the RRPP ring. Context NOTE The RRPP ring can be activated only when both the RRPP ring and RRPP protocol are enabled.
  • Page 80: Optional) Configuring The Delay For Link Restoration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration A sub-ring is added to the ring group. The edge nodes of sub-rings in a ring group are the same device. Similarly, the assistant edge nodes of sub-rings in a ring group are the same device.
  • Page 81: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: rrpp domain domain-id The domain view is displayed. Step 3 Run: timer hello-timer hello-value fail-timer fail-value The values of RRPP domain timers are set.
  • Page 82: Maintaining Rrpp

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Run the display rrpp brief command, and you can view information such as the node mode, RRPP status, control VLAN, protected VLAN, and values of timers. The following is an example: <Quidway>...
  • Page 83: Clearing Rrpp Running Information

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.5.1 Clearing RRPP Running Information You can run the reset command to reset the RRPP statistics before recollecting RRPP statistics. Context CAUTION RRPP statistics cannot be restored once cleared. Therefore, confirm the action before you use the command.
  • Page 84: Example For Configuring A Single Rrpp Ring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.6.1 Example for Configuring a Single RRPP Ring Networking Requirements As shown in Figure 3-5, Switch A, Switch B, and Switch C support the RRPP function. Switch A, Switch B, and Switch C are on ring 1 of RRPP domain 1. The data of VLANs 100 to 300 needs to be protected.
  • Page 85 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The configurations of Switch B and Switch C are similar to the configuration of Switch A. The detailed configurations are omitted here. Step 2 Create an RRPP domain and the control VLAN.
  • Page 86 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchC-XGigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 300 [SwitchC-XGigabitEthernet0/0/2] stp disable [SwitchC-XGigabitEthernet0/0/2] quit Step 4 Configure a protection VLAN and create the RRPP ring. # Configure the protection VLAN on Switch A and configure Switch A as the master node of RRPP ring 1 and specify the primary interface and secondary interface.
  • Page 87 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Domain Index Control VLAN : major 20 sub 21 Protected VLAN : Reference Instance 1 Hello Timer : 1 sec(default is 1 sec) Fail Timer : 6 sec(default is 6 sec)
  • Page 88 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configuration file of Switch B sysname SwitchB vlan batch 20 to 21 100 to 300 rrpp enable stp region- configuration instance 1 vlan 20 to 21 100 to...
  • Page 89: Example For Configuring Crossed Rrpp Rings With A Single Instance

    2 of domain 1, and Switch D is the assistant edge node on ring 2 of domain The main control VLAN ID is 10. The RRPP rings transmit data of VLAN 2 to VLAN 9. Figure 3-6 Networking diagram of crossed RRPP rings with a single instance (Huawei version) SwitchC...
  • Page 90 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Procedure Step 1 Configure Switch B as the master node of the major ring. # Create data VLANs 2 to 9 on Switch B. <Quidway> system-view [Quidway] sysname SwitchB...
  • Page 91 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # On Switch C, configure domain 1. Then configure VLAN 10 as the main control VLAN and instance 1 as the protected instance of domain 1. [SwitchC] rrpp enable...
  • Page 92 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchA] interface xgigabitethernet 0/0/2 [SwitchA-XGigabitEthernet0/0/2] port link-type trunk [SwitchA-XGigabitEthernet0/0/2] port trunk allow-pass vlan 2 to 9 [SwitchA-XGigabitEthernet0/0/2] stp disable [SwitchA-XGigabitEthernet0/0/2] quit [SwitchA] interface xgigabitethernet 0/0/3 [SwitchA-XGigabitEthernet0/0/3] port link-type trunk...
  • Page 93 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchD] interface xgigabitethernet 0/0/3 [SwitchD-XGigabitEthernet0/0/3] port link-type trunk [SwitchD-XGigabitEthernet0/0/3] port trunk allow-pass vlan 2 to 9 [SwitchD-XGigabitEthernet0/0/3] stp disable [SwitchD-XGigabitEthernet0/0/3] quit # Configure the primary interface and secondary interface of the transit node on the RRPP major ring.
  • Page 94 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration You can find that the ring is in Complete state, and the secondary interface of the master node is blocked. l Run the display rrpp brief command on SwitchC. The following information is displayed:...
  • Page 95 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Switch A is also an edge of the subring, with XGE 0/0/2 as the common interface and XGE 0/0/3 as the edge interface. l Run the display rrpp verbose domain command on Switch A. The following information...
  • Page 96 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Primary port : XGigabitEthernet0/0/2 Port status: UP Secondary port: XGigabitEthernet0/0/1 Port status: UP RRPP Ring Ring Level Node Mode : Assistant-edge Ring State : Linkup Is Enabled : Disable...
  • Page 97 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration active region- configuration rrpp domain 1 control-vlan 10 protected-vlan reference-instance 1 ring 1 node-mode master primary-port XGigabitEthernet 0/0/1 secondary-port XGigabitEthernet 0/0/2 level 0 ring 1 enable interface XGigabitEthernet0/0/1...
  • Page 98: Example For Configuring Tangent Rrpp Rings

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration rrpp domain 1 control-vlan 10 protected-vlan reference-instance 1 ring 1 node-mode transit primary-port XGigabitEthernet 0/0/2 secondary-port XGigabitEthernet 0/0/1 level 0 ring 1 enable ring 2 node-mode assistant-edge common-port XGigabitEthernet 0/0/2 edge-port...
  • Page 99 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Create an instance and add the control VLANs added to the list of protected VLANs. Configure ring 2 of domain 2 on Switch A, Switch B, and Switch C.
  • Page 100 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchE-mst-region] active region-configuration [SwitchE-mst-region] quit Step 2 Create RRPP domains and configure the control VLANs and protected VLANs of the domains. # Configure domain 1 on Switch E, which is the master node of ring 1. Configure VLAN 10 as the main control VLAN of domain 1, and configure the list of protected VLANs mapping instance 1.
  • Page 101 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Set the Hold timer and Fail timer for Switch D, the transit node on ring 1. [SwitchD] rrpp domain 1 [SwitchD-rrpp-domain-region1] timer hello-timer 2 fail-timer 7 [SwitchD-rrpp-domain-region1] quit # Set the Hold timer and Fail timer for Switch C, the transit node on ring 1.
  • Page 102 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchE] interface xgigabitethernet 0/0/2 [SwitchE-XGigabitEthernet0/0/2] stp disable [SwitchE-XGigabitEthernet0/0/2] quit # Disable STP on the interfaces to be added to the RRPP ring on Switch D. [SwitchD] interface xgigabitethernet 0/0/1...
  • Page 103 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchD-rrpp-domain-region1] ring 1 enable [SwitchD-rrpp-domain-region1] quit Step 6 Enable RRPP. After configuring an RRPP ring, enable RRPP on each node on the ring. Then the RRPP ring can be activated.
  • Page 104 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Run the display rrpp verbose domain command on Switch C to view the domain information. # View detailed information about domain 1. [SwitchC] display rrpp verbose domain 1...
  • Page 105 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configuration file of SwitchB sysname Switch B vlan batch 20 to 21 rrpp enable stp region- configuration instance 2 vlan 20 to active region-configuration rrpp domain 2 control-vlan 20...
  • Page 106 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration port hybrid tagged vlan 10 to 11 stp disable interface XGigabitEthernet 0/0/3 port hybrid tagged vlan 20 to 21 stp disable interface XGigabitEthernet 0/0/4 port hybrid tagged vlan 20 to 21...
  • Page 107: Example For Configuring A Single Rrpp Ring With Multiple Instances

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration interface XGigabitEthernet 0/0/2 port hybrid tagged vlan 10 to 11 stp disable return 3.6.4 Example for Configuring a Single RRPP Ring with Multiple Instances Networking Requirements As shown in...
  • Page 108 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Figure 3-8 Networking diagram of single RRPP ring with multiple instances UPE B XGE0/0/1 XGE0/0/2 CE 1 VLAN 100-300 PE-AGG XGE0/0/2 XGE0/0/1 Ring 1 Backbone Master 1 UPEA...
  • Page 109 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Configure UPE A. # Create data VLANs 100 to 300 on UPE A. <Quidway> system-view [Quidway] sysname UPEA [UPEA] vlan batch 100 to 300 # Create instance 1 and map it to control VLANs VLAN 5 VLAN 6 and data VLANs 100 to 200 in domain 1.
  • Page 110 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEC-mst-region] active region-configuration [UPEC-mst-region] quit l Configure PE-AGG. # Create data VLANs 100 to 300 on PE-AGG. <Quidway> system-view [Quidway] sysname PE-AGG [PE-AGG] vlan batch 100 to 300 # Create instance 1 and map it to control VLANs VLAN 5 and VLAN 6 and data VLANs 100 to 200 in domain 1.
  • Page 111 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEB-XGigabitEthernet0/0/1] stp disable [UPEB-XGigabitEthernet0/0/1] quit [UPEB] interface xgigabitethernet 0/0/2 [UPEB-XGigabitEthernet0/0/2] port link-type trunk [UPEB-XGigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 300 [UPEB-XGigabitEthernet0/0/2] stp disable [UPEB-XGigabitEthernet0/0/2] quit l Configure UPE C.
  • Page 112 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Configure the VLANs mapping instance 2 as the protected VLANs in domain 2. Configure VLAN 10 as the control VLAN. [UPEB] rrpp domain 2 [UPEB-rrpp-domain-region2] protected-vlan reference-instance 2...
  • Page 113 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Configure UPE B as a transit node of ring 1 in domain 1 and specify primary and secondary ports on UPE B. [UPEB] rrpp domain 1 [UPEB-rrpp-domain-region1] ring 1 node-mode transit primary-port xgigabitethernet...
  • Page 114 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l # Configure UPE B. # Enable the RRPP protocol. [UPEB] rrpp enable l Configure UPE C. # Enable the RRPP protocol. [UPEC] rrpp enable l Configure PE-AGG.
  • Page 115 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration RRPP Protocol Status: Enable RRPP Working Mode: HW RRPP Linkup Delay Timer: 0 sec (0 sec default). Number of RRPP Domains: 2 Domain Index Control VLAN : major 5...
  • Page 116 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Node Mode : Transit Ring State : LinkUp Is Enabled : Enable Is Active : Yes Primary port : XGigabitEthernet0/0/1 Port status: UP Secondary port: XGigabitEthernet0/0/2 Port status: UP The preceding information shows that VLAN 10 is the control VLAN in domain 2, and VLANs mapping instance 2 are the protected VLANs.
  • Page 117 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration vlan batch 5 to 6 10 to 11 100 to 300 rrpp enable stp region-configuration instance 1 vlan 5 to 6 100 to 200 instance 2 vlan 10 to 11 201 to 300...
  • Page 118 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration return Configuration file of UPE C sysname UPEC vlan batch 5 to 6 10 to 11 100 to 300 rrpp enable stp region-configuration instance 1 vlan 5 to 6 100 to 200...
  • Page 119: Example For Configuring Crossed Rrpp Rings With Multiple Instances (Hw Version)

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration stp disable interface XGigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300 stp disable return 3.6.5 Example for Configuring Crossed RRPP Rings with Multiple...
  • Page 120 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Ring ID Master Primary Secondary Port Ring Type Node Port Ring 1 in PE-AGG XGE 0/0/2 XGE 0/0/1 Major ring domain 2 Ring 2 in XGE 0/0/1 XGE 0/0/2...
  • Page 121 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Figure 3-9 Networking diagram of crossed RRPP rings with multiple instances Backbone network XGE0/0/1 XGE0/0/2 PE-AGG Master 1 XGE0/0/1 Master 2 XGE0/0/2 UPE A UPE D Domain 1 ring 1...
  • Page 122 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configure PE-AGG as the master node and configure UPE A, UPE B, and UPE C as transit nodes on ring 1 in domain 1 and ring 1 in domain 2.
  • Page 123 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [CE2-mst-region] instance 2 vlan 10 11 201 to 300 # Activate the configuration. [CE2-mst-region] active region-configuration [CE2-mst-region] quit l Configure UPE A. # Create data VLANs 100 to 300 on UPE A.
  • Page 124 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Create data VLANs 100 to 300 on UPE D. <Quidway> system-view [Quidway] sysname UPED [UPED] vlan batch 100 to 300 # Create instance 1 and map it to control VLANs VLAN 5 and VLAN 6 and data VLANs 100 to 200 in domain 1.
  • Page 125 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [CE1-XGigabitEthernet0/0/2] stp disable [CE1-XGigabitEthernet0/0/2] quit l Configure CE2. # Disable STP on the interfaces that need to be added to the RRPP ring on CE2. Configure the RRPP interfaces to allow packets of VLANs 100 to 300 to pass through.
  • Page 126 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEC-XGigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 300 [UPEC-XGigabitEthernet0/0/2] stp disable [UPEC-XGigabitEthernet0/0/2] quit [UPEC] interface xgigabitethernet 0/0/3 [UPEC-XGigabitEthernet0/0/3] port link-type trunk [UPEC-XGigabitEthernet0/0/3] port trunk allow-pass vlan 100 to 300...
  • Page 127 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [CE2-rrpp-domain-region1] control-vlan 5 [CE2-rrpp-domain-region1] quit # Configure the VLANs mapping instance 2 as the protected VLANs in domain 2. Configure VLAN 10 as the control VLAN. [CE2] rrpp domain 2...
  • Page 128 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Configure the VLANs mapping instance 2 as the protected VLANs in domain 2. Configure VLAN 10 as the control VLAN. [UPED] rrpp domain 2 [UPED-rrpp-domain-region2] protected-vlan reference-instance 2...
  • Page 129 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration xgigabitethernet 0/0/1 secondary-port xgigabitethernet 0/0/2 level 0 [UPED-rrpp-domain-region1] ring 1 enable [UPED-rrpp-domain-region1] quit # Configure UPE D as a transit node of ring 1 in domain 2 and specify primary and secondary ports on UPE D.
  • Page 130 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration xgigabitethernet 0/0/1 secondary-port xgigabitethernet 0/0/2 level 0 [UPEC-rrpp-domain-region1] ring 1 enable [UPEC-rrpp-domain-region1] quit # Configure UPE C as a transit node of ring 1 in domain 2 and specify primary and secondary ports on UPE C.
  • Page 131 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 0/0/1 secondary-port xgigabitethernet 0/0/2 level 1 [CE2-rrpp-domain-region1] ring 3 enable [CE2-rrpp-domain-region1] quit # Configure CE2 as the master node of ring 3 in domain 2. Configure XGE 0/0/2 as the primary port and XGE 0/0/1 as the secondary port.
  • Page 132 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEB-rrpp-ring-group1] domain 2 ring 2 to 3 [UPEB-rrpp-ring-group1] quit Step 7 Set the link-Up timer. l Configure CE1. # Set the link-Up timer to 1 second. [CE1] rrpp linkup-delay-timer 1 l Configure CE2.
  • Page 133 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration UPE B is a transit node on ring 1; XGE 0/0/1 is the primary port; XGE 0/0/2 is the secondary port. UPE B is an edge transit node on ring 2. XGE 0/0/1 is the public port and XGE 0/0/3 is the edge port.
  • Page 134 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # View detailed information about UPE B in domain 1. [UPEB] display rrpp verbose domain 1 Domain Index Control VLAN : major 5 sub 6 Protected VLAN: Reference Instance 1...
  • Page 135 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Is Enabled : Enable Is Active : Yes Common port XGigabitEthernet0/0/1 Port status: UP Edge port XGigabitEthernet0/0/4 Port status: UP The preceding information shows that VLAN 10 is the control VLAN in domain 2, and VLANs mapping instance 2 are the protected VLANs.
  • Page 136 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration domain 1 ring 2 to 3 domain 2 ring 2 to 3 ----End Configuration Files Configuration file of CE1 sysname CE1 vlan batch 5 to 6 10 to 11 100 to 300...
  • Page 137 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration control-vlan 10 protected-vlan reference-instance 2 ring 3 node-mode master primary-port XGigabitEthernet 0/0/2 secondary-port XGigabitEthernet 0/0/1 level 1 ring 3 enable interface XGigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 6 11 100 to 300...
  • Page 138 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration rrpp domain 1 control-vlan 5 protected-vlan reference-instance 1 ring 1 node-mode transit primary-port XGigabitEthernet 0/0/1 secondary-port XGigabitEthernet 0/0/2 level 0 ring 1 enable ring 2 node-mode edge common-port XGigabitEthernet 0/0/1 edge-port...
  • Page 139 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration ring 2 node-mode assistant-edge common-port XGigabitEthernet 0/0/2 edge- portXGigabitEthernet 0/0/3 ring 2 enable ring 3 node-mode assistant-edge common-port XGigabitEthernet 0/0/2 edge-port XGigabitEthernet 0/0/4 ring 3 enable rrpp domain 2...
  • Page 140: Example For Configuring Tangent Rrpp Rings With Multiple Instances

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration interface XGigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300 stp disable interface XGigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300...
  • Page 141 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration VLANs 100 to 300 are configured on CE. Domain 1 and domain 2 share the traffic of packets from VLANs 100 to 300. Packets from VLANs 100 to 200 are transmitted through domain 1, and packets from VLANs 201 to 300 are transmitted through domain 2.
  • Page 142 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Figure 3-10 Networking diagram of tangent RRPP rings with multiple instances UPEB UPEE XGE0/0/1 XGE0/0/1 XGE/0/0/2 XGE0/0/2 Domain 1 ring 1 XGE/0/0/2 XGE0/0/1 XGE0/0/1 XGE0/0/3 UPEF Master 1...
  • Page 143 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Procedure Step 1 Create instances. l Configure UPE A. # Create data VLANs 100 to 300 on UPE A. <Quidway> system-view [Quidway] sysname UPEA [UPEA] vlan batch 100 to 300 # Create instance 1 and map it to control VLANs VLAN 5 and VLAN 6 and data VLANs 100 to 200 in domain 1.
  • Page 144 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEC-mst-region] instance 2 vlan 10 11 201 to 300 # Activate the configuration. [UPEC-mst-region] active region-configuration [UPEC-mst-region] quit l Configure UPE D. # Create data VLANs 100 to 300 on UPE D.
  • Page 145 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEF-mst-region] active region-configuration [UPEF-mst-region] quit l Configure UPE G. # Create data VLANs 100 to 300 on UPE G. <Quidway> system-view [Quidway] sysname UPEG [UPEG] vlan batch 100 to 300 # Create instance 1 and map it to control VLANs VLAN 20 and VLAN 21 and data VLANs 100 to 300 in domain 3.
  • Page 146 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEB-XGigabitEthernet0/0/2] stp disable [UPEB-XGigabitEthernet0/0/2] quit l Configure UPE C. # Disable STP on the interfaces that need to be added to the RRPP ring on UPE C. Configure the RRPP interfaces to allow packets of VLANs 100 to 300 to pass through.
  • Page 147 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEF-XGigabitEthernet0/0/1] quit [UPEF] interface xgigabitethernet 0/0/2 [UPEF-XGigabitEthernet0/0/2] port link-type trunk [UPEF-XGigabitEthernet0/0/2] port trunk allow-pass vlan 100 to 300 [UPEF-XGigabitEthernet0/0/2] stp disable [UPEF-XGigabitEthernet0/0/2] quit l Configure UPE G. # Disable the STP function on the interfaces to be added to the RRPP ring on UPE G. Configure the RRPP interfaces to allow packets of VLANs 100 to 300 to pass through.
  • Page 148 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Configure the VLANs mapping instance 2 as the protected VLANs in domain 2. Configure VLAN 10 as the control VLAN. [UPEC] rrpp domain 2 [UPEC-rrpp-domain-region2] protected-vlan reference-instance 2...
  • Page 149 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 0/0/1 secondary-port xgigabitethernet 0/0/2 level 0 [UPEA-rrpp-domain-region1] ring 1 enable [UPEA-rrpp-domain-region1] quit # Configure UPE A as a transit node of ring 1 in domain 2 and specify primary and secondary ports on UPE A.
  • Page 150 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 0/0/2 secondary-port xgigabitethernet 0/0/1 level 0 [UPED-rrpp-domain-region2] ring 1 enable [UPED-rrpp-domain-region2] quit # Configure UPE D as a transit node of ring 1 in domain 3 and specify primary and secondary ports on UPE D.
  • Page 151 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Configure UPE D. # Enable the RRPP protocol. [UPED] rrpp enable l Configure UPE E. # Enable the RRPP protocol. [UPEE] rrpp enable l Configure UPE F.
  • Page 152 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration VLAN 1 is the control VLAN and VLANs mapping instance 1 are the protected VLANs. UPE D is the master on ring 1; XGE 0/0/1 is the primary port; XGE 0/0/2 is the secondary port.
  • Page 153 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The primary port is XGE 0/0/2, and the secondary port is XGE 0/0/1. # View detailed information about UPE D in domain 3. [UPED] display rrpp verbose domain 3...
  • Page 154 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configuration file of UPE B sysname UPEB vlan batch 5 to 6 10 to 11 100 to 300 rrpp enable stp region-configuration instance 1 vlan 5 to 6 100 to 200...
  • Page 155 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration interface XGigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300 stp disable Return Configuration file of UPE D sysname UPED...
  • Page 156 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration stp region-configuration instance 1 vlan 20 to 21 100 to 300 active region-configuration rrpp domain 3 control-vlan 20 protected-vlan reference-instance 1 ring 1 node-mode transit primary-port XGigabitEthernet 0/0/1 secondary-port...
  • Page 157 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration XGigabitEthernet 0/0/2 interface XGigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 20 to 21 100 to 300 stp disable interface XGigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 20 to 21 100 to 300...
  • Page 158: Ethernet Oam Configuration-Efm

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Ethernet OAM Configuration-EFM About This Chapter This chapter describes Ethernet OAM and its configurations, and how to implement link-level Ethernet OAM detection to improve network reliability. 4.1 Introduction to Ethernet OAM Ethernet OAM can effectively improve management and maintenance capabilities on Ethernet networks, which ensures the stable network operation.
  • Page 159 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM This section describes how to maintain Ethernet OAM. Detailed operations include deleting CCM statistics, monitoring Ethernet OAM. 4.9 Configuration Examples This section provides several configuration examples of Ethernet OAM.
  • Page 160: Introduction To Ethernet Oam

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM 4.1 Introduction to Ethernet OAM Ethernet OAM can effectively improve management and maintenance capabilities on Ethernet networks, which ensures the stable network operation. Ethernet OAM is applicable mainly to Ethernet networks.
  • Page 161 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Fault notification When an errored frame event or severe fault event occurs on the local device, the local node sends fault notification messages to notify the peer device. At the same time, the local device records the fault event in the log and reports the fault to the NMS.
  • Page 162: Configuring Basic Efm Oam

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM 4.3 Configuring Basic EFM OAM By configuring basic EFM OAM functions, you can detect connectivity of the direct link between devices. 4.3.1 Establishing the Configuration Task Before configuring basic EFM OAM functions, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 163: Configuring The Working Mode Of Efm Oam On An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: efm enable EFM OAM is enabled globally. By default, EFM OAM is disabled globally.
  • Page 164: Optional) Setting The Maximum Size Of An Efm Oampdu

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM NOTE You must run the bpdu enable command on the interface configured with EFM OAM to enable the BPDU tunnel function; otherwise, OAM PDUs are discarded. By default, the BPDU tunnel function is enabled on an interface.
  • Page 165: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view of an interface at one end of the link is displayed. Step 3 Run: efm enable EFM OAM is enabled on the interface.
  • Page 166: Configuring Efm Oam Link Monitoring

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Remote Mode: passive Remote MaxSize: Remote State: Run the display efm session command. If the EFM OAM protocol on the interface is in the Detect state, it means that the configuration succeeds. The two interfaces succeed in negotiation and enter the Detect state.
  • Page 167: Optional) Detecting Errored Codes Of Efm Oam

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Context Do as follows on the devices at one end or both ends of the link: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view of an interface at one end of the link is displayed.
  • Page 168: Optional) Detecting Errored Frame Seconds Of Efm Oam

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM The interface view of an interface at one end of the link is displayed. Step 3 Run: efm error-code period period The period for detecting errored codes on the interface is set.
  • Page 169: Optional) Associating A Threshold Crossing Event With An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM The threshold for detecting errored frame seconds on the interface is set. By default, the threshold for detecting errored frame seconds on an interface is 1. Step 5 Run: efm error-frame-second notification enable The interface is enabled to detect errored frame seconds.
  • Page 170: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Run the efm holdup-timer command in the interface view to configure the interface to go administratively Up after the auto-recovery delay. Run the shutdown command and then the undo shutdown command in the interface view to restore the administrative state of the interface to Up.
  • Page 171: Establishing The Configuration Task

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM 4.5.1 Establishing the Configuration Task Before testing the packet loss ratio on a physical link, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration.
  • Page 172: Enabling Efm Oam Remote Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM 4.5.2 Enabling EFM OAM Remote Loopback You can configure the EFM OAM remote loopback function to locate faults on the remote end and assess the link quality.
  • Page 173: Checking The Statistics On Returned Test Packets

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Context Do as follows on the device with an active interface on the link: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run:...
  • Page 174: Optional) Manually Disabling Efm Oam Remote Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM You can obtain the packet loss ratio on the link based on the preceding data. ----End 4.5.5 (Optional) Manually Disabling EFM OAM Remote Loopback The EFM OAM remote loopback function can automatically time out or be disabled manually.
  • Page 175: Associating Efm Oam With An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Run the display efm session command on the device with a passive interface on the link. If the EFM OAM protocol on the passive interface is in the Loopback (be controlled) state, which indicates that the passive interface responds to remote loopback, it indicates that the configuration is successful.
  • Page 176: Associating Efm Oam With An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Configuring EFM OAM Data Preparation To associate EFM OAM with an interface, you need the following data. Data Type and number of an interface (Optional) Faulty-state hold timer 4.6.2 Associating EFM OAM with an Interface...
  • Page 177: Optional) Setting The Faulty-State Hold Timer

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM When EFM OAM is associated with the current interface and detects a link fault on the current interface, no other packets except EFM protocol packets can be forwarded on the interface and Layer 2 and Layer 3 services are blocked.
  • Page 178: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Step 2 Run: interface interface-type interface-number The view of an interface at one end of the link is displayed. Step 3 Run: efm holdup-timer time The faulty-state hold timer is set.
  • Page 179: 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)

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Remote EFM Enable Flag: enable Remote Mode: passive Remote MaxSize: Remote State: 4.7 Configuring Association Between an EFM OAM Session and an Interface (Triggering the Physical Status of the...
  • Page 180: Configuring Association Between An Efm Oam Session And An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM If the bidirectional association between an EFM OAM session and an interface is configured on a PE, when XGE 0/0/2 that connects PE2 to CE2 goes Down, the OAM management module sends fault information to the EFM OAM session associated with XGE 0/0/2.
  • Page 181: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM The OAM management view is displayed. Step 3 Run: oam-bind ingress efm interface interface-type1 interface-number1 trigger if-down egress interface interface-type2 interface-number2 The unidirectional transmission of fault information from an EFM OAM session to an interface is configured.
  • Page 182: Maintaining Ethernet Oam

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Prerequisite All configurations of the association between an EFM OAM session and an interface are complete. Procedure Step 1 Run the display this command in the OAM management view to check whether an EFM OAM session and an interface are successfully associated.
  • Page 183: Configuration Examples

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Procedure Step 1 Run the debugging efm interface interface-type interface-number { all | error | event | message | packet { all | receive | send } | process } command in the user view to enable the debugging of the EFM OAM module on the specified interface.
  • Page 184 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Data Preparation To complete the configuration, you need the following data: Period for detecting errored frames on XGE 0/0/1 of Switch B (5 seconds) and threshold of number of errored frames (5)
  • Page 185 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM [SwitchB-XGigabitEthernet0/0/1] efm error-frame-second notification enable [SwitchB-XGigabitEthernet0/0/1] quit Step 5 Verify the configuration. # If EFM OAM is configured correctly on Switch A and Switch B, XGE 0/0/1 and XGE 0/0/1 start the handshake after negotiation.
  • Page 186: Example For Configuring Association Between An Efm Oam Module And An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM efm enable efm error-frame period 5 efm error-frame threshold 5 efm error-frame notification enable efm error-frame-second period 120 efm error-frame-second threshold 5 efm error-frame-second notification enable efm error-code period 5...
  • Page 187 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM <Quidway> system-view [Quidway] sysname SwitchB [SwitchB] efm enable [SwitchB] interface xgigabitethernet 0/0/2 [SwitchB-XGigabitEthernet0/0/2] bpdu enable [SwitchB-XGigabitEthernet0/0/2] efm mode passive [SwitchB-XGigabitEthernet0/0/2] efm enable [SwitchB-XGigabitEthernet0/0/2] quit # Configure Switch C.
  • Page 188: Example For Configuring Association Between Efm Oam Modules

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Broadcast 0,Jumbo Collisions 0,Deferreds Late Collisions: 0,ExcessiveCollisions: Buffers Purged : Discard 0,Total Error Input bandwidth utilization threshold : 100.00% Output bandwidth utilization threshold: 100.00% Input bandwidth utilization : 0.00%...
  • Page 189 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Figure 4-7 Networking diagram for configuring association between EFM OAM modules SwitchC SwitchB SwitchA XGE0/0/1 XGE0/0/2 XGE0/0/1 XGE0/0/2 EFM OAM EFM OAM Configuration Roadmap The configuration roadmap is as follows: Enable EFM OAM globally on Switch A, Switch B, and Switch C.
  • Page 190 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM # Configure Switch B. [SwitchB] interface xgigabitethernet 0/0/1 [SwitchB-XGigabitEthernet0/0/1] efm enable [SwitchB-XGigabitEthernet0/0/1] quit [SwitchB] interface xgigabitethernet 0/0/2 [SwitchB-XGigabitEthernet0/0/2] bpdu enable [SwitchB-XGigabitEthernet0/0/2] efm enable [SwitchB-XGigabitEthernet0/0/2] quit # Configure Switch C.
  • Page 191 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM Configuration Files Configuration file of Switch A sysname SwitchA interface XGigabitEthernet0/0/1 efm enable bpdu enable return Configuration file of Switch B sysname SwitchB interface XGigabitEthernet0/0/1 efm mode passive...
  • Page 192: Bfd Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration BFD Configuration About This Chapter A BFD session rapidly detects a link fault on a network. 5.1 BFD Overview BFD, a uniform detection mechanism for an entire network, rapidly detects faults and monitors the forwarding and connectivity of links or IP routes of the network.
  • Page 193: Bfd Overview

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration 5.1 BFD Overview BFD, a uniform detection mechanism for an entire network, rapidly detects faults and monitors the forwarding and connectivity of links or IP routes of the network.
  • Page 194 NOTE For details on how to configure BFD for static routes, see Configuring BFD for IPv4 Static Routes on a Public Network in the Quidway S6700 Series Ethernet Switches Configuration Guide - IP Routing. BFD for Routing Protocols BFD uses the local discriminator and remote discriminator to differentiate multiple BFD sessions between the same pair of systems.
  • Page 195: Configuring Single-Hop Bfd

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration The BFD session dynamically triggered by a routing protocol is implemented as follows: The local discriminator is allocated automatically. The remote discriminator is learned by the local end.
  • Page 196: Enabling Bfd Globally

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Data Peer IP address, local interface type and number for the directly-connected link detected by BFD, and default multicast address used by BFD if it checks the physical...
  • Page 197: Creating A Bfd Session

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration To implement single-hop BFD on a Layer 2 forwarding link, BFD needs to use a multicast IP address. By default, BFD uses the multicast IP address 224.0.0.184. NOTE l If this multicast IP address is used by other protocols on the network, you must change the multicast IP address.
  • Page 198: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration When you set the discriminators, ensure that the local discriminator at the local end is the same as the remote discriminator at the peer end; otherwise, the BFD session fails to be set up. After local and remote discriminators are set successfully, they cannot be modified.
  • Page 199: Configuring The Multi-Hop Bfd

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Run the display bfd interface command, and you can view information about the BFD session on a specified interface. <Quidway> display bfd interface XGigabitEthernet 0/0/1 -------------------------------------------------------------------------------- Interface Name...
  • Page 200: Enabling Bfd Globally

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Correctly connecting each interface and configuring IP addresses for them Configuring the routing protocol to ensure that the network layer is reachable Data Preparation To configure the multi-hop BFD, you need the following data.
  • Page 201: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration The system view is displayed. Step 2 Run: bfd cfg-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] [ source-ip source-ip ] A BFD session is created. l When creating a BFD session for the first time, you must bind the BFD session to the peer IP address.
  • Page 202 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Run the display bfd statistics session { { all | static } [ for-ip ] | discriminator discr- value | dynamic | peer-ip peer-ip [ vpn-instance vpn-name ] | static-auto } command to check the statistics on a BFD session.
  • Page 203: Configuring A Bfd Session With Automatically Negotiated Discriminators

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Received Packets : 178 Send Packets : 177 Received Bad Packets Send Bad Packets Down Count ShortBreak Count Send Lsp Ping Count Dynamic Session Delete Count Create Time...
  • Page 204: Enabling Bfd Globally

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Data IP addresses of local and remote ends of a link checked by BFD, and name and number of the local interface 5.5.2 Enabling BFD Globally You can perform related BFD configurations only after enabling BFD globally.
  • Page 205: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration l Specify the peer IP address instead of the multicast IP address. Step 3 Run: commit The configuration is committed. ----End 5.5.4 Checking the Configuration Context The configurations of creating a static BFD session with automatically negotiated discriminators are complete.
  • Page 206: Adjusting Bfd Parameters

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration 5.6 Adjusting BFD Parameters Adjusting BFD parameters enables a BFD session to check links on a network effectively and quickly. 5.6.1 Establishing the Configuration Task Before adjusting BFD parameters, familiarize yourself with the applicable environment and complete pre-configuration task for a BFD session, and obtain data required for configuring the BFD session.
  • Page 207: Adding The Description Of A Bfd Session

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: bfd configuration-name The BFD session view is displayed. Step 3 Run: min-tx-interval interval The expected interval for sending BFD packets is set.
  • Page 208: Configuring The Bfd Wtr

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Step 2 Run: bfd cfg-name The BFD session view is displayed. Step 3 Run: description description The description of a BFD session is added. description is a string of 1 to 51 characters.
  • Page 209: Setting The Priority Of Bfd Packets

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration 5.6.5 Setting the Priority of BFD Packets Context You can change the priority of BFD packets to: Check whether packets of different priorities on the same link can be forwarded.
  • Page 210: Configuring The Interval At Which Trap Messages Are Sent

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration <Quidway> display bfd configuration static for-ip verbose -------------------------------------------------------------------------------- BFD Session Configuration Name : bfd2 -------------------------------------------------------------------------------- Local Discriminator : 20 Remote Discriminator : 10 BFD Bind Type : Interface(Vlanif110)
  • Page 211: Configuring The Interval At Which Trap Messages Are Sent

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Applicable Environment If BFD is enabled with the SNMP trap function, the NMS receives messages indicating that the BFD session is Up or Down. If the BFD session flaps, the NMS will receive a large number of trap messages.
  • Page 212: Maintaining Bfd

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Prerequisite The configurations of the interval at which trap messages are sent are complete. Procedure Run the display current-configuration configuration bfd command to view the configuration of the BFD trap function.
  • Page 213: Configuration Examples

    If a BFD fault occurs, run the following debugging command in the user view to locate the fault. For the procedure of displaying the debugging information, refer to the chapter "Maintenance and Debugging" in the Quidway S6700 Series Ethernet Switches Configuration Guide - System Management.
  • Page 214 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Configure a BFD session on Switch A to detect the direct link from Switch A to Switch B. Configure a BFD session on Switch B to detect the direct link from Switch B to Switch A.
  • Page 215: Example For Configuring Single-Hop Bfd On A Vlanif Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Bind Peer IP Address : 224.0.0.184 NextHop Ip Address : 224.0.0.184 Bind Interface : XGigabitEthernet0/0/1 FSM Board Id TOS-EXP Min Tx Interval (ms) : 1000 Min Rx Interval (ms)
  • Page 216 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Figure 5-2 Networking diagram for configuring single-hop BFD on a VLANIF interface VLANIF 13 VLANIF 13 10.1.1.5/24 10.1.1.6/24 XGE0/0/1 XGE0/0/1 SwitchA SwitchB Configuration Roadmap The configuration roadmap is as follows: Create VLAN 13 on Switch A and Switch B.
  • Page 217 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Step 2 Set IP addresses of VLANIF 13 interfaces so that Switch A can communicate with Switch B at Layer 3. # Configure Switch A. [SwitchA] interface vlanif13 [SwitchA-Vlanif13] ip address 10.1.1.5 24...
  • Page 218 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Take the display on Switch A as an example. <SwitchA> display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 4097 (One Hop) State : Up Name : atob...
  • Page 219: Example For Configuring Multi-Hop Bfd

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration ip address 10.1.1.6 255.255.255.0 interface XGigabitEthernet0/0/1 port hybrid pvid vlan 13 port hybrid untagged vlan 13 bfd btoa bind peer-ip 10.1.1.5 interface Vlanif13 discriminator local 2 discriminator remote 1...
  • Page 220 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Use the default values of the minimum sending interval, the minimum receiving interval, and the local detection multiplier of a BFD control packet. Procedure Step 1 Add interfaces to VLANs, create VLANIF interfaces, and assign an IP address to each VLANIF interface.
  • Page 221 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration Session MIndex : 4096 (Multi Hop) State : Up Name : atoc -------------------------------------------------------------------------------- Local Discriminator : 10 Remote Discriminator : 20 Session Detect Mode : Asynchronous Mode Without Echo Function...
  • Page 222 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 5 BFD Configuration interface XGigabitEthernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 interface XGigabitEthernet0/0/2 port hybrid pvid vlan 20 port hybrid untagged vlan 20 return Configuration file of Switch C...
  • Page 223: Vrrp And Vrrp6 Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration VRRP and VRRP6 Configuration About This Chapter A VRRPor VRRP6 backup group allows a backup to take over network traffic from a master if the master fails.
  • Page 224 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.9 Configuring VRRP Version Upgrade After being upgraded from version 2 to version 3, VRRP can support both IPv6 and IPv4 networks. 6.10 Maintaining VRRP This section describes how to maintain VRRP. Detailed operations include deleting VRRP statistics, and monitoring the VRRP operation status.
  • Page 225: Vrrp Overview

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.1 VRRP Overview The Virtual Router Redundancy Protocol (VRRP) groups multiple routers into one virtual router, and sets the default gateway address as the IP address of the virtual router.
  • Page 226 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration The master switch undertakes all the services in normal condition. The backup switches undertake the services only when the master switch fails. Load Balancing Mode In the load balancing mode, two or more backup groups are created. Multiple backup groups undertake services at the same time.
  • Page 227: Configuring The Vrrp Backup Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration between switchs. To simplify the process and reduce the bandwidth occupied by protocol packets, you can configure a VRRP backup group to be an mVRRP backup group and bind it to other backup group members.
  • Page 228: Creating A Backup Group And Configuring A Virtual Ip Address

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration – The switch with the highest priority in the backup group serves as the master switch and undertakes the services. – Except for the master switch, other switchs in the backup group serve as the backup switchs and work in the Backup state.
  • Page 229 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Procedure For VRRP for IPv4, run the following commands: Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: vrrp vrid virtual-router-id virtual-ip virtual-address A backup group is created and its virtual IP address is specified.
  • Page 230 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration CAUTION l When configuring VRRP and static ARP simultaneously on the S6700, do not use the IP addresses in the static ARP entries as the virtual IP addresses of VRRP groups.
  • Page 231: Configuring Priorities For Interfaces Where A Backup Group Is Created

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.3.3 Configuring Priorities for Interfaces Where a Backup Group Is Created Configuring priorities for interfaces on which a VRRP backup group is created allows the VRRP status on an interface to become Master.
  • Page 232: Optional) Configuring The Sending Mode Of Vrrp Packets In Super-Vlan

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration By default, the priority is 100. Priority 0 is reserved for special use, and priority 255 is reserved for the IP address owner whose priority cannot be configured. The value of a priority ranges from 1 to 254.
  • Page 233 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Example In the master/backup mode, after the configuration, you can run the display vrrp command to view the status of a VRRP backup group. <Quidway> display vrrp...
  • Page 234: Configuring Vrrp To Track The Status Of An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Preempt : YES Delay Time : 0 TimerRun : 100 TimerConfig : 100 Virtual Mac : 0000-5e00-0201 Uncheck hop limit : YES Accept Mode : ON...
  • Page 235: Configuring Vrrp To Track The Status Of An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.4.2 Configuring VRRP to Track the Status of an Interface By configuring a VRRP backup group to track the interface status, you can implement the fast VRRP master/backup switchover.
  • Page 236: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration interfaces go Down, the priority of the VRRP backup group in the Backup state can exceed that in the Master state, thus triggering VRRP fast switchover. Thus, the increase of the priority caused by the down of other BFD sessions or interfaces has no impact on VRRP fast switchover.
  • Page 237: Configuring Vrrp To Tracking The Bfd Session Status

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Procedure Run the display vrrp [ interface interface-type interface-number [ virtual-router-id ] ] [ brief ] command to check the VRRP status. Run the display vrrp6 [ interface interface-type interface-number [ vrid virtual-router- id ] ] [ brief ] command to check the status and the configurations of a VRRP6 backup group.
  • Page 238: Establishing The Configuration Task

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.5.1 Establishing the Configuration Task Applicable Environment VRRP can monitor the BFD session status. When the BFD session status changes, the VRRP module is notified so that fast switchover is implemented.
  • Page 239 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Procedure For VRRP for IPv4: Run: system-view The system view is displayed. Run: interface vlanif interface-number The view of the interface that the VRRP backup group belongs to is displayed.
  • Page 240: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration The view of the interface that the VRRP backup group belongs to is displayed. Run: vrrp6 vrid virtual-router-id track bfd-session { session-id | session- name bfd-configure-name } [ increased value-increased | reduced value- reduced ] The normal BFD session is tracked.
  • Page 241: Configuring Vrrp Security

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration MasterPriority : 90 Preempt : YES Delay Time : 0 TimerRun : 1 TimerConfig : 1 Auth Type : NONE Virtual Mac : 0000-5e00-010a Check TTL : YES...
  • Page 242: Configuring The Authentication Mode Of Vrrp Packets

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Data Preparation To configure the VRRP security function, you need the following data. Data Backup group ID Virtual IP address of the backup group Authentication key of the VRRP packet 6.6.2 Configuring the Authentication Mode of VRRP Packets...
  • Page 243: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Characters $@$@ are used as the prefix and suffix of passwords with variable lengths, and they cannot be both configured at the beginning and end of a plain text password.
  • Page 244: Configuring The Interval For Sending Vrrp Advertising Messages

    IP address to check the network connectivity. By prohibiting the system from checking number of hops in VRRP packets, you can improve the compatibility of Huawei routers with different vendors' routers. Pre-configuration Tasks Before adjusting and optimizing VRRP, complete the following tasks:...
  • Page 245 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Context The master switch sends VRRP advertisement packets at intervals to other backup switchs. If the backup switchs do not receive VRRP advertising messages when the timer times out, the backup switch with the highest priority becomes the master switch automatically.
  • Page 246: Configuring The Preemption Delay Time Of Backup Group Switch S

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration devices do not receive any VRRP6 advertisement message after the interval expires, the backup device with the highest priority becomes the master device automatically. ----End 6.7.3 Configuring the Preemption Delay Time of Backup Group...
  • Page 247 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration NOTE On each switch to be configured with a delay mode in a VRRP backup group, it is recommended to configure backup switchs with the immediate preemption mode (whose delay time is 0 seconds) and configure the master switch with the preemption mode (whose delay time is specified).
  • Page 248: Enabling The Reachability Test Of The Virtual Ip Address

    Defined in RFC 3768, the system detects number of hops in received VRRP packets. The packets whose number of hops is not 255 are discarded. In certain networking environments where Huawei devices and non-Huawei devices work together, checking the number of hops in VRRP packets may result in discarding VRRP packets incorrectly.
  • Page 249: Configuring The Timeout Time Of Sending Gratuitous Arp Packets By The Master Router

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Procedure For VRRP for IPv4, Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: vrrp un-check ttl Checking TTLs in VRRP packets is disabled.
  • Page 250: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Step 2 Run: vrrp gratuitous-arp timeout time The timeout period is configured for the master switch to send gratuitous ARP packets. The master switch sends the ARP packets with the virtual MAC address. By default, the Master sends a gratuitous ARP packet every 120 seconds.
  • Page 251: Configuring Mvrrp Backup Groups

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration PriorityRun : 200 PriorityConfig : 200 MasterPriority : 200 Preempt : YES Delay Time : 0 TimerRun : 200 TimerConfig : 20 Virtual Mac : 0000-5e00-0201...
  • Page 252: Configuring Mvrrp Backup Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration The mVRRP backup group can be bound to several backup group members. The mVRRP backup group cannot be bound to other management backup groups. According to different applications, the binding relationship of the mVRRP backup group is as...
  • Page 253: 6.8.3 (Optional) Configuring Member Vrrp Backup Groups And Binding Them To The Mvrrp Backup Group

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Procedure For VRRP for IPv4: Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: vrrp vrid virtual-router-id virtual-ip virtual-address A backup group is created and a virtual IP address is assigned to the backup group.
  • Page 254 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Context Do as follows on each switch on which the member VRRP backup groups need to be bound to an mVRRP backup group. Procedure For VRRP for IPv4:...
  • Page 255: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Run: vrrp6 vrid virtual-router-id1 track admin-vrrp6 interface interface-type interface-number vrid virtual-router-id2 The member VRRP6 backup group is bound to the mVRRP6 backup group. After the member VRRP6 backup group is bound to the mVRRP backup group, the state machine of the member VRRP6 backup group becomes dependent.
  • Page 256: Configuring Vrrp Version Upgrade

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Member-interface number: 1 Interface: Vlanif 300, state: Up 6.9 Configuring VRRP Version Upgrade After being upgraded from version 2 to version 3, VRRP can support both IPv6 and IPv4 networks.
  • Page 257: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Step 2 Run: vrrp version v3 The VRRP version of the current device is set to VRRPv3. Step 3 (Optional) Run: vrrp version-3 send-packet-mode { v2-only | v3-only | v2v3-both } The mode for sending Advertisement packets in VRRPv3 is set.
  • Page 258: Configuration Examples

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Context CAUTION Debugging affects the performance of the system. After debugging, run the undo debugging all command to disable it immediately. When a VRRP fault occurs, run the following debugging commands in the user view to debug VRRP and locate the fault.
  • Page 259 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Figure 6-3 Networking of a VRRP group in master/backup mode Backup group 1 Virtual IP Address: SwitchA 10.1.1.111 Master XGE0/0/1 XGE0/0/2 XGE0/0/2 SwitchC XGE0/0/1 HostA 10.1.1.100/24...
  • Page 260 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration ID and virtual IP address of the VRRP group Priorities of Switch A and Switch B in the VRRP group Preemption mode Procedure Step 1 Configure VLANIF interfaces and assign IP addresses to the VLANIF interface.
  • Page 261 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration [SwitchB] [SwitchB-ospf-1] area 0 [SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [SwitchB-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.0.255 [SwitchB-ospf-1-area-0.0.0.0] quit [SwitchB-ospf-1] quit # Configure Switch C. [SwitchC] [SwitchC-ospf-1] area 0 [SwitchC-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 [SwitchC-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.0.255...
  • Page 262 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 1 TimerConfig : 1 Auth Type : NONE Virtual Mac :...
  • Page 263 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Config type : normal-vrrp Config track link-bfd down-number : 0 l When Switch A recovers, it preempts to be the master. Run the undo shutdown command on VLANIF 100 of Switch A. Wait for 20 seconds after VLANIF 100 recovers to the Up state, and then run the display vrrp command on Switch A to view the VRRP status.
  • Page 264: Example For Configuring Vrrp In Load Balancing Mode

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration return Configuration file of Switch C sysname SwitchC vlan batch 200 300 400 interface Vlanif200 ip address 192.168.1.2 255.255.255.0 interface Vlanif300 ip address 20.1.1.1 255.255.255.0 interface Vlanif400 ip address 192.168.2.2 255.255.255.0...
  • Page 265 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Figure 6-4 Networking of VRRP in load balancing mode Backup group 2 SwitchA Virtual IP Address: 10.1.1.112 group 1:Master group 2:Backup XGE0/0/2 XGE0/0/1 HostA XGE0/0/2 10.1.1.100/24...
  • Page 266 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration IDs and virtual IP addresses of the VRRP groups Priorities of Switch A and Switch B in the VRRP groups Procedure Step 1 Configure interworking between devices on the network.
  • Page 267 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Run the display vrrp command on Switch A, you can find that Switch A is the master in VRRP group 1 and the backup in VRRP group 2.
  • Page 268 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration return Configuration file of Switch B sysname SwitchB vlan batch 100 400 interface Vlanif100 ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.111 vrrp vrid 2 virtual-ip 10.1.1.112...
  • Page 269: Example For Configuring Vrrp Fast Switchover

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.11.3 Example for Configuring VRRP Fast Switchover Networking Requirements As shown in Figure 6-5, Switch A, Switch B, Switch C, Switch D and the Universal Medium Gateway (UMG) form a simple next generation network (NGN).
  • Page 270 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Configuration Roadmap The configuration roadmap is as follows: Implement networking between the Switches. Configure a BFD session on Switch A and Switch B to monitor Switch A and its downlink Switch A - Switch C - Switch D - Switch B.
  • Page 271 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Local Remote PeerIpAddr State Type InterfaceName -------------------------------------------------------------------------------- 10.1.1.2 Static Vlanif200 -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0 Step 3 Configure VRRP fast switchover. # Create VRRP group 10 on Switch A and set the priority of Switch A in VRRP group 10 to 160 so that Switch A functions as the master in VRRP group 10.
  • Page 272 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Step 4 Verify the configuration. # Run the shutdown command on VLANIF 200 of Switch A to simulate a link fault. [SwitchA] interface vlanif 200 [SwitchA-Vlanif200] shutdown [SwitchA-Vlanif200] quit On Switch B, VRRP fast switchover is performed after BFD fails.
  • Page 273 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration interface Vlanif100 ip address 10.1.1.1 255.255.255.0 vrrp vrid 10 virtual-ip 10.1.1.3 vrrp vrid 10 priority 160 interface Vlanif200 ip address 192.168.0.1 255.255.255.0 interface XGigabitEthernet0/0/1 port hybrid pvid vlan 100...
  • Page 274: Example For Configuring Vrrp6 On An Interface

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.11.4 Example for Configuring VRRP6 on an Interface Networking Requirements Switch A and Switch B elect a master device according to the configured priorities in a VRRP6 group.
  • Page 275 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration <Quidway> system-view [Quidway] sysname SwitchA [SwitchA] ipv6 # Configure SwitchB. <Quidway> system-view [Quidway] sysname SwitchB [SwitchB] ipv6 Step 2 Configure IPv6 addresses for interfaces. # Configure SwitchA.
  • Page 276 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration TimerConfig : 100 Virtual MAC : 0000-5e00-0218 Check hop limit : YES Config type : normal-vrrp Config track link-bfd down-number : 0 [SwitchB] display vrrp6 interface vlanif100...
  • Page 277: Example For Configuring Vrrp6 In Load Balancing Mode

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration 6.11.5 Example for Configuring VRRP6 in Load Balancing Mode Networking Requirements As shown in Figure 6-7, Switch A is the master device in VRRP group 1 and the backup device in VRRP group 2.
  • Page 278 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Configuration Roadmap The configuration roadmap is as follows: Create VRRP group 1 and VRRP group 2 on VLANIF 100 of Switch A. Ensure that Switch A is the master device in VRRP group 1 and the backup device in VRRP group 2.
  • Page 279 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration [SwitchB-Vlanif100] vrrp6 vrid 2 priority 120 [SwitchB-Vlanif100] quit Step 5 Verify the configuration. After the preceding configuration is complete, Host A and Host C can ping Host B successfully.
  • Page 280 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration Master IP : FE80::200:FF:FE00:24 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay time : 0 TimerRun : 100 TimerConfig : 100...
  • Page 281 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 6 VRRP and VRRP6 Configuration vrrp6 vrid 1 virtual-ip 2000::100 vrrp6 vrid 2 virtual-ip FE80::2 link-local vrrp6 vrid 2 virtual-ip 2000::60 vrrp6 vrid 2 priority 120 ospfv3 1 area 0.0.0.0 interface Vlanif200...
  • Page 282: Mac Swap Loopback Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration MAC Swap Loopback Configuration About This Chapter This chapter describes the working principle and configuration of MAC swap loopback. 7.1 MAC Swap Loopback Overview The MAC swap loopback function modifies the header of a received Ethernet frame by swapping the source and destination MAC addresses so that the Ethernet frame can be sent back to the sender.
  • Page 283: Mac Swap Loopback Overview

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration 7.1 MAC Swap Loopback Overview The MAC swap loopback function modifies the header of a received Ethernet frame by swapping the source and destination MAC addresses so that the Ethernet frame can be sent back to the sender.
  • Page 284: Configuring Local Mac Swap Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration the switch swaps source and destination MAC addresses of all Ethernet frames that match the remote MAC swap loopback configuration and sends the Ethernet frames back to the tester through this interface.
  • Page 285: Configuring Local Mac Swap Loopback

    Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Configuring QoS CAR if you want to test QoS CAR on the network For the configuration procedure, see the Quidway S6700 Series Ethernet Switches Configuration Guide - QoS. Data Preparation To configure local MAC swap loopback, you need the following data.
  • Page 286: Enabling The Mac Swap Loopback Function

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration CAUTION When a local MAC swap test is performed on an interface, services on the interface are interrupted, but services on other interfaces are not affected. If a large number of test packets are sent, test packets occupy bandwidth of other services on the interface that sends test packets back to the tester.
  • Page 287: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Context A loopback test deteriorates network performance. If a large number of test packets are sent, bandwidth of other services is occupied. Therefore, disable the MAC swap loopback function immediately after the loopback test is complete.
  • Page 288: Configuring Remote Mac Swap Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Loopback state : running Loopback test time(s) : 60 Loopback interface : XGigabitEthernet0/0/1 Loopback output interface : XGigabitEthernet0/0/2 Loopback source MAC : 0001-0001-0001 Loopback destination MAC...
  • Page 289: Configuring Remote Mac Swap Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration 7.4.2 Configuring Remote MAC Swap Loopback A remote MAC swap loopback test checks connectivity and performance of the network between a tester and a tested switch but does not check performance of the tested switch.
  • Page 290: Disabling The Mac Swap Loopback Function

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. MAC swap loopback tests cannot be performed on an Eth-Trunk interface or its member interfaces.
  • Page 291: Checking The Configuration

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration A MAC swap loopback test stops when you disable the MAC swap loopback function or the loopback test times out. To perform the loopback test again, run the loopback swap-mac start command.
  • Page 292 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Figure 7-3 Networking diagram of a local MAC swap loopback test Tester Ethernet XGE0/0/1 XGE0/0/2 Users SwitchB SwitchA Configuration Roadmap The configuration roadmap is as follows: Create a VLAN, configure XGE 0/0/1 as a trunk interface and XGE 0/0/2 as a hybrid interface, and add the interfaces to the VLAN.
  • Page 293: Example For Configuring Remote Mac Swap Loopback

    Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Step 3 Verify the configuration. After completing the configuration, run the display loopback swap-mac information command to verify the configuration. If the configuration is correct, send Ethernet frames from the tester to test network performance.
  • Page 294 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration Figure 7-4 Networking diagram of a remote MAC swap loopback test Tester Ethernet XGE0/0/1 Users SwitchB SwitchA Configuration Roadmap The configuration roadmap is as follows: Create a VLAN, configure XGE 0/0/1 as a trunk interface, and add the interface to the VLAN.
  • Page 295 Quidway S6700 Series Ethernet Switches Configuration Guide - Reliability 7 MAC Swap Loopback Configuration After completing the configuration, run the display loopback swap-mac information command to verify the configuration. If the configuration is correct, send Ethernet frames from the tester to test network performance.

Table of Contents