Summary of Contents for Huawei Quidway S3700 Series
Page 1
Quidway S3700 Series Ethernet Switches V100R006C01 Configuration Guide - Reliability Issue Date 2011-10-26 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.
Quidway S3700 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 S3700. This document describes how to configure the reliability.
Quidway S3700 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.
Quidway S3700 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 S3700 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 S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 3.4.5 Specifying Protected VLANs........................66 3.4.6 Creating a Control VLAN........................67 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 S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 4.5.6 Checking the Configuration........................167 4.6 Associating EFM OAM with an Interface......................168 4.6.1 Establishing the Configuration Task.....................168 4.6.2 Associating EFM OAM with an Interface.....................169 4.6.3 (Optional) Setting the Faulty-State Hold Timer..................170 4.6.4 Checking the Configuration........................171...
Page 9
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 4.13.1 Establishing the Configuration Task....................200 4.13.2 Configuring Association Between Ethernet CFM and an Interface............201 4.13.3 Checking the Configuration.........................203 4.14 Associating EFM OAM with Ethernet CFM....................203 4.14.1 Establishing the Configuration Task....................204 4.14.2 Associating EFM OAM with Ethernet CFM..................204...
Page 10
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 5.4.4 Configuring Two-Way DMM Packet Receiving...................270 5.4.5 Enabling the Two-way Frame Delay Measurement in a VLAN............271 5.4.6 Checking the Configuration........................272 5.5 Configuration Examples..........................272 5.5.1 Example for Configuring the One-way Frame Delay Measurement in a VLAN........272 5.5.2 Example for Configuring the Two-way Frame Delay Measurement in a VLAN.........277...
Page 11
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 6.9.3 Example for Configuring Multi-Hop BFD....................309 7 VRRP and VRRP6 Configuration...................313 7.1 VRRP Overview.............................315 7.2 VRRP Features Supported by the S3700......................315 7.3 Configuring the VRRP Backup Group......................317 7.3.1 Establishing the Configuration Task.....................317 7.3.2 Creating a Backup Group and Configuring a Virtual IP Address............318...
Page 12
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability Contents 7.11 Configuration Examples..........................348 7.11.1 Example for Configuring VRRP in Master/Backup Mode..............348 7.11.2 Example for Configuring VRRP in Load Balancing Mode..............354 7.11.3 Example for Configuring VRRP Fast Switchover................359 7.11.4 Example for Configuring VRRP6 on an Interface................364 7.11.5 Example for Configuring VRRP6 in Load Balancing Mode..............367...
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration physical link, and DLDP identifies the remote device and unidirectional link and disables unreachable interfaces. The auto negotiation mechanism and DLDP work together to detect and close unidirectional links on the physical and logical interfaces. If the interfaces on both ends of the link work normally on the physical layer, DLDP checks the connection and packet exchange between the two interfaces on the link layer.
Quidway S3700 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.
1 DLDP Configuration 1.2.4 (Optional) Enabling DLDP Compatible Mode Context If the S3700 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:...
Quidway S3700 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 S3700, the peer device of the S3700 may discover multiple neighbors, causing DLDP flapping.
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 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...
Quidway S3700 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 S3700. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 1 DLDP Configuration Procedure Step 1 Run the display dldp [ interface interface-type interface-number ] command to check the DLDP configuration and neighbor entries. ----End Example Run the display dldp command, and you can view the status of an interface after the DLDP status is reset.
Quidway S3700 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 25
Quidway S3700 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 26
Quidway S3700 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 Eth 0/0/1 of Switch A and Eth 0/0/1 of Switch B, as shown in Figure 1-3.
Quidway S3700 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.
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 29
Quidway S3700 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Data 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 Context Do as follows on the S3700.
MAC address table and ARP entries. 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration If you run flush send control-vlan vlan-id [ password simple password ] command in the Smart Link group view, the Smart Link group is enabled to send Flush packets that contain the specified control VLAN ID and password.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration The mapping between an instance and VLANs is set. A domain supports up to 49 instances, among which Instance 0 is the default instance and does not need to be created.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration 2.2.8 (Optional) Setting the Holdtime of the Smart Link Switchover Context If the Smart Link switchover is performed because of temporary interruption, packet forwarding and system performance are affected.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration The functions of the Smart Link group are enabled. ----End 2.2.10 Checking the Configuration Procedure Run the display smart-link group { all | group-id } command to check information about a Smart Link group.
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 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...
Quidway S3700 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 41
Quidway S3700 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...
Quidway S3700 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...
Quidway S3700 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.
Quidway S3700 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...
Quidway S3700 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 46
Quidway S3700 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 47
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration <SwitchC> system-view [SwitchC] interface ethernet 0/0/1 [SwitchC-Ethernet0/0/1] smart-link flush receive control-vlan 10 password simple [SwitchC-Ethernet0/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 48
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Ethernet0/0/1 Master Active 0000/00/00 00:00:00 UTC+00 Ethernet0/0/2 Slave Inactive 1 0000/00/00 00:00:00 UTC+00 ----End Configuration Files Configuration file of Switch A sysname Switch A...
Quidway S3700 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 50
Quidway S3700 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 51
Quidway S3700 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 52
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Ethernet0/0/2 Slave Active 0000/00/00 00:00:00 UTC+00 # Run the undo shutdown command to enable Eth 0/0/1 and wait for 30 seconds. Then you can find that Eth 0/0/1 is in Active state and Eth 0/0/2 is in Inactive state.
Quidway S3700 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 Ethernet0/0/1 port link-type trunk...
Page 54
Quidway S3700 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 Eth0/0/1 Eth0/0/1 Eth0/0/2 Monitor Link group Monitor Link group Eth0/0/3 SwitchA...
Page 55
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 S3700 Series Ethernet Switches Configuration Guide - Ethernet. Step 2 Create Smart Link groups and enable the functions of the groups.
Page 56
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration [SwitchA-smlk-group1] flush send control-vlan 10 password simple 123 [SwitchA-smlk-group1] quit [SwitchA] interface ethernet 0/0/3 [SwitchA-Ethernet0/0/3] smart-link flush receive control-vlan 10 password simple [SwitchA-Ethernet0/0/3] quit # Configure Switch B.
Page 57
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration Ethernet0/0/1 Master Active 0000/00/00 00:00:00 UTC+00 Ethernet0/0/2 Slave Inactive 0000/00/00 00:00:00 UTC+00 [SwitchA] display monitor-link group 1 Monitor Link group 1 information : Recover-timer is 10 sec.
Page 58
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 2 Smart Link and Monitor Link Configuration monitor-link group 2 port Ethernet0/0/1 uplink port Ethernet0/0/3 downlink 1 timer recover-time 10 return Configuration file of Switch C sysname SwitchC vlan batch 10...
Quidway S3700 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.
Quidway S3700 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 62
Quidway S3700 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 63
Quidway S3700 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 64
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Context Do as follows on the S3700 that you want to add to an RRPP domain with multiple instances. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S3700 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 Ethernet interfaces, GE interfaces, 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.
Quidway S3700 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.3.6 Specifying Protected VLANs Context Do as follows on all S3700s 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration system-view 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.
Quidway S3700 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: timer hello-timer hello-value fail-timer fail-value The values of RRPP domain timers are set.
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration RRPP rings can be configured only on Ethernet interfaces, GE interfaces, 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 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. You can create up to eight domains on S3700.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.4.6 Creating a Control VLAN Each RRPP ring has two control VLANs. The major control VLAN transmits mainly the protocol packets of the major ring; the sub-control VLAN transmits mainly the protocol packets of the sub-rings.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration system-view 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Step 2 Run: rrpp ring-group ring-group-id An RRPP ring group is created. The ring group can be only created on edge nodes or assistant edge nodes. In an RRPP ring group, the nodes of all sub-rings must have the same type. That is, all of them must be all edge nodes or assistant edge nodes.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration 3.4.12 (Optional) Setting the Hello Timer and Fail Timer of an RRPP Domain Two timers, that is, the Hello timer and the Fail timer are used when master nodes are sending and receiving RRPP protocol packets.
Page 84
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Example Run the display stp region-configuration command, and you can view the mapping between MSTIs and VLANs. The following is an example: <Quidway> display stp region-configuration Oper configuration...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration ------------------------------------------------------------------------------- Send 2934 2936 Secondary port: GigabitEthernet0/0/2 Packet LINK COMMON COMPLETE EDGE MAJOR Packet Direct HEALTH DOWN HELLO FAULT Total ------------------------------------------------------------------------------- Send 2928 2929 3.5 Maintaining RRPP Commands of clearing statistics helps to locate the RRPP faults on a device.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration When there is an RRPP running fault, run the following debugging command in the user view to view the debugging information. The debugging information helps to locate and analyze the fault.
Page 87
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Data Preparation To complete the configuration, you need the following data: Numbers of the RRPP interfaces Control VLAN ID of ring 1 Procedure Step 1 Map instance 1 to VLANs 100 to 300.
Page 88
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchB] interface ethernet 0/0/1 [SwitchB-Ethernet0/0/1] port link-type trunk [SwitchB-Ethernet0/0/1] port trunk allow-pass vlan 100 to 300 [SwitchB-Ethernet0/0/1] stp disable [SwitchB-Ethernet0/0/1] quit [SwitchB] interface ethernet 0/0/2 [SwitchB-Ethernet0/0/2] port link-type trunk...
Page 89
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Enable RRPP on SwitchC. [SwitchC] rrpp enable Step 6 Verify the configuration. After the configurations are complete and network become stable, run the following commands to verify the configuration. Take Switch A for example.
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 92
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration VLAN 2 to VLAN 9 so that the interfaces allow service packets of these VLANs to pass through. Configure ring 2 (subring) of domain 1on Switch A, Switch B, and Switch D.
Page 93
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration secondary-port ethernet 0/0/2 level 0 [SwitchB-rrpp-domain-region1] ring 1 enable [SwitchB-rrpp-domain-region1] quit Step 2 Configure Switch C as the master node of the subring. # Create data VLANs 2 to 9 on Switch C.
Page 94
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # On SwitchA, configure domain 1. Then configure VLAN 10 as the main control VLAN and instance 1 as the protected instance of domain 1. [SwitchA] rrpp enable...
Page 95
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchD-rrpp-domain-region1] control-vlan 10 [SwitchD-rrpp-domain-region1] protected-vlan reference-instance 1 [SwitchD-rrpp-domain-region1] quit # Disable STP on the interfaces to be added to the RRPP rings, configure the interfaces as trunk interfaces, and configure the interfaces to allow service packets of VLAN 2 to VLAN 9 to pass through.
Page 96
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration You can find that RRPP is enabled on Switch B. The main control VLAN is VLAN 10, and the sub control VLAN is VLAN 11. Switch B is the master node of the major ring, with Eth 0/0/1 as the primary interface and Eth 0/0/2 as the secondary interface.
Page 97
Quidway S3700 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: 1 Domain Index Control VLAN : major 10...
Page 98
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration GEthernet0/0/2 as the primary interface and Ethernet0/0/1 as the secondary interface. Switch D is also the assistant edge node of the major ring, with Ethernet0/0/2 as the common interface and Ethernet0/0/3 as the edge interface.
Page 99
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration port link-type trunk port trunk allow-pass vlan 2 to 11 stp disable return Configuration file of Switch B sysname SwitchB vlan batch 2 to 11 rrpp enable stp region-...
Page 102
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchB] stp region-configuration [SwitchB-mst-region] instance 2 vlan 20 to 21 [SwitchB-mst-region] active region-configuration [SwitchB-mst-region] quit # Configure Switch C. <Quidway> system-view [Quidway] sysname SwitchC [SwitchC] stp region-configuration [SwitchC-mst-region] instance 1 vlan 10 to 11...
Page 103
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchA-rrpp-domain-region2] protected-vlan reference-instance 2 [SwitchA-rrpp-domain-region2] quit # Configure domain 2 on Switch B, which is the transit node of ring 2. Configure VLAN 20 as the main control VLAN of domain 2, and configure the list of protected VLANs of instance 2.
Page 104
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchA-Ethernet0/0/2] stp disable [SwitchA-Ethernet0/0/2] quit # Disable STP on the interfaces to be added to the RRPP ring on Switch B. [SwitchB] interface ethernet 0/0/1 [SwitchB-Ethernet0/0/1] stp disable...
Page 105
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [SwitchC] rrpp domain 2 [SwitchC-rrpp-domain-region2] ring 2 node-mode transit primary-port ethernet 0/0/3 secondary-port ethernet 0/0/4 level 0 [SwitchC-rrpp-domain-region2] ring 2 enable [SwitchC-rrpp-domain-region2] quit Configure nodes on ring 1. The configuration procedure is as follows: # Configure Switch E as the master node of ring 1 (major ring) and specify the primary and secondary interfaces.
Page 106
Quidway S3700 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 10...
Page 107
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 20 to 21 rrpp enable stp region- configuration instance 2 vlan 20 to active region-configuration rrpp domain 2...
Page 108
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration sysname SwitchC vlan batch 10 to 11 20 to 21 rrpp enable stp region- configuration instance 1 vlan 10 to 11 instance 2 vlan 20 to active region-configuration...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration port hybrid tagged vlan 10 to 11 stp disable interface Ethernet0/0/2 port hybrid tagged vlan 10 to 11 stp disable return Configuration file of Switch E sysname SwitchE...
Page 110
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Table 3-1 Mapping between protected VLANs and instances Ring Control VLAN Instance ID of Data VLAN ID Instance ID of Control VLAN Data VLAN Domain VLAN 5, VLAN 6...
Page 111
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Map instance 1 to VLANs 100 to 200. Map instance 2 to VLANs 201 to 300. Add UPE A, UPE B, UPE C, and PE-AGG to ring 1 in domain 1.
Page 112
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration # Create instance 2 and map it to control VLANs VLAN 10 and VLAN 11 and data VLANs 201 to 300 in domain 2. [UPEB-mst-region] instance 2 vlan 10 11 201 to 300 # Activate the configuration.
Page 113
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Instance Vlans Mapped 1 to 4, 7 to 9, 12 to 99, 301 to 4094 5 to 6, 100 to 200 10 to 11, 201 to 300 Step 2 Configure RRPP interfaces.
Page 114
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [PE-AGG-Ethernet0/0/2] stp disable [PE-AGG-Ethernet0/0/2] quit Step 3 Create RRPP domains and configure the protected VLANs and control VLANs. l Configure UPE A. # Configure the VLANs mapping instance 1 as the protected VLANs in domain 1. Configure VLAN 5 as the control VLAN.
Page 115
Quidway S3700 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. [PE-AGG] rrpp domain 2 [PE-AGG-rrpp-domain-region2] protected-vlan reference-instance 2...
Page 116
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Configure PE-AGG. # Configure PE-AGG as the master node of ring 1 in domain 1. Configure Eth 0/0/1 as the primary port and Eth 0/0/2 as the secondary port.
Page 117
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Hello Timer : 1 sec(default is 1 sec) Fail Timer : 6 sec(default is 6 sec) Ring Ring Node Primary/Common Secondary/Edge Level Mode Port Port Enabled ---------------------------------------------------------------------------- Ethernet0/0/1...
Page 118
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Run the display rrpp verbose domain command on UPE A. You can obtain the following results: # View detailed information about UPE A in domain 1. [UPEA] display rrpp verbose domain 1...
Page 119
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The primary port is Eth 0/0/1, and the secondary port is Eth 0/0/2. # View detailed information about PE-AGG in domain 2. [PE-AGG] display rrpp verbose domain 2...
Page 120
Quidway S3700 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration interface Ethernet0/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 PE-AGG sysname PE-AGG vlan batch 5 to 6 10 to 11 100 to 300...
Page 122
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Table 3-3 shows the mapping between protected VLANs and instances in domain 1 and domain Table 3-3 Mapping between protected VLANs and instances Domain ID Control Instance ID...
Page 123
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Table 3-5 Edge nodes, assistant edge nodes, public port, and edge port of the subrings Ring Edge Comm Edge Port Edge- Common Edge Port Node on Port Assistant...
Page 125
Quidway S3700 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 126
Quidway S3700 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 127
Quidway S3700 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 128
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [CE1-Ethernet0/0/2] stp disable [CE1-Ethernet0/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 129
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEC-Ethernet0/0/2] port trunk allow-pass vlan 100 to 300 [UPEC-Ethernet0/0/2] stp disable [UPEC-Ethernet0/0/2] quit [UPEC] interface ethernet 0/0/3 [UPEC-Ethernet0/0/3] port link-type trunk [UPEC-Ethernet0/0/3] port trunk allow-pass vlan 100 to 300...
Page 130
Quidway S3700 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 131
Quidway S3700 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 132
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration secondary-port ethernet 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 133
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration secondary-port ethernet 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 134
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration secondary-port ethernet 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 Eth 0/0/2 as the primary port and Eth 0/0/1 as the secondary port.
Page 135
Quidway S3700 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 136
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration UPE B is a transit node on ring 1; Eth 0/0/1 is the primary port; Eth 0/0/2 is the secondary port. UPE B is an edge transit node on ring 2. Eth 0/0/1 is the public port and Eth 0/0/3 is the edge port.
Page 137
Quidway S3700 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 138
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Is Enabled : Enable Is Active : Yes Common port Ethernet0/0/1 Port status: UP Edge port Ethernet0/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 139
Quidway S3700 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 140
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration control-vlan 10 protected-vlan reference-instance 2 ring 3 node-mode master primary-port Ethernet 0/0/2 secondary-port Ethernet 0/0/1 level 1 ring 3 enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 6 11 100 to 300...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration stp disable interface Ethernet0/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 PE-AGG sysname PE-AGG...
Page 144
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Table 3-6 shows the mapping between protected VLANs and instances in domain 1, domain 2, and domain 3. Table 3-6 Mapping between protected VLANs and instances Domain ID...
Page 145
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Configuration Roadmap The configuration roadmap is as follows: Map instance 1 to VLANs 100 to 200. Map instance 2 to VLANs 201 to 300. Add UPE A, UPE B, UPE C, and UPE D to ring 1 in domain 1 and ring 1 in domain 2.
Page 146
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration <Quidway> system-view [Quidway] sysname UPEB [UPEB] 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 147
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPED-mst-region] active region-configuration [UPED-mst-region] quit l Configure UPE E. # Create data VLANs 100 to 300 on UPE E. <Quidway> system-view [Quidway] sysname UPEE [UPEE] 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 148
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Instance Vlans Mapped 1 to 4, 7 to 9, 12 to 99, 301 to 4094 5 to 6, 100 to 200 10 to 11, 201 to 300 Step 2 Configure RRPP interfaces.
Page 149
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPED-Ethernet0/0/3] quit [UPED] interface ethernet 0/0/2 [UPED-Ethernet0/0/2] port link-type trunk [UPED-Ethernet0/0/2] port trunk allow-pass vlan 100 to 300 [UPED-Ethernet0/0/2] stp disable [UPED-Ethernet0/0/2] quit [UPED] interface ethernet 0/0/4 [UPED-Ethernet0/0/4] port link-type trunk...
Page 150
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEA-rrpp-domain-region1] control-vlan 5 [UPEA-rrpp-domain-region1] quit # Configure the VLANs mapping instance 2 as the protected VLANs in domain 2. Configure VLAN 10 as the control VLAN. [UPEA] rrpp domain 2...
Page 151
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPED] rrpp domain 3 [UPED-rrpp-domain-region3] protected-vlan reference-instance 1 2 3 [UPED-rrpp-domain-region3] control-vlan 20 [UPED-rrpp-domain-region3] quit l Configure UPE E. # Configure VLAN 20 as the control VLAN in domain 3.
Page 152
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration secondary-port ethernet 0/0/2 level 0 [UPEB-rrpp-domain-region2] ring 1 enable [UPEB-rrpp-domain-region2] quit l Configure UPE C. # Configure UPE C as a transit node of ring 1 in domain 1 and specify primary and secondary ports on UPE C.
Page 153
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration [UPEF] rrpp domain 3 [UPEF-rrpp-domain-region3] ring 1 node-mode master primary-port ethernet 0/0/1 secondary-port ethernet 0/0/2 level 0 [UPEF-rrpp-domain-region3] ring 1 enable [UPEF-rrpp-domain-region3] quit l Configure UPE G. # Configure UPE G as a transit node of ring 1 in domain 3 and specify primary and secondary ports on UPE G.
Page 154
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration l Run the display rrpp brief command on UPE D. The following information is displayed: [UPED] display rrpp brief Abbreviations for Switch Node Mode : M - Master , T - Transit , E - Edge , A - Assistant-Edge...
Page 155
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration Control VLAN : major 5 sub 6 Protected VLAN : Reference Instance 1 Hello Timer : 1 sec(default is 1 sec) Fail Timer : 6 sec(default is 6 sec)
Page 156
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration The primary port is Eth 0/0/3, and the secondary port is Eth 0/0/4. ----End Configuration Files Configuration file of UPE A sysname UPEA vlan batch 5 to 6 10 to 11 100 to 300...
Page 157
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 3 RRPP Configuration ring 1 enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 5 to 6 10 to 11 100 to 300 stp disable interface Ethernet0/0/2 port link-type trunk...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Ethernet OAM Configuration About This Chapter This chapter describes Ethernet OAM and its configurations, and how to implement link-level Ethernet OAM detection and network-level Ethernet OAM detection to improve network reliability.
Page 161
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.8 Configuring Basic Ethernet CFM By configuring basic Ethernet CFM functions, you can implement end-to-end detection, advertisement, verification, and location of connectivity faults. 4.9 Configuring Related Parameters of Ethernet CFM By adjusting parameters of Ethernet CFM, you can detect connectivity of an Ethernet network from end to end.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 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 163
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration mile. EFM OAM is a link-level OAM mechanism. The S3700 provides the following EFM OAM functions: Peer discovery When the EFM OAM function is enabled on an interface of the S3700 and the peer interface, the two interfaces match their EFM OAM configurations by sending and responding to OAM Protocol Data Units (OAMPDUs).
Page 164
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Table 4-1 Differences between IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007 Feature draft7 standard2007 Remarks Supported Supported The features and configurations supported by 802.1ag Draft 7 and Standard 802.1ag-2007 are...
Page 165
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration – MD A maintenance domain (MD) is a network or a part of the network where CFM is performed. Devices in an MD are managed by a single ISP.
Page 166
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration to locate faults. 802.1ag MAC trace is initiated by a MEP and destined for an RMEP or MIP in the same MA. – Gmac trace Gmac trace works similarly to 802.1ag MAC trace. A MEP, however, is not required to initiate Gmac trace.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration – An Ethernet CFM module sends a fault notification message to an EFM OAM module. – An EFM OAM module a fault notification message to an Ethernet CFM module.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.3.2 Enabling EFM OAM Globally You must enable EFM OAM globally before configuring EFM OAM functions. Context Do as follows on the devices at both ends of the link:...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Instead of initiating OAM discovery, the interface in passive mode waits for an OAMPDU sent from the interface in active mode. If both interfaces are configured to work in active mode, you can implement link detection.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration TriggerIfDown: disable TriggerMacRenew: disable Remote MAC: 00e0-fc7f-724f Remote EFM Enable Flag: enable 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.4.2 (Optional) Detecting Errored Frames of EFM OAM When an interface is enabled to detect errored frames, the S3700 generates an errored frame event and notifies the peer, if the number of errored frames reaches or exceeds the threshold within a set period.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Step 3 Run: efm error-frame-second period period The period for detecting errored frame seconds on the interface is set. By default, the period for detecting errored frame seconds on an interface is 60 seconds.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration By default, no threshold crossing event is associated with interfaces. ----End Follow-up Procedure After a threshold crossing event is associated with an interface, you can configure the interface...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Remote State: 4.5 Testing the Packet Loss Ratio on the Physical Link By testing the packet loss ratio on a physical link, you can take effective measures to ensure better performance of the link.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Data Timeout period for remote loopback Destination MAC address, VLAN ID, outbound interface, size, number, and sending rate of test packets 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration You can use the display efm session command to check whether the EFM OAM protocols running on the local interface and the peer are in the Detect state.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration l Number of sent test packets l Number of received test packets l Number of discarded test packets l Total number of bytes of sent test packets...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Example Run the display efm session command on the device with an active interface on the link. If the EFM OAM protocol on the active interface is in the Loopback (control) state, which indicates that the active interface initiates remote loopback, the configuration is successful.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Pre-configuration Tasks Before associating EFM OAM with an interface, complete the following tasks: Configuring EFM OAM Data Preparation To associate EFM OAM with an interface, you need the following data.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration EFM OAM is associated with the interface. By default, EFM OAM is not associated with an interface. The efm trigger if-down command is valid in the interface view only after EFM OAM is enabled on the interface with the efm enable command.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The view of an interface at one end of the link is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-4 Networking diagram of the association between an EFM OAM session and an interface EFM OAM GE0/0/1 GE0/0/1 GE0/0/2 GE0/0/2 Interface associated with EFM OAM Interface enabled with EFM OAM...
Page 186
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Context During the configuration of the association between an EFM OAM session and an interface, Step 3, Step 4, and Step 5 are optional and can be performed as required.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration interface interface-type2 interface-number2 specifies the interface associated with the EFM OAM session. NOTE If Step 5 is performed, both the oam-bind ingress efm interface md-name ma ma-name trigger if-...
Page 188
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Applicable Environment You can perform the configuration task to implement the following functions on the Ethernet: Automatic end-to-end connectivity detection Automatic connectivity detection on directly connected links...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.8.2 Switching IEEE 802.1ag Versions A device can switch its Ethernet CFM version between IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. Context By default, IEEE 802.1ag Draft 7 is enabled on the device. Do as follows on each S3700 that requires IEEE Standard 802.1ag-2007:...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Context Do as follows on the switch that requires Ethernet CFM: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name [ format { no-md-name | dnsname-and-mdname | mac-address | md- name } ] [ level level ] An MD is created and the MD view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration By default, the default MD is at Level 7, the highest level. Each device can create only one default MD. NOTE The default MD must be of a higher level than all MDs to which MEPs configured on the local device belong.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Follow-up Procedure An MA is associated with a VLAN only. If you need to create multiple MAs in an MD, repeat Step 3 and Step 4. If you need to create multiple MAs in multiple MDs, repeat Step 2 to Step 4.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration To create multiple MEPs in an MA, repeat Step 4. To create MEPs in multiple MAs, repeat Step 3 and Step 4. To create MEPs in multiple MDs, repeat Step 2 to Step 4.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Set the MIP creation rule. Run the following command as required. You can set the MIP creation rule in accordance with IEEE 802.1ag Draft 7 or IEEE Standard 802.1ag-2007.
Page 195
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma ma-name The MA view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.8.11 (Optional) Creating a VLAN Through the association between a VLAN and default MDs, all interfaces of the specified VLAN can generate MIPs based on default MDs.
Page 197
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Example # In IEEE 802.1ag Draft 7, if an MD is created successfully, you can view the MD and the level of the MD after running the display cfm md command.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Level MA Name : ma1 MEP ID : 11 Vlan ID : 221 VSI Name : -- Interface Name : Ethernet0/0/1 CCM Send : disabled Direction : inward...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.9.1 Establishing the Configuration Task Before configuring parameters of Ethernet CFM, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Data Preparation To adjust parameters of Ethernet CFM, you need the following data. Data (Optional) RMEP activation time (Optional) Anti-jitter time during alarm restoration (Optional) Anti-jitter time during alarm generation 4.9.2 (Optional) Configuring the RMEP Activation Time...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.9.3 (Optional) Configuring the Anti-Jitter Time During Alarm Restoration By configuring the anti-jitter time during alarm restoration, you can suppress alarm flapping. Context Do as follows on each device:...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma ma-name The MA view is displayed. Step 4 Run: alarm occur time time The anti-jitter time during alarm generation is configured.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Data (Optional) MAC address or ID of the destination MEP (Optional) MAC address of the destination MIP (Optional) Number, size, timeout period, and outgoing interface of MAC ping packets (Optional) VLAN that the destination node belongs to 4.10.2 (Optional) Implementing 802.1ag MAC Ping...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration l The MA is associated with a VLAN. l The MEP is configured in the MA. l If the outbound interface is specified, it cannot be configured with an inward-facing MEP.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration device cannot ping through the peer device when the ping mac command is run to detect connectivity of the link between the local and peer devices. ----End 4.11 Locating the Fault on the Ethernet...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.11.2 (Optional) Implementing 802.1ag MAC Trace By performing the 802.1ag MAC trace, you can detect connectivity between MEPs or between MEPs and MIPs within an MA and locate faults.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration l If the destination node is a MEP, either mac mac-address or remote-mep mep-id mep-id can be selected. If remote-mep mep-id mep-id is selected, the RMEP must already be created with the remote-mep command.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration A MEP is not required to initiate Gmac trace. The destination node does not need to be a MEP or a MIP. Gmac trace can be implemented without configuring the MD, MA, or MEP on the source device, the intermediate device, and the destination device.
Page 209
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-5 Figure 4-6 show the application of CFM on a direct link and a multi-hop link respectively. Ethernet CFM is configured between SwitchA and SwitchB, and the Ethernet CFM module is associated with Eth 0/0/1 of SwitchA.
Page 210
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-8 Application scenario of association between an Ethernet CFM module and an interface (4) SwitchC Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/1 Ethernet0/0/1 Eth-Trunk1 Eth-Trunk1 SwitchB SwitchA Ethernet0/0/2 Ethernet0/0/2 Ethernet0/0/1...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.12.2 Associating Ethernet CFM with an Interface Through the configured association between Ethernet CFM and an interface, a MEP in a specified MA can detect a connectivity fault between the MEP and a specified RMEP within the same MA.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Example Run the display cfm remote-mep command. If the "Trigger If-down" field for the RMEP is displayed as "enable", it means that the configuration succeeds. <Quidway> display cfm remote-mep...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-9 Networking diagram of the association between Ethernet CFM and an interface Ethernet CFM GE0/0/1 GE0/0/1 GE0/0/2 GE0/0/2 Interface associated with Ethernet CFM Interface enabled with Ethernet CFM...
Page 214
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Context Do as follows on the device that needs the association. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: oam-mgr The OAM management view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Scenario Configuration Scheme 1 Configuration Scheme 2 Fault Choose either of the following None information commands according to the needs to be transmission direction: transmitted l If fault information needs to be...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.14.1 Establishing the Configuration Task Applicable Environment IEEE 802.1ah is designed for the last mile of the Ethernet to detect the direct link between a CE device and a PE device. IEEE 802.1ag is designed for a group of services or certain network devices to detect faults on the network.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: oam-mgr The OAM management view is displayed. Step 3 Run the following command as required.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration oam-mgr oam-bind ingress efm interface Ethernet0/0/1 egress cfm md md1 ma ma1 oam-bind ingress cfm md md1 ma ma1 egress efm interface Ethernet0/0/2 ----End 4.15 Configuring Association Between Ethernet CFM and Ethernet CFM This section describes how to configure association between Ethernet CFM and Ethernet CFM.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Data Interface to be associated and number of the interface Names of the MD and MA 4.15.2 Configuring Association Between Ethernet CFM and Ethernet CFM Context Do as follows on the devices where association between Ethernet CFM and Ethernet CFM needs to be configured.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Procedure Step 1 In the OAM management view, run the display this command to check association between Ethernet CFM and Ethernet CFM. [Quidway-oam-mgr] display this oam-mgr oam-bind ingress cfm md md1 ma ma1 egress cfm md md1 ma ma2...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Data Names of MDs and MAs SEP segment Number of the interface added to the SEP segment 4.16.2 Configuring Association Between Ethernet CFM and SEP Context Do as follows on the device where association between Ethernet CFM and SEP needs to be configured.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.17 Maintaining Ethernet OAM This section describes how to maintain Ethernet OAM. Detailed operations include deleting CCM statistics, monitoring Ethernet OAM. 4.17.1 Debugging EFM OAM After debugging, you need to disable the debugging function in time.
Page 223
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-12 Networking diagram for configuring EFM OAM SwitchA SwitchB Ethernet0/0/1 User Internet network Ethernet0/0/1 Configuration Roadmap The configuration roadmap is as follows: Enable EFM OAM globally on Switch A and Switch B.
Page 224
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchA] interface ethernet 0/0/1 [SwitchA-Ethernet0/0/1] efm mode passive [SwitchA-Ethernet0/0/1] bpdu enable Step 3 Enable EFM OAM on Eth 0/0/1 of Switch B and Eth 0/0/1 of Switch A.
Page 226
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-13 Networking diagram for testing the packet loss ratio on the link SwitchA SwitchB Ethernet0/0/1 User Internet network Ethernet0/0/1 Configuration Roadmap The configuration roadmap is as follows: Enable EFM OAM on Switch A and Switch B.
Page 227
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchA-Ethernet0/0/1] efm enable [SwitchA-Ethernet0/0/1] quit # Enable EFM OAM on Eth 0/0/1 of Switch B. [SwitchB] interface ethernet 0/0/1 [SwitchB-Ethernet0/0/1] bpdu enable [SwitchB-Ethernet0/0/1] efm enable [SwitchB-Ethernet0/0/1] quit # Verify the configuration.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration You can obtain the packet loss ratio on the link based on the preceding data. Step 5 Disable EFM OAM remote loopback. [SwitchB] interface ethernet 0/0/1 [SwitchB-Ethernet0/0/1] efm loopback stop...
Page 230
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Level of MD 1: 6 Level of MD 2: 4 Procedure Step 1 Create VLANs and add interfaces to the VLANs. The configuration procedure is not mentioned here.
Page 231
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Step 6 Create MEPs and RMEPs in MA 1 of MD 1 on Switch I, Switch H, and Switch E. # Create a MEP in MA 1 of MD 1 on Switch E.
Page 232
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchG-md-md1-ma-ma2] remote-mep mep-id 1 [SwitchG-md-md1-ma-ma2] quit [SwitchG-md-md1] quit Step 8 Create MEPs and RMEPs in MA 3 of MD 2 on Switch A, Switch C, and Switch D.
Page 233
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration # View detailed information about the RMEP on SwitchA. [SwitchA] display cfm remote-mep The total number of RMEPs is : 2 The status of RMEPS : 2 up, 0 down, 0 disable...
Page 234
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Alarm Status : RemoteAlarm ----End Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 2 to 4 cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4...
Page 235
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration map vlan 4 return Configuration file of Switch C sysname SwitchC vlan batch 2 to 4 cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4...
Page 236
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration return Configuration file of Switch E sysname SwitchE vlan batch 2 cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 interface Ethernet0/0/3 port link-type trunk...
Page 239
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Create MD 1 at level 6 on all the devices except for Switch B and Switch C. Create MD 2 at level 4 on Switch B and Switch C.
Page 240
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchA] cfm enable [SwitchA] cfm md md1 level 6 [SwitchA-md-md1] quit # Create MD 1 on Switch D, Switch E, and Switch F. The configurations on Switch D, Switch E, and Switch F are similar to the configuration on Switch A, and are not mentioned here.
Page 241
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration # Create MA 2 in MD 1 on Switch A. [SwitchA-md-md1] ma ma2 [SwitchA-md-md1-ma-ma2] map vlan 3 [SwitchA-md-md1-ma-ma2] quit [SwitchA-md-md1] quit # Create MA 2 in MD 1 on Switch D and Switch E.
Page 242
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchA-md-md1-ma-ma2] remote-mep ccm-receive enable [SwitchA-md-md1-ma-ma2] quit [SwitchA-md-md1] quit # Enable the function of sending CCMs in all MEPs and the function of receiving CCMs from all the RMEPs on Switch E and Switch F.
Page 243
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration cfm version standard cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 3 interface Ethernet0/0/3...
Page 244
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration port link-type trunk port trunk allow-pass vlan 2 to 3 cfm md md2 level 4 cfm default md level 6 mip create-type default vlan 2 to 3...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration vlan batch 2 cfm version standard cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 interface Ethernet0/0/3 port link-type trunk port trunk allow-pass vlan 2...
Page 246
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Configure EFM OAM between Switch B and Switch C. On Switch B, configure association between an EFM OAM module and Eth 0/0/1. Procedure Step 1 Configure EFM OAM between Switch B and Switch C.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 4.18.6 Example for Configuring Association Between an Ethernet CFM Module and an Interface Networking Requirements As shown in Figure 4-17, CFM is used on a direct link and a multi-hop link. Ethernet CFM is configured between Switch A and SwitchB, and Ethernet CFM is associated with Eth 0/0/1 of Switch A.
Page 249
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchA] cfm enable # Create the MD, MA, MEP, and RMEP on Switch A. [SwitchA]cfm md md1 [SwitchA-md-md1]ma ma1 [SwitchA-md-md1-ma-ma1] map vlan 10 [SwitchA-md-md1-ma-ma1] ccm-interval 1000 [SwitchA-md-md1-ma-ma1] mep mep-id 2 interface ethernet 0/0/2 outward...
Page 250
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration 0/0/1 [SwitchA-oam-mgr] quit Step 4 Verify the configuration. Shut down Eth 0/0/2 on Switch A. [SwitchA] interface ethernet 0/0/2 [SwitchA-Ethernet0/0/2] shutdown [SwitchA-Ethernet0/0/2] quit After the interface of Switch A is shut down, the OAM management module reports the fault to Eth 0/0/1.
Page 252
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Configuration Roadmap The configuration roadmap is as follows: Create VLANs and add interfaces to the VLANs. Configure EFM OAM between Switch A and Switch B. Configure Ethernet CFM between the Switch B and Switch C.
Page 253
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchC-md-md1-ma-ma1] remote-mep mep-id 1 [SwitchC-md-md1-ma-ma1] mep ccm-send enable [SwitchC-md-md1-ma-ma1] remote-mep ccm-receive enable [SwitchC-md-md1-ma-ma1] return Step 4 Configure EFM OAM between Switch C and Switch D. # Configure Switch C.
Page 254
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration ied malfunction to 802.3AH. (Ma=ma1, Md=md1, InterfaceName=Ethernet0/0/1, FaultState=1) ----End Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 efm enable interface Ethernet0/0/1 port link-type trunk...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration efm enable cfm enable interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 efm enable bpdu enable interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10...
Page 256
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Figure 4-19 Networking diagram for configuring association between Ethernet CFM and Ethernet CFM SwitchB SwitchC SwitchA Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/1 Ethernet0/0/2 MEP in MA1 MEP in MA2 Configuration Roadmap The configuration roadmap is as follows: Create VLANs and add interfaces to the VLANs.
Page 257
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Step 3 Configure Ethernet CFM between Switch B and Switch C. # Configure Switch B. [SwitchB] cfm enable [SwitchB] cfm md md1 [SwitchB-md-md1] ma ma2 [SwitchB-md-md1-ma-ma2] map vlan 20...
Page 258
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [SwitchB] oam-mgr [SwitchB-oam-mgr] oam-bind cfm md md1 ma ma1 cfm md md1 ma ma2 [SwitchB-oam-mgr] quit Step 5 Verify the configuration. Shut down Eth 0/0/2 of Switch B. Run the display cfm remote-mep command on Switch A to check the CFM status between Switch A and Switch B, and you can find that the CFM status is Down.
Page 261
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Configure protected VLAN and control VLAN for domain 1. Configure PE-AGG as the master node and configure UPEA, UPEB, and UPE C as transit nodes on ring 1 in domain 1.
Page 262
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration # Create instance 1, and map control VLANs 5 and 6 and data VLANs 100 to 300 in domain 1 to instance 1. [UPEC] stp region-configuration [UPEC-mst-region] instance 1 vlan 5 6 100 to 300 # Activate the configuration.
Page 263
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [UPEB-Ethernet0/0/2] stp disable [UPEB-Ethernet0/0/2] quit l Configure UPEC. # On UPEC, disable STP on the interfaces to be added to the RRPP ring. Configure the RRPP interfaces to allow packets of VLANs 100 to 300 to pass through.
Page 264
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration [PE-AGG-rrpp-domain-region1] control-vlan 5 [PE-AGG-rrpp-domain-region1] quit Step 4 Create RRPP rings. l Configure UPEA. # Configure UPEA as a transit node of ring 1 in domain 1 and specify primary and secondary interfaces.
Page 265
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration After the preceding configurations are complete and the network topology becomes stable, perform the following operations to verify the configuration. Take the display on UPEA and PE-AGG as examples.
Page 266
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration --------------------------------------------------------------------------- Ethernet0/0/1 Ethernet0/0/2 The preceding information shows that RRPP is enabled on PE-AGG. In domain 1, VLAN 5 is the major control VLAN, VLANs mapping instance 1 are the protected VLANs, and PE- AGG is the master node on ring 1;...
Page 267
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration On UPEA or PE-AGG, run the display cfm remote-mep command to check the status of Ethernet CFM. You can find that Ethernet CFM is in Up state. Take the display on PE-AGG as an example.
Page 268
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration VSI Name : -- : -- CCM Receive : enabled Trigger-If-Down : disabled CFM Status : up Alarm Status : RemoteAlarms Run the display interface command on PE-AGG to check the status of Eth 0/0/1, and you can find that Eth 0/0/1 is in TRIGGER DOWN (1AG) state.
Page 269
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 4 Ethernet OAM Configuration Re-enable Eth 0/0/1 of UPEB, and you can find that the CFM status on PE-AGG becomes UP. Run the display rrpp verbose domain 1 command on PE-AGG to check the status of the...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration ITU-T Recommendation Y.1731 Configuration About This Chapter Y.1731 defines frame loss detection and frame delay measurement between MEPs, which is similar to the fault detection defined in IEEE 802.1ag.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration 5.1 Introduction to ITU-T Recommendation Y.1731 Y.1731, as an Operations, Administration and Maintenance (OAM) protocol organized by the ITU-T, is used to implement end-to-end Metropolitan Area Network (MAN) connectivity detection, loopback detection, and link trace.
Page 274
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration One-way Frame Delay Measurement NOTE IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. Y.1731 can be used only on the device complying with IEEE Standard 802.1ag-2007. Therefore, run the cfm version command to set the 802.1ag version to IEEE Standard 802.1ag-2007 before configuring Y.1731.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration The two-way frame delay measurement is generally performed on end-to-end MEPs. A MEP receives a DM frame and returns a DMR frame to carry out the two-way frame delay measurement.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Configuring VLAN, For the configuration procedure, see VLAN Configuration 4.8 Configuring Basic Ethernet CFM Data Preparation To configure the one-way delay measurement in the VLAN, you need the following data:...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration The MD view is displayed. Step 4 Run: ma ma-name The MA view is displayed. Step 5 Run: map vlan vlan-id The MA is bound to a VLAN.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma ma-name The MA view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma ma-name The MA view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration 5.4 Configuring the Two-way Frame Delay Measurement in a VLAN You can configure the two-way frame delay measurement in the VLAN bound to an MA and estimate the quality of services based on the calculated two-way frame delay.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration 5.4.2 Binding an MA to a VLAN Binding an MA to a VLAN is a prerequisite for configuring the one-way frame delay measurement in the VLAN.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Context Do as follows on the devices configured with MEPs on two ends of the link: Procedure Step 1 Run: system-view The system view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Two way DMM packet receiving is enabled. ----End 5.4.5 Enabling the Two-way Frame Delay Measurement in a VLAN The two-way frame delay measurement in a VLAN can work normally only after you enable the two-way frame delay measurement in the VLAN.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration The two-way frame delay measurement is configured. ----End 5.4.6 Checking the Configuration After the two-way frame delay measurement is configured in a VLAN, you can view the statistics about the delay in bidirectional service traffic transmission in the VLAN.
Page 285
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Figure 5-4 Networking diagram of configuring the one-way frame delay measurement in a VLAN SwitchC SwitchD Ethernet0/0/2 Ethernet0/0/2 Ethernet0/0/1 Ethernet0/0/1 Ethernet0/0/1 Ethernet0/0/1 SwitchA SwitchB Configuration Roadmap The configuration roadmap is as follows: Configure VLANs on Switch A, Switch B, Switch C, and Switch D.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration vlan batch 2 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 2 return 5.5.2 Example for Configuring the Two-way Frame Delay...
Page 290
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Enable the two-way frame delay measurement for the VLANs on Switch A and Switch B. Data Preparation To complete the configuration, you need the following data:...
Page 291
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 5 ITU-T Recommendation Y.1731 Configuration Step 2 Configure basic Ethernet CFM functions. # Configure Switch A. [SwitchA] cfm version standard [SwitchA] cfm enable [SwitchA] cfm md md1 [SwitchA-md-md1] ma ma1 [SwitchA-md-md1-ma-ma1] map vlan 2...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration BFD Configuration About This Chapter A BFD session rapidly detects a link fault on a network. 6.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration 6.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 296
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 S3700 Series Ethernet Switches Configuration Guide - IP Routing. Issue 01 (2011-10-26) Huawei Proprietary and Confidential...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration BFD for Routing Protocols BFD uses the local discriminator and remote discriminator to differentiate multiple BFD sessions between the same pair of systems. OSPF support dynamic setup of BFD sessions.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Data BFD configuration name 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration The multicast IP address of BFD is set. 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration The remote discriminator is set. 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Session Description -------------------------------------------------------------------------------- Run the display bfd interface command, and you can view information about the BFD session on a specified interface. <Quidway> display bfd interface Ethernet 0/0/1...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Pre-configuration Tasks Before configuring the multi-hop BFD, complete the following tasks: 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration -------------------------------------------------------------------------------- Session Type : Static Bind Type : IP Local/Remote Discriminator : 22/11 Received Packets : 178 Send Packets : 177 Received Bad Packets Send Bad Packets Down Count...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Data Name of a BFD session IP addresses of local and remote ends of a link checked by BFD, and name and number of the local interface 6.5.2 Enabling BFD Globally You can perform related BFD configurations only after enabling BFD globally.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration l Specify the source IP address. l Specify the peer IP address instead of the multicast IP address. Step 3 Run: commit The configuration is committed. ----End 6.5.4 Checking the Configuration...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration 6.6 Adjusting BFD Parameters Adjusting BFD parameters enables a BFD session to check links on a network effectively and quickly. 6.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration 6.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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.
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 S3700 Series Ethernet Switches Configuration Guide - System Management.
Page 316
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Bind Peer IP Address : 224.0.0.184 NextHop Ip Address : 224.0.0.184 Bind Interface : Ethernet0/0/1 FSM Board Id TOS-EXP Min Tx Interval (ms) : 1000 Min Rx Interval (ms)
Page 318
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration Figure 6-2 Networking diagram for configuring single-hop BFD on a VLANIF interface VLANIF 13 VLANIF 13 10.1.1.6/24 10.1.1.5/24 Ethernet0/0/1 Ethernet0/0/1 SwitchA SwitchB Configuration Roadmap The configuration roadmap is as follows: Create VLAN 13 on Switch A and Switch B.
Page 319
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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 320
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration ip address 10.1.1.6 255.255.255.0 interface Ethernet0/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 322
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration IP address of VLANIF 20 on Switch C: 10.2.1.2/16 Use the default values of the minimum sending interval, the minimum receiving interval, and the local detection multiplier of a BFD control packet.
Page 323
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration <SwitchA> display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 4096 (Multi Hop) State : Up Name : atoc -------------------------------------------------------------------------------- Local Discriminator : 10 Remote Discriminator : 20...
Page 324
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 6 BFD Configuration ip address 10.2.1.1 255.255.0.0 interface Ethernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 interface Ethernet0/0/2 port hybrid pvid vlan 20 port hybrid untagged vlan 20...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 326
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration 7.9 Configuring VRRP Version Upgrade After being upgraded from version 2 to version 3, VRRP can support both IPv6 and IPv4 networks. 7.10 Maintaining VRRP This section describes how to maintain VRRP. Detailed operations include deleting VRRP statistics, and monitoring the VRRP operation status.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration 7.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 328
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration switches have different priorities in this backup group. The switch with the highest priority serves as the master switch. The master switch undertakes all the services in normal condition.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration mVRRP Many VRRP backup groups run between switchs for different services. If each VRRP backup group needs to maintain its own state machine, a large number of VRRP packets are generated between switchs.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration The master/backup switchover is a basic function provided by VRRP. The master/backup mode is as follows: – Only one backup group exist. – The switch with the highest priority in the backup group serves as the master switch and undertakes the services.
Page 331
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Context Do as follows on each switch of a backup group: Perform the following step as required to configure VRRP for IPv4 or VRRP for IPv6.
Page 332
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration CAUTION l When configuring VRRP and static ARP simultaneously on the S3700, do not use the IP addresses in the static ARP entries as the virtual IP addresses of VRRP groups.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration 7.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 335
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration 7.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration 7.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 341
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 7.6.2 Configuring the Authentication Mode of VRRP Packets...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
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 347
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 7.7.3 Configuring the Preemption Delay Time of Backup Group...
Page 349
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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).
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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 356
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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:...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Member-interface number: 1 Interface: Vlanif 300, state: Up 7.9 Configuring VRRP Version Upgrade After being upgraded from version 2 to version 3, VRRP can support both IPv6 and IPv4 networks.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 361
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Figure 7-3 Networking of a VRRP group in master/backup mode Backup group 1 Virtual IP Address: SwitchA 10.1.1.111 Master Ethernet0/0/1 Ethernet0/0/2 Ethernet0/0/2 SwitchC HostA Ethernet0/0/1 10.1.1.100/24...
Page 362
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 363
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 364
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 1 TimerConfig : 1 Auth Type : NONE Virtual Mac :...
Page 365
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 367
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Figure 7-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 Ethernet0/0/1 Ethernet0/0/2 HostA Ethernet0/0/2 10.1.1.100/24...
Page 368
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Data Preparation To complete the configuration, you need the following data: 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 369
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration traceroute to 20.1.1.100(20.1.1.100) 30 hops max,40 bytes packet 1 10.1.1.2 30 ms 60 ms 40 ms 2 192.168.2.2 90 ms 60 ms 60 ms 3 20.1.1.100 70 ms...
Page 370
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration area 0.0.0.0 network 192.168.1.0 0.0.0.255 network 10.1.1.0 0.0.0.255 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...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration return 7.11.3 Example for Configuring VRRP Fast Switchover Networking Requirements As shown in Figure 7-5, Switch A, Switch B, Switch C, Switch D and the Universal Medium Gateway (UMG) form a simple next generation network (NGN).
Page 372
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 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 373
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration [SwitchA] display bfd session all -------------------------------------------------------------------------------- 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.
Page 374
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration BFD-Session State : UP Config track link-bfd down-number : 0 Step 4 Verify the configuration. # Run the shutdown command on VLANIF 200 of Switch A to simulate a link fault.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration return 7.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration interface Ethernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100 return 7.11.5 Example for Configuring VRRP6 in Load Balancing Mode Networking Requirements As shown in...
Page 380
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 7 VRRP and VRRP6 Configuration Eth 0/0/2 VLANIF400 2001::2/64 Eth 0/0/3 VLANIF300 2003::2/64 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 8 Collection of Configuration Examples of Association Collection of Configuration Examples of Association The collection of configuration examples of association of Ethernet OAM and an interface, and Ethernet OAM and other protocols are listed. This helps engineers find required information.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration MAC Swap Loopback Configuration About This Chapter This chapter describes the working principle and configuration of MAC swap loopback. 9.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration 9.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 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.
Configuration Guide - Reliability 9 MAC Swap Loopback Configuration Configuring QoS CAR if you want to test QoS CAR on the network For the configuration procedure, see the Quidway S3700 Series Ethernet Switches Configuration Guide - QoS. Data Preparation To configure local MAC swap loopback, you need the following data.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration NOTE The S3700EI and S3700SI do not support the inner-vlan inner-vlan-id parameter. 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration 9.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.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration loopback function when the loopback test begins and disable it immediately after the loopback test is complete. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration This is a one-time command and is not saved in the configuration file. A MAC swap loopback test stops when you disable the MAC swap loopback function or the loopback test times out.
Page 395
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration tester analyzes connectivity and performance of the Ethernet network and Switch B based on the received Ethernet frames. Figure 9-3 Networking diagram of a local MAC swap loopback test...
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration [SwitchB-Ethernet0/0/2] loopback local swap-mac source-mac 0018-2000-0085 dest-mac 018-2000-0070 vlan 100 interface gigabitethernet 0/0/1 timeout 80 [SwitchB-Ethernet0/0/2] loopback swap-mac start [SwitchB-Ethernet0/0/2] quit Step 3 Verify the configuration.
Page 397
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration Figure 9-4 Networking diagram of a remote MAC swap loopback test Tester Ethernet GE0/0/1 Users SwitchB SwitchA Configuration Roadmap The configuration roadmap is as follows: Create a VLAN, configure GE 0/0/1 as a trunk interface, and add the interface to the VLAN.
Page 398
Quidway S3700 Series Ethernet Switches Configuration Guide - Reliability 9 MAC Swap Loopback Configuration [SwitchB] display loopback swap-mac information Loopback type : remote Loopback state : running Loopback test time(s) : 80 Loopback interface : GigabitEthernet0/0/1 Loopback output interface : GigabitEthernet0/0/1...