Page 1
Huawei AR530&AR550 Series Industrial Switch Routers V200R005C70 Configuration Guide - Reliability Issue Date 2014-11-30 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.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples of the reliability supported by the device. This document is intended for:...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability About This Document Symbol Description Calls attention to important information, best NOTE practices and tips. NOTE is used to address information not related to personal injury, equipment damage, and environment deterioration.
Page 5
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability About This Document – When configuring a password, the cipher text is recommended. To ensure device security, change the password periodically. – When you configure a password in plain text that starts and ends with %@%@ (the password can be decrypted by the device), the password is displayed in the same manner as the configured one in the configuration file.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents Contents About This Document........................ii 1 Introduction to Reliability......................1 1.1 Levels of Reliability Requirements..........................2 1.2 Reliability Specifications..............................2 1.3 Reliability Technologies..............................3 2 Interface Backup Configuration....................5 2.1 Introduction to Interface Backup............................6 2.2 Principles..................................6 2.2.1 Interface Backup in Active/Standby Mode........................6...
Page 7
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents 2.7.5 Example for Configuring Association Between BFD and Ethernet Interface Backup in Active/Standby Mode ......................................35 2.7.6 Example for Configuring Association Between Routing and Ethernet Interface Backup in Active/Standby Mode ......................................40...
Page 8
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents 5.2 Principles..................................96 5.3 Application Scenarios..............................99 5.3.1 BFD for IP Links...............................99 5.3.2 BFD Echo Function..............................100 5.3.3 Association Between the BFD Session Status and the Interface Status..............100 5.3.4 BFD for Static Routes..............................101 5.3.5 BFD for OSPF.................................101...
Page 9
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents 5.10 References................................149 6 VRRP Configuration.........................150 6.1 Introduction to VRRP..............................152 6.2 Principles..................................152 6.2.1 Basic Concepts of VRRP............................152 6.2.2 VRRPv2 and VRRPv3 Advertisement Packets.......................154 6.2.3 VRRP Implementation............................157 6.2.4 VRRP in Active/Standby Mode..........................160 6.2.5 VRRP in Load Balancing Mode..........................161...
Page 10
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents 6.7.3.5 (Optional) Enabling the Ping to a Virtual IP Address..................191 6.7.3.6 Checking the Configuration..........................191 6.7.4 Configuring VRRP6 Association..........................192 6.7.4.1 Configuring Association Between VRRP6 and the Interface Status to Implement an Active/Standby Switchover ......................................192...
Page 11
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability Contents 7.5.2.1 Detecting Minor Link Events..........................276 7.5.2.2 (Optional) Associating a Minor Link Event with an Interface................278 7.5.2.3 Checking the Configuration..........................279 7.5.3 Configuring Remote Loopback..........................279 7.5.3.1 Configuring Remote Loopback On the Device in Active Mode................279 7.5.3.2 (Optional) Configure a receiving device to ignore remote loopback requests.............281...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 1 Introduction to Reliability Introduction to Reliability About This Chapter This section describes the levels of reliability requirements, measurement specifications, and implemented technologies. As networks rapidly develop and applications become diversified, various value-added services such as IPTV and video conferencing are widely used.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 1 Introduction to Reliability 1.1 Levels of Reliability Requirements There are three requirement levels according to the objective and implementation. Table 1-1 lists three levels of reliability requirements. Table 1-1 Levels of reliability requirements...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 1 Introduction to Reliability A smaller value of MTTR indicates higher reliability. 1.3 Reliability Technologies Network reliability can be improved by increasing the MTBF or reducing the MTTR. Faults caused by various factors are inevitable, so fault recovery technologies are important. The following reliability technologies are mainly used to reduce the MTTR and meet level 3 reliability requirements.
Page 15
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 1 Introduction to Reliability Table 1-3 Protection switching technologies Technology Description Link Interface Backup Interface backup ensures 2 Interface Backup smooth services. When an Configuration interface on a router is faulty...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Interface Backup Configuration About This Chapter The interface backup function allows a backup interface to transmit traffic when the primary interface is faulty or load balance traffic when bandwidth of the primary interface is insufficient.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.1 Introduction to Interface Backup This section describes the definition and purpose of Interface Backup. Definition The interface backup feature enables an interface of a device to function as a backup for another interface.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.2.2 Load Balancing Mode As shown in Figure 2-2, Interface1 is the primary interface, and Interface2 and Interface3 are backup interfaces. When the load balancing mode is used, the system periodically checks...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration connectivity of the primary link and implement rapid switching when the primary link is faulty. This improves reliability of service transmission. Figure 2-5 Networking diagram of association between interface backup and NQA...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-6 Networking diagram of association between interface backup and BFD Internet GE1/0/0 GE1/0/0 4.1.1.1/24 2.1.1.2/24 RouterC RouterD Headquarters Branch of GE1/0/0 GE1/0/0 of company company 2.1.1.1/24...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-7 Networking diagram of association between interface backup and routing Internet GE1/0/0 GE1/0/0 4.1.1.1/24 2.1.1.2/24 RouterC RouterD Headquarters GE1/0/0 Branch of GE1/0/0 of company 2.1.1.1/24 company 4.1.1.2/24...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Scenario Description Task Configuring Association of This section describes how to 2.6.2 Configuring Interface Backup in Active/ configure association of Association of Interface Standby Mode interface backup in active/ Backup in Active/Standby standby mode.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.6 Interface Backup Configuration 2.6.1 Configuring Interface Backup in Active/Standby Mode This section describes how to configure interface backup in active/standby mode. When the primary interface or its directly connected link is faulty, a backup interface with the highest priority is started to transmit services.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.6.2 Configuring Association of Interface Backup in Active/ Standby Mode This section describes how to configure association of interface backup in active/standby mode. When the primary interface or its directly connected link is faulty, a backup interface with the highest priority is started to transmit services.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Pre-Configuration Tasks Before configuring association between interface backup and NQA, complete the following tasks: Configuring routing protocols on the primary link and backup link to ensure connectivity...
Page 27
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration create a BFD session on RouterA and RouterB and configure association between interface backup and BFD on a backup interface of RouterA. By doing this, the BFD session detects connectivity of the primary link and services can be rapidly switched.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-10 Networking diagram of association between interface backup and routing Internet RouterC RouterD Interface1 Headquarters Branch of Interface2 of company company RouterB RouterA 3G/ISDN Primary Link...
Page 30
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Pre-configuration Tasks Before configuring interface backup in load balancing mode, complete the following tasks: Configuring routing protocols on the primary link and backup link to ensure connectivity...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.7 Configuration Examples This section provides several configuration examples of interface backup. 2.7.1 Example for Configuring Ethernet Interface Backup in Active/ Standby Mode Networking Requirements As shown in Figure 2-11, HostA communicates with HostB through RouterA.
Page 33
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Below is track NQA Information: Instance Name BackupInterface State # Run the shutdown command on GE2/0/0 to simulate a link fault. Run the display standby state command on RouterA.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration ip route-static 192.168.2.0 24 10.1.3.2 return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.2.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.1.2 255.255.255.0...
Page 35
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configure an IP address for each interface and a static route between HostA and HostB to ensure connectivity at the network layer. Configure GE2/0/0 as the primary interface on RouterA. Configure GE1/0/0 and GE3/0/0 as backup interfaces of GE2/0/0 and set a higher priority for GE1/0/0.
Page 36
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [HuaweiA] interface gigabitethernet 2/0/0 [HuaweiA-GigabitEthernet2/0/0] standby threshold 80 20 [HuaweiA-GigabitEthernet2/0/0] quit Verify the configuration. # Run the display standby state command on RouterA to view the status of primary and backup interfaces.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration ip route-static 192.168.2.0 24 10.1.3.2 return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.2.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.1.2 255.255.255.0...
Page 38
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configuration Roadmap The configuration roadmap is as follows: Configure a dialer interface and an ADSL interface on RouterA so that the backup link transmits services when the primary link is faulty.
Page 39
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration # Run the display standby state command on RouterA to view the status of primary and backup interfaces. You can see that GigabitEthernet1/0/0 is in Up state and ATM0/0/0 is in standby state.
Page 41
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configure an IP address for each interface and a static route to ensure connectivity at the network layer. Configure an NQA test instance on RouterA to monitor the primary link status.
Page 42
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterD-nqa-admin-test] start now [RouterD-nqa-admin-test] quit [RouterD] interface gigabitethernet 2/0/0 [RouterD-GigabitEthernet2/0/0] standby track nqa admin test [RouterD-GigabitEthernet2/0/0] quit Verify the configuration. Run the display nqa results test-instance user test command. The command output shows that the NQA test instance status is success.
Page 43
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Run the shutdown command on GE2/0/0 of RouterB to simulate a link fault. Run the display nqa results test-instance user test command on RouterA. The command output shows that the NQA test instance status is failed.
Page 44
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration GigabitEthernet2/0/0 Run the undo shutdown command on GE2/0/0 of RouterB. After GE2/0/0 goes to Up, and run the display standby state command on RouterA. The command output shows that the NQA test instance status is OK and backup interface GigabitEthernet2/0/0 switches to the standby state.
Page 45
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration test-type icmp destination-address ipv4 10.1.4.2 frequency 10 probe-count 2 start now return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.2.2 255.255.255.0...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration 2.7.5 Example for Configuring Association Between BFD and Ethernet Interface Backup in Active/Standby Mode Networking Requirements As shown in Figure 2-15, the link RouterA->RouterB->RouterD is the primary link and the link RouterA->RouterC->RouterD is the backup link.
Page 47
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterA] interface gigabitethernet1/0/0 [RouterA-GigabitEthernet1/0/0] undo portswitch [RouterA-GigabitEthernet1/0/0] ip address 10.1.2.1 255.255.255.0 [RouterA-GigabitEthernet1/0/0] quit [RouterA] interface gigabitethernet2/0/0 [RouterA-GigabitEthernet2/0/0] undo portswitch [RouterA-GigabitEthernet2/0/0] ip address 10.1.3.1 255.255.255.0 [RouterA-GigabitEthernet2/0/0] quit # On RouterA, configure static routes to 10.1.4.0/24 and 10.1.5.0/24 of RouterD.
Page 48
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Local Detect Multi Detect Interval (ms) : 3000 Echo Passive : Disable Acl Number Destination Port : 3784 : 254 Proc interface status : Disable Process PST...
Page 49
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration BFD Bind Type : Peer Ip Address Bind Session Type : Static Bind Peer Ip Address : 10.1.4.2 Bind Interface FSM Board Id TOS-EXP Min Tx Interval (ms)
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration undo portswitch ip address 10.1.2.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.4.1 255.255.255.0 return Configuration file of RouterC sysname RouterC interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.3.2 255.255.255.0...
Page 52
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-16 Networking of association between interface backup and routing GE1/0/0 GE2/0/0 10.1.2.2/24 10.1.4.1/24 GE1/0/0 GE1/0/0 RouterB 10.1.2.1/24 10.1.4.2/24 RouterA RouterD RouterC GE2/0/0 GE2/0/0 HostA HostB 10.1.5.2/24...
Page 53
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterB-isis-1] quit [RouterB] interface gigabitethernet 1/0/0 [RouterB-GigabitEthernet1/0/0] isis enable 1 [RouterB] interface gigabitethernet 2/0/0 [RouterB-GigabitEthernet2/0/0] isis enable 1 # Set the IS-IS NET of RouterD to 10.0000.0000.0003.00.
Page 54
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterA] interface gigabitethernet2/0/0 [RouterA-GigabitEthernet2/0/0] standby track ip route 10.1.4.0 255.255.255.0 Verify the configuration. After the configuration is complete, RouterA can ping the destination IP address 10.1.4.2/24.
Page 55
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Information: Instance Name BackupInterface State Run the shutdown command on GE2/0/0 of RouterB to simulate a link fault. Run the display standby state command on RouterA. The command output shows that the route status is ERR, and the status of GigabitEthernet2/0/0 is UP, indicating that the backup interface has started.
Page 56
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration ---------------------------------------------------------------------------- Below is track IP route information: Destination/Mask Route-State BackupInterface State 10.1.4.0/24 GigabitEthernet2/0/0 STANDBY ---------------------------------------------------------------------------- Below is track NQA Information: Instance Name BackupInterface State Configuration Files...
Page 58
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-17 Networking diagram of association between interface backup and NQA Internet GE1/0/0 GE1/0/0 2.1.1.2/24 4.1.1.1/24 RouterC RouterD Headquarters GE1/0/0 GE1/0/0 Branch of of company 2.1.1.1/24 4.1.1.2/24...
Page 59
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterC-GigabitEthernet1/0/0] undo portswitch [RouterC-GigabitEthernet1/0/0] ip address 2.1.1.2 255.255.255.0 [RouterC-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterD. [RouterD] interface gigabitethernet1/0/0 [RouterD-GigabitEthernet1/0/0] undo portswitch [RouterD-GigabitEthernet1/0/0] ip address 4.1.1.1 255.255.255.0...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration ip route-static 5.1.1.0 255.255.255.0 Dialer1 nqa test-instance user test test-type icmp destination-address ipv4 4.1.1.2 frequency 10 return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 4.1.1.2 255.255.255.0...
Page 64
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-18 Networking diagram of association between interface backup and BFD Internet GE1/0/0 GE1/0/0 2.1.1.2/24 4.1.1.1/24 RouterC RouterD Headquarters GE1/0/0 GE1/0/0 Branch of of company 2.1.1.1/24 4.1.1.2/24...
Page 65
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterC] interface gigabitethernet1/0/0 [RouterC-GigabitEthernet1/0/0] undo portswitch [RouterC-GigabitEthernet1/0/0] ip address 2.1.1.2 255.255.255.0 [RouterC-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterD. [RouterD] interface gigabitethernet1/0/0 [RouterD-GigabitEthernet1/0/0] undo portswitch [RouterD-GigabitEthernet1/0/0] ip address 4.1.1.1 255.255.255.0...
Page 66
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configure association between interface backup and BFD on backup interface ATM0/0/0. [RouterA] interface atm 0/0/0 [RouterA-Atm0/0/0] standby track bfd-session session-name test Verify the configuration. Run the display bfd session all verbose command on RouterA. The command output shows that the BFD session status is Up.
Page 67
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration information: Destination/Mask Route-State BackupInterface State ------------------------------------------------------------------------------ Below is track NQA Information: Instance Name BackupInterface State Run the shutdown command on GE1/0/0 of RouterB to simulate a link fault. Run the display bfd session all verbose command on RouterA.
Page 68
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Bfd-Name Bfd-State BackupInterface State test Atm0/0/0 ---------------------------------------------------------------------------- Below is track IP route information: Destination/Mask Route-State BackupInterface State ------------------------------------------------------------------------------ Below is track NQA Information: Instance Name BackupInterface...
Page 69
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration link-protocol ip address 3.1.1.1 255.255.255.0 dialer user dialer bundle dialer number dialer-group interface GE1/0/0 undo portswitch ip address 2.1.1.1 255.255.255.0 interface Atm0/0/0 pvc pppoa 2/40 map ppp...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration undo portswitch ip address 2.1.1.2 255.255.255.0 return Configuration file of RouterD sysname RouterD interface GigabitEthernet1/0/0 undo portswitch ip address 4.1.1.1 255.255.255.0 return 2.7.9 Example for Associating Interface Backup with Routing to...
Page 71
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configure OSPF on the primary link to ensure connectivity at the network layer. Configure RS-DCC on RouterA so that the backup link transmits services when the primary link is faulty.
Page 72
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterD] ospf [RouterD-ospf-1] area 0 [RouterD-ospf-1-area-0.0.0.0] network 4.1.1.0 0.0.0.255 [RouterD-ospf-1-area-0.0.0.0] quit After the configuration is complete, run the display ospf routing command on RouterA to view OSPF routes.
Page 73
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Configure association between interface backup and routing on backup interface ATM0/0/0. [RouterA] interface atm 0/0/0 [RouterA-Atm0/0/0] standby track ip route 4.1.1.0 255.255.255.0 Verify the configuration. After the configuration is complete, RouterA can ping the destination IP address 4.1.1.2/24.
Page 74
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Below is track NQA Information: Instance Name BackupInterface State Run the shutdown command on GE1/0/0 of RouterA to simulate a link fault. Run the display standby state command on RouterA. The command output shows that the status of the route to the destination network segment 4.1.1.0/24 is ERR and the status of...
Page 75
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Below is track IP route information: Destination/Mask Route-State BackupInterface State 4.1.1.0/24 Atm0/0/0 STANDBY ---------------------------------------------------------------------------- Below is track NQA Information: Instance Name BackupInterface State Configuration Files Configuration file of RouterA...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration Interface Monitoring Group Configuration About This Chapter After network-side interfaces are added to an interface monitoring group, the status changes of the network-side interfaces trigger the status of corresponding access-side interfaces to change.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration 3.1 Introduction This section describes definition and purpose of interface monitoring Group. Definition All monitored network-side interfaces can be added to a group. This group is called an interface monitoring group, and the monitored interfaces are called binding interfaces.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration Figure 3-1 Interface monitoring group ..1 2 3 4 9 10 Network side Interface monitoring group Trigger Router Status management Access side As shown in...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration Figure 3-2 Interface monitoring group Network RouterA RouterB RouterC Network side Router1 Router2 Access side LSW1 LSW2 LSW3 To address the problem, deploy an monitoring group on Router1 and Router2, and add multiple network-side interfaces of a Router to the interface monitoring group.
Page 81
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration Step 2 Run: monitor-group monitor-group-name An interface monitoring group is created and the view of the interface monitoring group is displayed. NOTE The undo monitor-group command deletes all configurations of an interface monitoring group. If an interface monitoring group has track interfaces, the interface monitoring group cannot be deleted.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration NOTE The trigger-down-weight of a track interface must be smaller than the sum of the down-weight values of all binding interfaces in an interface monitoring group.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration Context If a board is removed from a device, the interfaces that reside on the board and are added to be an interface monitoring group become invalid. These interfaces cannot be unbound from the interface monitoring group because they do not exist.
Page 84
Step 1 Configure IP addresses and routing protocols for network-side interfaces on Router1 and Router2, and configure equal-cost routes to implement uplink backup and load balancing. For details, see Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - IP Routing.
Page 85
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration For details, see Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - LAN. Step 3 Configure an interface monitoring group on Router1 and Router2. Create an interface monitoring group, add GE1/0/0 and GE2/0/0 on Router1 and Router2 to the interface monitoring group, and set the trigger-down-weight to 400.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration HSB Configuration About This Chapter Hot standby backup (HSB) provides a unified backup mechanism for service modules. When the master device becomes faulty, the backup device takes over services on the master service, which improves network reliability.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration 4.1 Introduction to Hot-Standby Backup This section describes the definition and purpose of hot-standby backup. Definition Hot-standby backup (HSB) is a feature that improves network reliability through redundancy between two devices.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Figure 4-1 HSB in active/standby mode (master device is working normally) RouterA SwitchA Master User Net1 Network User Net2 Traffic of SwitchA SwitchB Backup Traffic of SwitchB...
Page 92
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Data Synchronization When the master device fails, service traffic can be switched to the backup device only if the backup device has the same session entries as the master device. If the session entries on the master and backup devices are different, sessions may be interrupted during traffic switching.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration forwarding after link switching. If stateful firewalls are deployed on the access node, link switching will cause service interruption. A stateful firewall forwards packets based on connection status. When a user initiates a session, the stateful firewall checks only the first packet.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Parameter Default Setting Interval for retransmitting HSB detection 3 seconds packets 4.5 HSB Configuration HSB implements service backup between two devices. Service information is backed up in real time or in batches through the HSB channel, so that the backup device can take over services without causing service interruption when the master device fails.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration By default, no VRRP group is created. l Create VRRP groups working in multi-gateway load balancing mode. If VRRP groups need to work in multi-gateway load balancing mode, repeat the steps to configure two or more VRRP groups on the interface and assign different VRIDs to them.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: hsb-service service-index An HSB service is created and the HSB service view is displayed.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration The system view is displayed. Step 2 Run: hsb-group group-index An HSB group is created and the HSB group view is displayed. Step 3 Run: bind-service service-index An HSB service is configured for binding to the HSB group.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Procedure Run the display hsb-group group-index command to view information about the HSB group. Run the display hsb-service service-index command to view information about the HSB service.
Page 100
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Configuration Roadmap The configuration roadmap is as follows: Assign an IP address to each interface of devices and configure a routing protocol on each device to ensure network connectivity.
Page 101
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration [RouterA] hsb-service 0 [RouterA-hsb-service-0] service-ip-port local-ip 192.168.1.1 peer-ip 192.168.1.2 local-data-port 10241 peer-data-port 10241 # Create HSB service 0 on RouterB and configure the IP addresses and port numbers for the local and peer devices.
Page 102
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration # Run the display hsb-service service-index command on RouterA and RouterB to check the HSB service status. The value of the Service State field is Connected, indicating that the HSB channel has been established.
Page 103
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration [RouterA-GigabitEthernet1/0/0] shutdown [RouterA-GigabitEthernet1/0/0] quit # Run the display hsb-group group-index command on RouterB to check the HSB group status. The command output shows that RouterB is Master.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration 4.8 References This section lists references of hot-standby backup. The following table lists the reference for this feature. Docume Description Remar RFC3768 Virtual Router Redundancy Protocol (version number Two 2004)
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration BFD Configuration About This Chapter Bidirectional forwarding detection (BFD) allows network devices to quickly detect faults. 5.1 Introduction to BFD This section describes the definition and functions of BFD.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration 5.1 Introduction to BFD This section describes the definition and functions of BFD. Definition Bidirectional Forwarding Detection (BFD) is a unified detection mechanism used to rapidly detect link faults and monitor IP connectivity.
Page 108
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Figure 5-1 BFD session setup OSPF OSPF OSPF neighbors BFD neighbors RouterA RouterB As shown in Figure 5-1, OSPF and BFD are configured on SwitchA and SwitchB. The BFD...
Page 109
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration When a BFD session is set up dynamically, the system processes the local and remote discriminators as follows: – Dynamically allocated local discriminator When an application triggers dynamic setup of a BFD session, the system allocates a value as the local discriminator of the BFD session.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration RouterA and RouterB start BFD state machines respectively. The initial state of BFD state machine is Down. RouterA and RouterB send BFD control packets with the State field as Down.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration As shown in Figure 5-5, a BFD session detects a multi-hop path between RouterA and RouterC, and the BFD session is bound to the peer IP address but not the outbound interface.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration BFD for process interface status (PIS) associates the BFD session with the interface status. This improves sensitivity of interfaces to detect link faults and minimizes the impact of faults on indirectly connected links.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Table 5-1 OSPF convergence speed Whether a BFD Session Is Link Fault Detection Convergence Speed Bound Mechanism Timeout of the OSPF Hello At the second level keepalive timer...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Whether a BFD Session Is Link Fault Detection Convergence Speed Bound Mechanism BFD session in Down state At the millisecond level Application Figure 5-10 BFD for BGP...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Application Figure 5-11 BFD for VRRP RouterA RouterB BFD Session SwitchC As shown in Figure 5-11, RouterA and RouterB establish a VRRP group. RouterA functions as the master and RouterB functions as the backup. User traffic is transmitted through RouterA. A BFD session is established between RouterA and RouterB.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Whether a BFD Session Is Link Fault Detection Convergence Speed Bound Mechanism BFD session in Down state At the millisecond level Application Figure 5-12 BFD for PIM...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Scenario Description Task Configure static BFD with When the peer device uses 5.6.3 Configuring Static automatically negotiated dynamic BFD and the local BFD with Automatically discriminators device wants to communicate...
Page 119
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Pre-configuration Tasks Before configuring single-hop BFD, complete the following tasks: Configuring link layer protocol parameters for interfaces to ensure that the link layer protocol status on the interfaces is Up...
Page 120
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Step 4 Run: quit Return to the system view. Step 5 Run the following commands as required. l On a Layer 3 interface that has an IP address configured, run:...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration The configuration is committed. ----End 5.6.2 Configuring Multi-Hop BFD Multi-hop BFD fast detects faults on the indirectly connected link. Pre-configuration Tasks Before configuring multi-hop BFD, complete the following task:...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration bfd session-name bind peer-ip ip-address [ vpn-instance vpn-name ] [ source-ip ip- address ] A BFD session is created and the peer IP address is specified. By default, BFD binding is not created.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Configuration Process Figure 5-15 Configuring static BFD with automatically negotiated discriminators Enable global BFD Establish a BFD session Mandatory Optional Procedure Step 1 Run: system-view The system view is displayed.
Page 124
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Pre-configuration Tasks Before configuring the BFD echo function, complete the following tasks: Connecting interfaces properly Correctly configuring an IP address for the Layer 3 interface Configuration Process...
Association between BFD and other protocols improves protocol switching performance and reduces service traffic loss. Applications Associated with BFD BFD for OSPF: See Configuring BFD for OSPF in the Huawei AR530&AR550 Series Industrial Switch Routers Configuration - Configuration Guide - IP Routing – OSPF Configuration.
Page 126
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Connecting interfaces properly Configuration Process Figure 5-17 Association between the BFD session and the interface status Enable global BFD Configure default multicast IP address for BFD Establish a BFD session...
Page 127
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration By default, BFD is disabled globally. Step 3 (Optional) Run: default-ip-address ip-address The default multicast IP address for BFD is configured. By default, BFD uses the multicast IP address 224.0.0.184.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration NOTE l The BFD session does not report the BFD status to the bound interface immediately after the commit command is executed because the BFD session may not be set up or not Up. This prevents the BFD session from reporting an incorrect state to the interface.
Page 129
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration The system view is displayed. Step 2 Run: BFD is enabled globally and the BFD view is displayed. Step 3 Run: default-ip-address ip-address The default multicast IP address for BFD is configured.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration NOTE l The BFD session does not report the BFD status to the bound interface immediately after the commit command is executed because the BFD session may not be set up or not Up. This prevents the BFD session from reporting an incorrect state to the interface.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration The BFD session view is displayed. Step 3 Run: min-tx-interval interval The minimum interval for sending BFD packets is set. By default, the minimum interval for sending BFD packets is 1000 ms.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration By default, the WTR time is 0, indicating that the status change of a BFD session is reported immediately. NOTE If the WTR time is set, set the same WTR time at both ends. Otherwise, when the BFD session status changes at one end, applications at both ends detect different BFD session statuses.
BFD session are different and BFD packets are discarded. You can set the global TTL value to enable the Huawei device to interwork with each other in different versions, with upgraded devices, and with non-Huawei devices.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration NOTE l The TTL value of BFD packets varies with the BFD session type. By default, for a static BFD session, the TTL value of a single-hop BFD packet is 255 and the TTL value of a multi-hop BFD packet is 254.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration 5.8 Configuration Examples This section provides examples for the BFD configuration, including networking requirements, configuration notes, and configuration roadmap. 5.8.1 Example for Configuring Single-hop BFD for Detecting Faults...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Bind Peer IP Address : 224.0.0.184 NextHop Ip Address : 224.0.0.184 Bind Interface : Ethernet2/0/0 FSM Board Id TOS-EXP Min Tx Interval (ms) : 1000 Min Rx Interval (ms)
Page 138
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Figure 5-20 Networking diagram for configuring single-hop BFD on a VLANIF interface VLANIF100 VLANIF100 10.1.1.5/24 10.1.1.6/24 Eth2/0/0 Eth2/0/0 RouterA RouterB Configuration Roadmap The configuration roadmap is as follows: Configure BFD sessions on RouterA and RouterB to detect faults on the link between RouterA and RouterB.
Page 139
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Bind Session Type : Static Bind Peer IP Address : 10.1.1.6 NextHop Ip Address : 10.1.1.6 Bind Interface : Vlanif100 FSM Board Id TOS-EXP Min Tx Interval (ms)
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Configuration Files Configuration file of RouterA sysname RouterA vlan batch 100 interface Vlanif100 ip address 10.1.1.5 255.255.255.0 interface Ethernet2/0/0 shutdown port hybrid pvid vlan 100 port hybrid untagged vlan 100 bfd atob bind peer-ip 10.1.1.6 interface Vlanif100...
Page 141
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Configuration Roadmap The configuration roadmap is as follows: Configure BFD sessions on RouterA and RouterB to detect faults on the link between them. Procedure Step 1 Set IP addresses of the directly connected interfaces on RouterA and RouterB.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : Interface(GigabitEthernet1/0/0) Bind Session Type : Static Bind Peer IP Address : 10.1.1.2 NextHop Ip Address : 10.1.1.2...
Page 143
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Networking Requirements As shown in Figure 5-22, RouterA is indirectly connected to RouterC. Static routes are configured so that RouterA can communicate with RouterC. Faults on the link between RouterA and RouterC need to be fast detected.
Page 144
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Session MIndex : 256 (Multi Hop) State :Up Name : atoc -------------------------------------------------------------------------------- Local Discriminator : 10 Remote Discriminator : 20 Session Detect Mode : Asynchronous Mode Without Echo Function...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 0/1 ----End Configuration Files Configuration file of RouterA sysname RouterA interface GigabitEthernet1/0/0 shutdown ip address 10.1.1.1 255.255.255.0 bfd atoc bind peer-ip 10.2.1.2...
Page 146
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Networking Requirements As shown in Figure 5-23, RouterA is directly connected to RouterB and Layer 2 transmission devices SwitchA and SwitchB are deployed between them. It is required that RouterA and RouterB fast detect link faults to trigger fast route convergence.
Page 147
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration [RouterB] bfd btoa bind peer-ip default-ip interface gigabitethernet 1/0/0 [RouterB-bfd-session-btoa] discriminator local 20 [RouterB-bfd-session-btoa] discriminator remote 10 [RouterB-bfd-session-btoa] commit [RouterB-bfd-session-btoa] quit # After the configuration is complete, run the display bfd session all verbose command on RouterA and RouterB.
Page 148
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Local Discriminator : 10 Remote Discriminator : 20 Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : Interface(GigabitEthernet1/0/0) Bind Session Type : Static Bind Peer Ip Address : 224.0.0.184...
Page 149
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration GigabitEthernet1/0/0 current state : UP Line protocol current state : UP Last line protocol up time : 2012-05-08 10:29:51 Description:HUAWEI, AR Series, GigabitEthernet1/0/0 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 10.1.1.1/24...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo port trunk allow-pass vlan 1 port trunk pvid vlan 10 bfd btoa bind peer-ip default-ip interface GigabitEthernet1/0/0 discriminator local 20...
Page 151
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Configuration Roadmap Configure a routing protocol to implement interworking between RouterA, RouterB, and RouterC. Configure Layer 2 forwarding on Switch. Configure a Dot1q termination sub-interface on RouterA and RouterB.
Page 157
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration # Assign an IP address to the interface of RouterA. <Huawei> system-view [Huawei] sysname RouterA [RouterA] interface gigabitethernet 1/0/0 [RouterA-GigabitEthernet1/0/0] undo portswitch [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24 [RouterA-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterB.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration – If the value of the State field is Up, the BFD session has been established. – If the value of the State field is not Up, go to step 2.
NOTE Saving the results of each troubleshooting step is recommended. If your troubleshooting fails to correct the fault, you will have a record of your actions to provide Huawei technical support personnel. Procedure Step 1 Run the display current-configuration configuration bfd-session command to check the BFD session configuration and check whether the commit command is used.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration VRRP Configuration About This Chapter The Virtual Router Redundancy Protocol (VRRP) is a fault-tolerant protocol. VRRP switches services from the master to the backup when the gateway becomes faulty, providing continuous and reliable communication services.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.1 Introduction to VRRP This section describes the definition and functions of VRRP. Definition The Virtual Router Redundancy Protocol (VRRP) groups multiple routing devices into a virtual router and uses the virtual gateway device's IP address as the default gateway address.
Page 164
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-1 VRRP group Master 10.1.1.10/24 Switch RouterA Internet RouterB HostA Gateway:10.1.1.10/24 IP Address:10.1.1.3/24 Backup 10.1.1.1/24 Virtual Router Switch Internet HostA VRRP VRID 1 Gateway:10.1.1.10/24 Virtual IP Address:10.1.1.10/24 IP Address:10.1.1.3/24...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Virtual MAC address: MAC address that is generated by the virtual router based on the VRID. A virtual router has one virtual MAC address and is in the format of 00-00-5E-00-01- {VRID} (VRRP for IPv4) or 00-00-5E-00-02-{VRID} (VRRP for IPv6).
Page 166
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-3 Format of a VRRPv3 Advertisement packet 15 16 23 24 Version Type Priority Count IPvX Addr Virtual Rtr ID (rsvd) Max Adver Int Checksum IPvX Address(es) Table 6-1 describes fields in a VRRP Advertisement packet.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Field Description VRRPv2 VRRPv3 Auth Type Authentication mode. There are three authentication modes: l 0: Non Authentication l 1: Simple Text Password l 2: IP Authentication Header...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Non-authentication: The local device does not authenticate VRRP Advertisement packets before sending them. The remote device does not authenticate the received VRRP Advertisement packets and considers all the received packets valid.
Page 169
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Status Description Master The VRRP device in Master state performs the following operations: l Sends VRRP Advertisement packets at intervals. l Uses the virtual MAC address to respond to ARP Request packets destined for the virtual IP address.
Page 170
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration The master periodically sends VRRP Advertisement packets to all backups in the VRRP group to advertise its configuration (for example, priority) and running status. If the master fails, the backup with the highest priority becomes the new master.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration determines whether the master works properly based on the received VRRP Advertisement packets. – When the master does not remain in Master state, for example, the master leaves the group, it sends a VRRP Advertisement packet with priority 0.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-6 Association between a VRRP group and the interface status Interface1 Master RouterC RouterA HostA Switch Internet HostB RouterB RouterD Backup VRRP Interface1 Backup RouterC RouterA...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-7 Association between VRRP and BFD/NQA/routing Master RouterC RouterA 10.1.1.0/24 HostA Switch Internet RouterE HostB RouterB RouterD Backup VRRP Backup RouterC RouterA 10.1.1.0/24 HostA Switch Internet...
Page 176
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Table 6-3 VRRP and BFD association modes Assoc Usage Scenario VRRP Status Change BFD Support iation Mode Associ A backup monitors the If the BFD session detects...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-8 Association between a VRRP group and a common BFD session Master RouterA HostA Switch Internet HostB RouterB Backup VRRP Initialize RouterA HostA Switch Internet HostB...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration reliability. Load balancing can be implemented between the master and backup in a VRRP group, and between MSTP root bridge and backup bridge. Figure 6-9 Networking diagram for configuring Layer 2 and Layer 3 traffic load balancing...
Page 179
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Table 6-4 VRRP configuration task summary Scenario Description Task Configure basic You can configure a VRRP group to 6.7.1 Configuring Basic functions of a VRRP implement gateway backup and...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Scenario Description Task Configure association Because VRRP cannot detect faults 6.7.2.3 Configuring between VRRP and on the uplink of a VRRP group, Association Between BFD/NQA/routing to services may be interrupted.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.6 Default Configuration This section describes the default configuration of VRRP. Table 6-5 Default VRRP configuration Parameter Default Setting Priority of the device in a VRRP group...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Procedure Create a VRRP group working in active/standby mode. 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 VRRP group is created, and a virtual IP address is assigned to the VRRP group.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.7.1.3 (Optional) Configuring the VRRP Version Number Context IPv4 VRRP supports VRRPv2 and VRRPv3. If devices in a VRRP group use different VRRP versions, VRRP Advertisement packets may fail to be forwarded.
Page 184
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Table 6-6 Applicable scenarios of VRRP time parameters Parameter Applicable Scenario Interval at which The master in a VRRP group sends VRRP Advertisement packets to VRRP backups at intervals to notify that it is working properly. After the...
Page 185
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration The interval at which VRRP Advertisement packets are sent is set. By default, the interval is 1 second. NOTE The interval at which a device sends VRRP Advertisement packets cannot be less than the time that the device takes to perform a master/slave main control board switchover.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration – To restore the default interval at which gratuitous ARP packets are sent, run the undo vrrp gratuitous-arp timeout command in the system view. – If the master does not need to send gratuitous ARP packets, run the vrrp gratuitous-arp timeout disable command in the system view.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration By default, the master sends VRRP Advertisement packets to a sub-VLAN that is Up and has the smallest VLAN ID in a super-VLAN. l If sub-vlan-id is specified, the master sends VRRP Advertisement packets to a specified sub- VLAN.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Context Different authentication modes and authentication keys can be set in VRRPv2 Advertisement packets: Non-authentication: The device does not authenticate outgoing VRRP Advertisement packets. In addition, the device does not authenticate the received VRRP Advertisement packets.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Context The device allows user devices to ping a virtual IP address to serve the following purposes: Monitors the operating status of the master in a VRRP group.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.7.2 Configuring VRRP Association VRRP association enables VRRP to detect faults in a timely manner and triggers an active/ standby switchover when the master or the uplink of the master becomes faulty. VRRP association optimizes VRRP switchover and enhances network reliability.
Page 191
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-10 Association between VRRP and BFD to implement a rapid active/standby switchover Master RouterA HostA Switch Internet HostB RouterB Backup BFD packets VRRP Procedure Step 1 Configure a static BFD session or a static BFD session with automatically negotiated discriminators.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.7.2.2 Configuring Association Between VRRP and the Interface Status to Implement an Active/Standby Switchover Context When the uplink interface of the master becomes faulty, VRRP cannot detect the status change of interfaces not in the VRRP group, causing service interruption.
Page 193
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration on the uplink, it notifies the VRRP group that the priority of the master needs to be decreased. Then an active/standby switchover is triggered immediately. This reduces the impact of the uplink fault on service forwarding.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration By default, when the monitored BFD session becomes Down, the VRRP priority decreases by NOTE When associating a VRRP group with a BFD session, note the following points: l If session-name bfd-configure-name is specified, the VRRP group can be bound to only the static BFD session with automatically negotiated discriminators.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Step 4 Run: vrrp vrid virtual-router-id track nqa admin-name test-name [ reduced value- reduced ] Association between VRRP and NQA is configured. By default, when the associated NQA test instance becomes failed, the priority of the device decreases by 10.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration By default, the master' priority decreases by 10 if the associated route is withdrawn or becomes inactive. NOTE When setting the value by which the priority decreases, ensure that the priority of the backup is higher than the priority of the master.
Page 197
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Procedure Step 1 Create a VRRP6 group working in active/standby mode. Run: system-view The system view is displayed. Run: ipv6 The IPv6 function is enabled. By default, a device is disabled from forwarding IPv6 unicast packets.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Run the shutdown command in the view of the IP address owner to shut down the interface. Run the undo shutdown command in the view of the IP address owner to enable the interface.
Page 199
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Context You can set VRRP6 time parameters as needed. Table 6-7 lists applicable scenarios. Table 6-7 Applicable scenarios of VRRP6 time parameters Function Usage Scenario Interval at which...
Page 200
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration The interval at which VRRP6 Advertisement packets are sent is set. By default, VRRP6 Advertisement packets are sent at intervals of 1s. NOTE If devices in a VRRP6 group use different intervals, VRRP6 may not work.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration NOTE The interval at which the master sends ND packets must be shorter than the aging time of ND entries on each user device. – To restore the default interval at which an ND packet is sent, run the undo vrrp gratuitous-arp timeout command in the system view.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration By default, the system checks the TTL value in VRRP6 Advertisement packets. ----End 6.7.3.5 (Optional) Enabling the Ping to a Virtual IP Address Context The device allows user devices to ping a virtual IP address to serve the following purposes: Monitors the operating status of the master in a VRRP6 group.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.7.4 Configuring VRRP6 Association VRRP6 association enables VRRP6 to detect faults in a timely manner and triggers an active/ standby switchover when the master or the uplink of the master becomes faulty. VRRP6 association optimizes VRRP6 switchover and enhances network reliability.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration NOTE If the IPv4 protocol status on the monitored interface configured with an IPv4 address changes, the priority of the master is reduced. If the IPv6 protocol status on the monitored interface configured with an IPv6 address changes, the VRRP6 group remains unchanged.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration NOTICE The cleared statistics cannot be restored. Exercise caution when you run the reset command. Procedure Run the reset vrrp [ interface interface-type interface-number ] [ vrid virtual-router-id ] statistics command in the user view to clear statistics about a VRRP group.
Page 206
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Configuration Roadmap The configuration roadmap is as follows: Assign an IP address to each interface and configure a routing protocol to ensure network connectivity. Configure a VRRP group on RouterA and RouterB, set a higher priority for RouterA so that RouterA functions as the master to forward traffic and set the preemption delay to 20s on RouterA, and set a lower priority for RouterB so that RouterB functions as the backup.
Page 207
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration State : Master Virtual IP : 10.1.1.111 Master IP : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 20 s...
Page 211
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] quit [RouterA-ospf-1] quit Step 2 Configure VRRP groups. # Configure VRRP group 1 on RouterA and RouterB, set the priority of RouterA to 120 and the preemption delay to 20s, and set the default priority for RouterB.
Page 212
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-11 11:40:18 Last change time : 2012-05-26 11:48:58 # After the configuration is complete, run the display vrrp command on RouterB. You can see that RouterB is the backup in VRRP group 1 and the master in VRRP group 2.
Page 214
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-14 Networking diagram for configuring association between VRRP and BFD to implement a rapid active/standby switchover VRRP VRID 1 Virtual IP Address: 10.1.1.3/24 Master GE2/0/0 RouterA 10.1.1.1/24...
Page 215
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Step 2 Configure VRRP groups. # Configure VRRP group 1 on RouterA, and set the priority of RouterA to 120 and the preemption delay to 20s. [RouterA] interface gigabitethernet 2/0/0 [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.3...
Page 219
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-15 Network diagram for configuring association between VRRP and the interface status VRRP VRID 1 Master Virtual IP Address: RouterA 10.1.1.3/24 GE2/0/0 GE1/0/0 10.1.1.1/24 192.168.1.1/24 HostA GE1/0/0 192.168.1.2/24...
Page 220
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] quit [RouterA-ospf-1] quit Step 2 Configure VRRP groups. # Configure VRRP group 1 on RouterA, and set the priority of RouterA to 120 and the preemption delay to 20s.
Page 221
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration TimerConfig : 1 s Auth Type : NONE Virtual Mac 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-22 17:33:00 Last change time : 2012-05-22 17:33:04 # Run the shutdown command on GE1/0/0 of RouterA to simulate a link fault.
Page 222
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 20 s TimerRun : 1 s TimerConfig : 1 s Auth Type...
Page 224
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-16 Association between VRRP and BFD to monitor the uplink status GE2/0/0 192.168.1.1/24 VRRP VRID 1 Master RouterC Virtual IP address: RouterA GE1/0/0 GE2/0/0 10.1.1.10 192.168.1.2/24 172.16.1.1/24...
Page 225
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration # Configure OSPF between Routers. RouterA is used as an example. The configurations of RouterB, RouterC, RouterD, RouterE are similar to the configuration of RouterA, and are not mentioned here.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration interface GigabitEthernet1/0/0 undo portswitch ip address 192.168.1.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 172.16.1.1 255.255.255.0 ospf 1 area 0.0.0.0 network 172.16.1.0 0.0.0.255 network 192.168.1.0 0.0.0.255 return...
Page 230
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Networking Requirements As shown in Figure 6-17, hosts on a LAN are dual-homed to RouterA and RouterB through the switch. A VRRP group is established on RouterA and RouterB, and RouterA is the master.
Page 231
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration # Assign an IP address to each interface. RouterA is used as an example. The configurations of other industrial switch routers are similar to the configuration of industrial switch routerA, and are not mentioned here.
Page 232
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA-user-test] start now [RouterA-user-test] quit Step 4 Configure association between VRRP and NQA on RouterA. When the NQA test instance is failed, the priority of RouterA decreases by 40.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration interface GigabitEthernet1/0/0 undo portswitch ip address 20.1.1.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 30.1.1.2 255.255.255.0 ospf 1 area 0.0.0.0 network 20.1.1.0 0.0.0.255 network 30.1.1.0 0.0.0.255 return...
Page 237
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-18 Association between VRRP and routing to monitor the uplink status GE2/0/0 192.168.1.1/24 VRRP VRID 1 Master RouterC Virtual IP address: RouterA GE1/0/0 GE2/0/0 10.1.1.10 192.168.1.2/24 172.16.1.1/24...
Page 238
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [Switch-Ethernet] port link-type trunk [Switch-Ethernet] port trunk allow-pass vlan 100 [Switch-Ethernet] port trunk pvid vlan 100 [Switch-Ethernet] undo port trunk allow-pass vlan 1 [Switch-Ethernet] quit [Switch] interface ethernet...
Page 239
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterE-isis-2] is-level level-1 [RouterE-isis-2] network-entity 20.0000.0000.0003.00 [RouterE-isis-2] quit [RouterE] interface gigabitethernet 2/0/0 [RouterE-GigabitEthernet2/0/0] isis enable 2 [RouterE-GigabitEthernet2/0/0] quit Step 5 Configure association between VRRP and routing on RouterA. When the associated route is withdrawn, the priority of RouterA decreases by 40.
Page 240
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration TimerConfig : 1 s Auth type : NONE Virtual MAC 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-29 21:25:47 Last change time : 2012-05-29 21:25:51 # Run the shutdown command on GE1/0/0 of RouterE to simulate a link fault.
Page 241
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Virtual MAC 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-29 21:25:47 Last change time : 2012-05-29 21:25:51 # Run the undo shutdown command on GE1/0/0 of RouterE.
Page 244
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-19 Networking for configuring VRRP on the Dot1q termination sub-interface Internet GE2/0/0 GE1/0/0 192.168.1.2/24 192.168.2.2/24 GE1/0/0 GE1/0/0 RouterC 192.168.1.1/24 192.168.2.1/24 RouterA RouterB GE2/0/0.1 GE2/0/0.1 10.1.1.1/24 10.1.1.2/24...
Page 245
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration # Configure Layer 2 forwarding on the switch. <Huawei> system-view [Huawei] sysname Switch [Switch] vlan 10 [Switch-vlan10] quit [Switch] interface gigabitethernet 1/0/0 [Switch-GigabitEthernet1/0/0] port link-type access [Switch-GigabitEthernet1/0/0] port default vlan 10...
Page 246
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration MasterPriority : 120 Preempt : YES Delay Time : 20 s TimerRun : 1 s TimerConfig : 1 s Auth type : NONE Virtual MAC : 0000-5e00-0101...
Page 247
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration GigabitEthernet2/0/0.1 10.1.1.2/32 Direct 0 127.0.0.1 GigabitEthernet2/0/0.1 10.1.1.111/32 OSPF 10.1.1.1 GigabitEthernet2/0/0.1 127.0.0.0/8 Direct 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 192.168.1.0/24 Direct 0 192.168.1.1 GigabitEthernet1/0/0 192.168.1.1/32 Direct 0 127.0.0.1...
Page 248
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration # After 20s, run the display vrrp command on RouterA and RouterB. You can see that RouterA is in Master state and RouterB is in Backup state.
Page 249
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 192.168.1.1 255.255.255.0 interface GigabitEthernet2/0/0.1 undo portswitch dot1q termination vid 10 dot1q vrrp vid 10 ip address 10.1.1.2 255.255.255.0...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 6.9.9 Example for Configuring VRRP on a QinQ Termination Sub- interface Networking Requirements As shown in Figure 6-20, hosts on a LAN are dual-homed to RouterA and RouterB through LSW1.
Page 251
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration preemption delay to 20s, and set a lower priority for RouterB so that RouterB functions as the backup. Procedure Step 1 Configure devices to ensure network connectivity.
Page 254
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-29 21:25:47 Last change time : 2012-05-29 21:27:10 # Run the display ip routing-table command on RouterA and RouterB. The command output shows that a direct route to the virtual IP address exists in the routing table of RouterA and an OSPF route to the virtual IP address exists in the routing table of RouterB.
Page 255
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 192.168.1.0/24 Direct 0 192.168.1.1 GigabitEthernet1/0/0 192.168.1.1/32 Direct 0 127.0.0.1 GigabitEthernet1/0/0 192.168.2.0/24 OSPF 192.168.1.2 GigabitEthernet1/0/0 OSPF 10.1.1.1 GigabitEthernet2/0/0.1 OSPF 10.1.2.1 GigabitEthernet2/0/0.2 # Run the shutdown command on GE2/0/0.1 of RouterA to simulate a link fault.
Page 256
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Auth type : NONE Virtual MAC : 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-29 21:27:47 Last change time : 2012-05-29 21:29:10 GigabitEthernet2/0/0.2 | Virtual Router 2...
Page 257
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Config type : normal-vrrp Backup-forward : disabled Create time : 2012-05-29 21:25:47 Last change time : 2012-05-29 21:27:10 [RouterB] display vrrp GigabitEthernet2/0/0.1 | Virtual Router 1 State : Backup Virtual IP : 10.1.1.111...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration port hybrid pvid vlan 10 port hybrid untagged vlan 10 interface GigabitEthernet2/0/0 port hybrid pvid vlan 10 port hybrid untagged vlan 10 return 6.9.11 Example for Configuring a VRRP6 Group in Load Balancing...
Page 266
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Create VRRP6 groups 1 and 2 on RouterA and RouterB. In VRRP6 group 1, configure RouterA as the master and RouterB as the backup. In VRRP6 group 2, configure RouterB as the master and RouterA as the backup.
Page 267
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA-GigabitEthernet2/0/0] quit [RouterB] interface gigabitethernet 2/0/0 [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FE80::1 link-local [RouterB-GigabitEthernet2/0/0] vrrp6 vrid 1 virtual-ip FC00::100 [RouterB-GigabitEthernet2/0/0] quit # Configure VRRP6 group 2 on RouterA and RouterB, set the priority of RouterB to 120 and the preemption delay to 20s, and set the default priority for RouterA.
Page 268
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration State : Backup Virtual IP : FE80::1 FC00::100 Master IP : FE80::218:82FF:FED3:2AF3 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 s...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration l If the authentication modes and keys are different, run the vrrp vrid virtual-router-id authentication-mode { simple { key | plain key | cipher cipher-key } | md5 md5-key } command to set the same authentication mode and key.
Page 272
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Docume Description Remar RFC 2787 Definitions of Managed Objects for the Virtual Router Redundancy Protocol RFC 3768 Virtual Router Redundancy Protocol RFC 5798 Virtual Router Redundancy Protocol Version 3 for IPv4 and IPv6...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration EFM Configuration About This Chapter Ethernet in the First Mile (EFM) can be enabled on both devices of a point-to-point link to monitor connectivity and link quality.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration 7.1 Introduction to EFM EFM effectively improves Ethernet management and maintenance capabilities and ensures the stable operation of networks. Easy-to-use Ethernet techniques support good bandwidth extensibility on low-cost hardware.
Page 275
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Table 7-1 Fields in an OAMPDU Field Description Destination addr Destination MAC address, which is a slow protocol multicast address 0x0180-C200-0002. Network bridges cannot forward slow protocol packets.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration OAMPDU Type Description Event Notification Used to monitor links. If an errored frame event, errored code period OAMPDU event, or errored frame second event occurs on an interface, the interface sends an Event Notification OAMPDU to notify the remote interface of the event.
Page 277
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Figure 7-2 Typical EFM network Network Side User Side Port 2 Port 1 IP/MPLS EFM Discovery During the discovery process, a local EFM entity discovers and establishes a stable EFM connection with a remote EFM entity.
Page 278
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration OAMPDU from the remote EFM entity within the connection timeout interval, the EFM entity considers the connection interrupted and sends a trap to the NMS. Establishing an EFM connection is a way to monitor physical link connectivity automatically.
Page 279
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Fault Notification After the OAM discovery process finishes, two EFM entities at both ends of an EFM connection exchange Information OAMPDUs to monitor link connectivity. When traffic is interrupted...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration After remote loopback is enabled, the device discards all the non-OAMPDUs, causing service interruption. It is recommended that you enable remote loopback to check link connectivity and quality before a new network is used or a link fault is rectified.
Page 281
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Fault Information Advertisement Between EFM and Detection Modules The OAMMGR module associates EFM with detection modules. The detection modules can be bidirectional forwarding detection (BFD) and interface.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Function Issue to Be Resolved Solution Deployment EFM is used to l Although EFM detects a The EFM module can be associated monitor a direct link fault, EFM cannot notify with the BFD module.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: efm enable EFM is enabled globally. By default, EFM is disabled globally. ----End 7.5.1.2 (Optional) Setting the EFM Working Mode on an Interface Context EFM supports two connection modes: active and passive.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration The view of the interface at one end of the link is displayed. Step 3 Run: efm mode { active | passive } The EFM working mode on the interface is configured.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration The view of the interface at one end of the link is displayed. Run: efm packet max-size size The maximum size of an EFM OAMPDU is set.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration The view of the interface at one end of the link is displayed. Step 3 Run: efm enable EFM is enabled on the interface. By default, EFM is disabled on an interface.
Page 288
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Run: efm enable EFM is enabled globally. Run: interface interface-type interface-number The view of the interface at one end of the link is displayed. Run: efm error-code period period The period for detecting EFM errored codes is set.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration EFM is enabled on the interface. Run: efm error-frame notification enable The interface is enabled to detect EFM errored frames. By default, an interface is not enabled to detect EFM errored frames.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Perform the following steps at one or two ends of a link. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The view of the interface at one end of the link is displayed.
Page 291
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Context Remote loopback mainly tests connectivity and quality of a single link. On the network shown Figure 7-7, remote loopback is configured on the interface connecting the CE to the PE. The interface sends test packets to its remote interface.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Remote loopback is implemented successfully only when EFM protocols at the local end and the peer are in handshake state and EFM at the local end works in active mode. You can run the display efm session { all | interface interface-type interface-number } command to check whether the EFM status on both devices is detect.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Context If an interface is in loopback state, the interface loops back all received traffic, causing service interruption and imposing attacks. To solve the problem, configure the local device to ignore remote loopback requests.
Page 294
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration As shown in Figure 7-8, if a fault occurs on PE2, PE2 sends an Information OAMPDU carrying a critical link event flag to the CE. Association between EFM and Port1 is triggered and services are switched to the backup path.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration 7.5.5 Configuring EFM Association EFM can be associated with interfaces and detection protocols to quickly report link faults, ensuring service reliability. 7.5.5.1 Configuring Association Between EFM and Interfaces...
Page 296
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Table 7-9 Association between EFM and interfaces Triggering Usage Scenario Description Mode Link fault As shown in Figure 7-9, when EFM The association function is detects that the link between CE1 and...
Page 297
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Triggering Usage Scenario Description Mode Remote fault As shown in Figure 7-9, when EFM After a remote fault is associated detects link-fault, dying-gasp, or with an interface, the system sets...
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration By default, the value of the EFM faulty-state holdup timer is 0s. After the efm trigger if-down command is used to associate EFM OAM with an interface, when EFM OAM detects a connectivity fault, the faulty state remains unchanged within the EFM faulty-state holdup timer.
Page 299
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Context For details on the principle and usage scenarios of association between EFM and BFD, see 7.2.3 Fault Information Advertisement Between EFM and Other Modules. Association between EFM and BFD is bidirectional: If EFM detects a link fault, it will notify BFD of the fault.
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration 7.6 Configuration Examples This section provides several examples showing how to configure EFM functions in different scenarios. In each configuration example, the networking requirements, configuration roadmap, and configuration files are provided.
Page 302
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration [CE4] display efm session interface ethernet 2/0/1 Interface EFM State Loopback Timeout ---------------------------------------------------------------------- Ethernet2/0/1 loopback (be controlled) Step 3 Configure CE1 to send test packets to CE4.
Page 303
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration [CE1-Ethernet1/0/2] efm error-frame-second period 120 [CE1-Ethernet1/0/2] efm error-frame-second threshold 5 [CE1-Ethernet1/0/2] efm error-frame-second notification enable [CE1-Ethernet1/0/2] quit Step 8 Verify the configuration. After the preceding configurations are complete, Eth1/0/2 on CE1 and Eth2/0/1 on CE4 will enter the handshake phase.
Page 304
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration [CE1] interface ethernet 1/0/2 [CE1-Ethernet1/0/2] shutdown [CE1-Ethernet1/0/2] quit [CE4] display interface ethernet 2/0/2 Ethernet2/0/2 current state : TRIGGER DOWN (3AH) Line protocol current state : DOWN Last line protocol up time : 2012-05-01 16:54:40...
Page 306
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Configure EFM for links between CE1 and PE3 and between CE2 and PE4 to monitor link connectivity. Configure BFD for the link between PE3 and PE4 to monitor link connectivity.
Page 307
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration If EFM is correctly configured on PE3, CE1, PE4, and CE2, GE1/0/1 of these devices will enter the handshake stage. Run the display efm session { all | interface interface-type interface- num } command on one of these devices.
Page 308
Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration [PE4] oam-mgr [PE4-oam-mgr] oam-bind efm interface gigabitethernet 1/0/1 bfd-session 2 [PE4-oam-mgr] quit Step 4 Configure association between EFM and interfaces on CE2. [CE2] interface gigabitethernet 1/0/1 [CE2-GigabitEthernet1/0/1] efm trigger if-down [CE2-GigabitEthernet1/0/1] quit Step 5 Verify the configuration.