Huawei AR530 Series Configuration Manual

Industrial switch routers
Hide thumbs Also See for AR530 Series:
Table of Contents

Advertisement

Huawei AR530&AR550 Series Industrial Switch
Routers
V200R005C70
Configuration Guide - Reliability
Issue
01
Date
2014-11-30
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei AR530 Series

  • 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.
  • Page 3: About This Document

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

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

    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...
  • Page 12: Introduction To Reliability

    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.
  • Page 13: Levels Of Reliability Requirements

    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...
  • Page 14: Reliability Technologies

    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...
  • Page 16: Interface Backup Configuration

    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.
  • Page 17: Introduction To Interface Backup

    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.
  • Page 18: Load Balancing Mode

    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...
  • Page 19: Interface Backup In Load Balancing Mode

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Figure 2-3 Interface backup application ATM3/0/0 Enterprise DSLAM Internet Cellular0/0/0 RouterA Access Primary link network Backup link 2.3.2 Interface Backup in Load Balancing Mode As shown in Figure 2-4, HostA communicates with RouterB through GE2/0/0 on RouterA.
  • Page 20: Association Between Interface Backup In Active/Standby Mode And Bfd

    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...
  • Page 21: Association Between Interface Backup In Active/Standby Mode And Routing

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

    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...
  • Page 23: Default Configuration

    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.
  • Page 24: Interface Backup Configuration

    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.
  • Page 25: Configuring Association Of Interface Backup In Active/Standby Mode

    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.
  • Page 26: Configuring Association Between Interface Backup In Active/Standby Mode And Bfd

    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.
  • Page 28: Configuring Association Between Interface Backup In Active/Standby Mode And Routing

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration The system view is displayed. (Optional) Run: ip route-static ip-address { mask | mask-length } { nexthop-address | interface- type interface-number [ nexthop-address ] } [ preference preference | tag...
  • Page 29: Configuring Interface Backup In Load Balancing Mode

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

    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 32 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration [RouterA-GigabitEthernet2/0/0] ip address 10.1.1.1 255.255.255.0 [RouterA-GigabitEthernet2/0/0] quit [RouterA] interface gigabitethernet 1/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 gigabitethernet 3/0/0 [RouterA-GigabitEthernet3/0/0] undo portswitch [RouterA-GigabitEthernet3/0/0] ip address 10.1.3.1 255.255.255.0...
  • 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.
  • Page 34: Example For Configuring Ethernet Interface Backup In Load Balancing Mode

    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.
  • Page 37: Example For Configuring An Adsl Interface As The Backup Of An Ethernet Interface

    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 40: Example For Configuring Association Between Nqa And Ethernet Interface Backup In Active/Standby Mode

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration dialer user u1 dialer bundle 10 dialer number 666 dialer-group 10 interface GigabitEthernet1/0/0 ip address 20.0.0.1 255.255.255.0 standby interface Atm0/0/0 interface Atm0/0/0 pvc pppoa 2/40 map ppp Dialer1...
  • 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...
  • Page 46: Example For Configuring Association Between Bfd And Ethernet Interface Backup In Active/Standby Mode

    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)
  • Page 50 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Interface Interfacestate Backupstate Backupflag Pri Loadstate Backup-flag meaning: M---MAIN B---BACKUP V---MOVED U--- USED D---LOAD P--- PULLED ------------------------------------------------------------------------------ Below is track BFD Information: Bfd-Name Bfd-State BackupInterface State...
  • Page 51: Example For Configuring Association Between Routing And Ethernet Interface Backup In Active/Standby Mode

    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 57: Example For Associating Interface Backup With Nqa To Configure An Adsl Interface As The Backup Of An Ethernet Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.5.1 255.255.255.0 return Configuration file of RouterD sysname RouterD isis 1 network-entity 10.0000.0000.0003.00 interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.4.2 255.255.255.0...
  • 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...
  • Page 60 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Stats errors number:0 Destination ip address:4.1.1.2...
  • Page 61 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration Operation sequence errors number:0 RTT Stats errors number: Destination ip address: 4.1.1.2 Min/Max/Average Completion Time: 0/0/0 Sum/Square-Sum Completion Time: Last Good Probe Time: 0000-00-00 00:00:00.0 Lost packet ratio: 100 % After 10s, run the display standby state command on RouterA.
  • Page 62 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration ---------------------------------------------------------------------------- Below is track BFD information: Bfd-Name Bfd-State BackupInterface State ---------------------------------------------------------------------------- Below is track IP route information: Destination/Mask Route-State BackupInterface State ------------------------------------------------------------------------------ Below is track NQA...
  • Page 63: Example For Associating Interface Backup With Bfd To Configure An Adsl Interface As The Backup Of An Ethernet Interface

    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...
  • Page 70: Example For Associating Interface Backup With Routing To Configure An Adsl Interface As The Backup Of An Ethernet Interface

    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...
  • Page 76: References

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 2 Interface Backup Configuration sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 4.1.1.2 255.255.255.0 ospf area 0.0.0.0 network 4.1.1.0 0.0.0.255 return Configuration file of RouterC sysname RouterC interface GigabitEthernet1/0/0 undo portswitch ip address 2.1.1.2 255.255.255.0...
  • Page 77: Interface Monitoring Group Configuration

    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.
  • Page 78: Introduction

    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.
  • Page 79: Interface Monitoring Group Application

    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...
  • Page 80: Configuring An Interface Monitoring Group

    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.
  • Page 82: Maintaining An Interface Monitoring Group

    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.
  • Page 83: Example For Configuring 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.
  • Page 86 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration LastPhydowntime : LastBFDuptime LastBFDdowntime : ValidFlag valid Interface name GigabitEthernet2/0/0 Interface index : Down-weight Phystatus Bfdstatus LastPhyuptime LastPhydowntime : LastBFDuptime LastBFDdowntime : ValidFlag valid -------------------------------------------------------...
  • Page 87 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 3 Interface Monitoring Group Configuration monitor-group track interface number : 1 ------------------------------------------------------- Interface name Ethernet2/0/1 Interface index Trigger-down-weight : TriggerStatus TRIGGER DOWN LastTriggerUpTime LastTriggerDownTime : 2013-09-16 02:47:36 ValidFlag valid ----End...
  • Page 88: Hsb Configuration

    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.
  • Page 89 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration 4.8 References This section lists references of hot-standby backup. Issue 01 (2014-11-30) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 90: Introduction To Hot-Standby Backup

    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.
  • Page 91: Hsb Implementation

    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.
  • Page 93: Applications

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration Figure 4-3 Traffic switching through VRRP (before switching) RouterA SwitchA VRRP Master User Net1 VRRP Network User Net2 Traffic of SwitchA SwitchB VRRP Backup Traffic of SwitchB...
  • Page 94: Default Configuration

    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.
  • Page 95: Hsb Configuration

    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.
  • Page 96: Creating An Hsb Service

    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.
  • Page 97: Configuring An Hsb Group

    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.
  • Page 98: Enabling An Hsb Group

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

    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.
  • Page 104: Common Configuration Errors

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 4 HSB Configuration return Configuration file of the switch sysname Switch vlan batch 100 interface GigabitEthernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet0/0/2 port hybrid pvid vlan 100...
  • Page 105: References

    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)
  • Page 106: Bfd Configuration

    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.
  • Page 107: Introduction To 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.
  • Page 110: Application Scenarios

    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.
  • Page 111: Bfd Echo Function

    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.
  • Page 112: Bfd For Static Routes

    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.
  • Page 113: Bfd For Is-Is

    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...
  • Page 114: Bfd For Bgp

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration and to immediately notify IS-IS of route recalculation, which guides packet forwarding. Table lists IS-IS convergence speed. Table 5-2 IS-IS convergence speed Whether a BFD Session Is...
  • Page 115: Bfd For Vrrp

    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...
  • Page 116: Bfd For Pim

    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.
  • Page 117: Configuration Task Summary

    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...
  • Page 118: Default Configuration

    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:...
  • Page 121: Configuring Multi-Hop Bfd

    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:...
  • Page 122: Configuring Static Bfd With Automatically Negotiated Discriminators

    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.
  • Page 123: Configuring The Bfd Echo Function

    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...
  • Page 125: Configuring Bfd Association

    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.
  • Page 128: Configuring Association Between The Bfd Session Status And The Sub-Interface Status

    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.
  • Page 130: Adjusting Bfd Parameters

    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 131: Setting The Wtr Time Of A Bfd Session

    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.
  • Page 132: Configuring The Description For A Bfd Session

    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.
  • Page 133: Setting The Global Ttl Value

    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.
  • Page 134: Checking The Configuration

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

    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...
  • Page 136 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration [RouterB] bfd [RouterB-bfd] quit # Create a BFD session on RouterB. [RouterB] bfd btoa bind peer-ip default-ip interface ethernet 2/0/0 [RouterB-bfd-session-btoa] discriminator local 2 [RouterB-bfd-session-btoa] discriminator remote 1...
  • Page 137: Example For Configuring Single-Hop Bfd On A Vlanif Interface

    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)
  • Page 140: Example For Configuring Single-Hop Bfd On A Layer 3 Physical Link

    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.
  • Page 142: Example For Configuring Multi-Hop Bfd

    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...
  • Page 145: Example For Associating The Bfd Session Status With The Interface Status

    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...
  • Page 150: Example For Configuring Bfd On A Dot1Q Termination Sub-Interface

    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 152 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration [RouterC] interface gigabitethernet 1/0/0 [RouterC-gigabitethernet1/0/0] undo portswitch [RouterC-GigabitEthernet1/0/0] ip address 192.168.2.2 24 [RouterC-GigabitEthernet1/0/0] quit [RouterC] interface gigabitethernet 2/0/0 [RouterC-gigabitethernet 2/0/0] undo portswitch [RouterC-GigabitEthernet2/0/0] ip address 192.168.1.2 24...
  • Page 153 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration [Switch-GigabitEthernet1/0/2] port default vlan 10 [Switch-GigabitEthernet1/0/2] quit Step 3 Configure Dot1q termination sub-interfaces. # Configure RouterA. [RouterA] interface gigabitethernet 2/0/0.1 [RouterA-GigabitEthernet2/0/0.1] dot1q termination vid 10 [RouterA-GigabitEthernet2/0/0.1] quit # Configure RouterB.
  • Page 154 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration PDT Index : FSM-0|RCV-0|IF-0|TOKEN-0 Session Description ------------------------------------------------------------------------------ Total UP/DOWN Session Number : 1/0 Step 5 Configure VRRP group 1 to monitor the BFD session. # Configure RouterA.
  • Page 155 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration interface GigabitEthernet2/0/0 undo portswitch interface GigabitEthernet2/0/0.1 dot1q termination vid 10 dot1q vrrp vid 10 ip address 10.1.1.1 255.255.255.0 vrrp vrid 1 virtual 10.1.1.100 vrrp vrid 1 priority 160 vrrp vrid 1 track bfd-session 1 bfd atob bind peer-ip 10.1.1.2 interface gigabitethernet 2/0/0.1...
  • Page 156: Example For Configuring The Bfd Echo Function

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration undo portswitch ip address 192.168.1.2 255.255.255.0 ospf 1 area 0.0.0.0 network 192.168.1.0 0.0.0.255 network 192.168.2.0 0.0.0.255 return Configuration file of Switch sysname Switch vlan batch 10 interface GigabitEthernet1/0/0...
  • 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.
  • Page 158: Common Configuration Errors

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 5 BFD Configuration Total UP/DOWN Session Number : 1/0 ----End Configuration Files Configuration file of RouterA sysname RouterA interface gigabitethernet1/0/0 undo portswitch ip address 10.1.1.1 255.255.255.0 bfd atob bind peer-ip 10.1.1.2 interface gigabitEthernet1/0/0 one-arm-echo...
  • Page 159: Bfd Detection Result Affects Forwarding On An Interface

    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.
  • Page 160: References

    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.
  • Page 161: Vrrp Configuration

    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.
  • Page 162 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration This section describes common faults caused by incorrect VRRP configurations and provides the troubleshooting procedure. 6.11 References This section lists the references of VRRP. Issue 01 (2014-11-30) Huawei Proprietary and Confidential Copyright ©...
  • Page 163: Introduction To Vrrp

    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...
  • Page 165: Vrrpv2 And Vrrpv3 Advertisement Packets

    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.
  • Page 167: Vrrp Authentication

    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...
  • Page 168: Vrrp Implementation

    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.
  • Page 171: Vrrp In Active/Standby Mode

    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.
  • Page 172: Vrrp In Load Balancing Mode

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-4 VRRP in active/standby VRRP RouterA Master HostA Internet RouterB Backup HostB RouterC Backup VRRP RouterA Initialize HostA Internet RouterB Backup HostB Data flow1 RouterC Master Data flow2 6.2.5 VRRP in Load Balancing Mode...
  • Page 173: Applicable Scenarios

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-5 Multi-gateway load balancing VRRP VRID 1 Virtual IP Address: 10.1.1.111 RouterA HostA VRID1:Master Default gateway: VRID2:Backup 10.1.1.111 RouterC Internet HostB RouterB Default gateway: VRID2:Master 10.1.1.112...
  • Page 174: Association Between Vrrp And Bfd/Nqa/Routing To Monitor The Uplink

    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...
  • Page 175: Association Between Vrrp And Bfd To Implement A Rapid Active/Standby Switchover

    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...
  • Page 177: Configuring Layer 2 And Layer 3 Traffic Load Balancing Through Vrrp And Mstp Deployment

    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...
  • Page 178: Configuration Task Summary

    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...
  • Page 180: Configuration Notes

    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.
  • Page 181: Default Configuration

    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...
  • Page 182: Setting The Device Priority 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.
  • Page 183: Optional) Configuring The Vrrp Version Number

    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.
  • Page 186: Optional) Setting The Mode In Which Vrrp Advertisement Packets Are Sent In A Super-Vlan

    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.
  • Page 187: Optional) Disabling Vrrp Ttl Check

    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.
  • Page 188: Optional) Enabling The Ping To A Virtual Ip Address

    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.
  • Page 189: Checking The Configuration

    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.
  • Page 190: Configuring Vrrp Association

    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.
  • Page 192: Configuring Association Between Vrrp And The Interface Status To Implement An Active/Standby Switchover

    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.
  • Page 194: Configuring Association Between Vrrp And Nqa To Monitor The Uplink Status

    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.
  • Page 195: Configuring Association Between Vrrp And Routing To Monitor The Uplink Status

    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.
  • Page 196: Checking The Configuration

    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.
  • Page 198: Setting The Device Priority In A Vrrp6 Group

    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.
  • Page 201: Optional) Disabling Vrrp6 Ttl Check

    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.
  • Page 202: Optional) Enabling The Ping To A Virtual Ip Address

    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.
  • Page 203: Configuring Vrrp6 Association

    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.
  • Page 204: Checking The Configuration

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

    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 208 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA] interface gigabitethernet 2/0/0 [RouterA-GigabitEthernet2/0/0] undo shutdown [RouterA-GigabitEthernet2/0/0] quit [RouterA] display vrrp GigabitEthernet2/0/0 | Virtual Router 1 State : Master Virtual IP : 10.1.1.111 Master IP : 10.1.1.1...
  • Page 209: Example For Configuring A Vrrp Group In Multi-Gateway Load Balancing Mode

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration return Configuration file of RouterC sysname RouterC interface GigabitEthernet1/0/0 undo portswitch ip address 192.168.1.2 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 192.168.2.2 255.255.255.0 interface GigabitEthernet3/0/0 undo portswitch ip address 172.16.1.1 255.255.255.0...
  • Page 210 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-13 Networking diagram for configuring VRRP in multi-gateway load balancing mode VRRP VRID 1 RouterA Virtual IP address: VRID 1: Master 10.1.1.111 VRID 2: Backup GE1/0/0 HostA 192.168.1.1/24...
  • 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 213: Example For Configuring Association Between Vrrp And Bfd To Implement A Rapid Active/Standby Switchover

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration network 192.168.1.0 0.0.0.255 network 10.1.1.0 0.0.0.255 return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 192.168.2.1 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.111...
  • 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 216 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA] display vrrp GigabitEthernet2/0/0 | Virtual Router 1 State : Master Virtual IP : 10.1.1.3 Master IP : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120...
  • Page 217 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Virtual IP : 10.1.1.3 Master IP : 10.1.1.2 PriorityRun : 140 PriorityConfig : 100 MasterPriority : 140 Preempt : YES Delay Time : 0 s TimerRun : 1 s...
  • Page 218: Example For Configuring Association Between Vrrp And The Interface Status

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Configuration Files Configuration file of RouterA sysname RouterA interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.1.1 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.3 vrrp vrid 1 priority 120 vrrp vrid 1 preempt-mode timer delay 20 bfd atob bind peer-ip 10.1.1.2 interface GigabitEthernet2/0/0...
  • 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 223: Example For Configuring Association Between Vrrp And Bfd To Monitor The Uplink Status

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration undo portswitch ip address 192.168.2.1 255.255.255.0 interface GigabitEthernet2/0/0 undo portswitch ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.3 ospf 1 area 0.0.0.0 network 192.168.2.0 0.0.0.255 network 10.1.1.0 0.0.0.255...
  • 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.
  • Page 226 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA] display vrrp GigabitEthernet1/0/0 | Virtual Router 1 State : Master Virtual IP : 10.1.1.10 Master IP : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120...
  • Page 227 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterB] display vrrp GigabitEthernet1/0/0 | Virtual Router 1 State : Master Virtual IP : 10.1.1.10 Master IP : 10.1.1.2 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 100...
  • Page 228 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Create time : 2012-05-22 17:37:00 Last change time : 2012-05-22 17:37:04 ----End Configuration Files Configuration file of RouterA sysname RouterA interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.1.1 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.10...
  • Page 229: Example For Configuring Association Between Vrrp And Nqa To Monitor The Uplink Status

    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.
  • Page 233 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Send operation times: 5 Receive response times: 0 Completion:failed RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:5 System busy operation number:0...
  • Page 234 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Virtual IP : 10.1.1.10 Master IP : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 20 s TimerRun : 1 s...
  • Page 235 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration network 192.168.1.0 0.0.0.255 network 10.1.1.0 0.0.0.255 return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.10 interface GigabitEthernet2/0/0 undo portswitch ip address 192.168.2.1 255.255.255.0...
  • Page 236: Example For Configuring Association Between Vrrp And Routing To Monitor The Uplink Status

    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 242 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration interface GigabitEthernet1/0/0 undo portswitch ip address 10.1.1.1 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.10 vrrp vrid 1 priority 120 vrrp vrid 1 preempt-mode timer delay 20 vrrp vrid 1 track ip route 172.16.1.0 255.255.255.0 reduced 40...
  • Page 243: Example For Configuring Vrrp On A Dot1Q Termination Sub-Interface

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration interface GigabitEthernet2/0/0 undo portswitch ip address 172.16.2.1 255.255.255.0 isis enable 2 return Configuration file of RouterE sysname RouterE isis 1 is-level level-1 network-entity 10.0000.0000.0003.00 isis 2 is-level level-1 network-entity 20.0000.0000.0003.00...
  • 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...
  • Page 250: Example For Configuring Vrrp On A Qinq Termination Sub-Interface

    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 252 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [LSW3] interface gigabitethernet 1/0/1 [LSW3-GigabitEthernet1/0/1] port link-type trunk [LSW3-GigabitEthernet1/0/1] port trunk allow-pass vlan 20 [LSW3-GigabitEthernet1/0/1] quit # Configure LSW1. <Huawei> system-view [Huawei] sysname LSW1 [LSW1] vlan 100...
  • Page 253 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA] display vrrp GigabitEthernet2/0/0.1 | Virtual Router 1 State : Master Virtual IP : 10.1.1.111 Master IP : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120...
  • 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...
  • Page 258 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration ip address 10.1.2.1 255.255.255.0 vrrp vrid 2 virtual-ip 10.1.2.111 vrrp vrid 2 priority 120 vrrp vrid 2 preempt-mode timer delay 20 ospf 1 area 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.1.2.0 0.0.0.255...
  • Page 259: Example For Configuring A Vrrp6 Group In Active/Standby Mode

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration interface GigabitEthernet1/0/0 port vlan-stacking vlan 10 stack-vlan 100 interface GigabitEthernet1/0/1 port vlan-stacking vlan 20 stack-vlan 100 interface GigabitEthernet1/0/2 port link-type trunk port trunk allow-pass vlan 100 interface GigabitEthernet1/0/3...
  • Page 260 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration Figure 6-21 Networking diagram for configuring a VRRP6 group in active/standby mode VRRP6 VRID 1 RouterA Virtual IP address: Master FC00::100/64 GE2/0/0 GE1/0/0 FC00::1/64 2002::1/64 GE1/0/0 GE1/0/0...
  • Page 261 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [Switch-GigabitEthernet1/0/0] quit [Switch] interface gigabitethernet 2/0/0 [Switch-GigabitEthernet2/0/0] port hybrid pvid vlan 10 [Switch-GigabitEthernet2/0/0] port hybrid untagged vlan 10 [Switch-GigabitEthernet2/0/0] quit # Configure OSPF between RouterA, RouterB, and RouterC. RouterA is used as an example.
  • Page 262 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration FC00::100 Master IP : FE80::218:82FF:FED3:2AF3 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 s TimerRun : 100 cs TimerConfig...
  • Page 263 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration [RouterA] display vrrp6 GigabitEthernet2/0/0 | Virtual Router 1 State : Master Virtual IP : FE80::1 FC00::100 Master IP : FE80::218:82FF:FED3:2AF3 PriorityRun : 120 PriorityConfig : 120 MasterPriority...
  • Page 264 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration return Configuration file of RouterB sysname RouterB ipv6 ospfv3 1 router-id 2.2.2.2 interface GigabitEthernet1/0/0 undo portswitch ipv6 enable ipv6 address 2001::1/64 ospfv3 1 area 0.0.0.0 interface GigabitEthernet2/0/0...
  • Page 265: Example For Configuring A Vrrp6 Group In Load Balancing Mode

    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...
  • Page 269 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration return Configuration file of RouterB sysname RouterB ipv6 ospfv3 1 router-id 1.1.1.1 interface GigabitEthernet1/0/0 undo portswitch ipv6 enable ipv6 address 2001::1/64 ospfv3 1 area 0.0.0.0 interface GigabitEthernet2/0/0...
  • Page 270: Common Configuration Errors

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 6 VRRP Configuration vlan batch 10 interface GigabitEthernet1/0/0 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.10 Common Configuration Errors...
  • Page 271: Vrrp Group Status Changes Frequently

    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...
  • Page 273: Efm Configuration

    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.
  • Page 274: Introduction To Efm

    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.
  • Page 276: Basic Functions

    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...
  • Page 280: Fault Information Advertisement Between Efm And Other Modules

    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.
  • Page 282: Configuration Task Summary

    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.
  • Page 283: Default Configuration

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Scenario Description Task Configure remote fault Remote fault indication is 7.5.4 Configuring Remote indication used to detect remote device Fault Indication faults and monitor Ethernet performance. Configure EFM association EFM can be associated with 7.5.5 Configuring EFM...
  • Page 284: Optional) Setting The Efm Working Mode On An Interface

    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.
  • Page 285: Optional) Setting Efm Oampdu Parameters

    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.
  • Page 286: Enabling Efm On An Interface

    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.
  • Page 287: Checking The Configuration

    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.
  • Page 289: Optional) Associating A Minor Link Event With An Interface

    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.
  • Page 290: Checking The Configuration

    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.
  • Page 292: Optional) Configure A Receiving Device To Ignore Remote Loopback Requests

    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.
  • Page 293: Checking The Configuration

    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.
  • Page 295: Configuring Efm Association

    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...
  • Page 298: Configuring Association Between Efm And Bfd

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

    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 301 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Procedure Step 1 Configure basic EFM functions. # Enable EFM on CE1 globally. <Huawei> system-view [Huawei] sysname CE1 [CE1] efm enable # Enable EFM on Eth1/0/2 of CE1.
  • 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 305: Example For Configuring Association Between Efm And Bfd

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration efm enable interface Ethernet2/0/1 efm mode passive efm enable oam-mgr oam-bind ingress efm interface Ethernet2/0/1 trigger if-down egress interface Ethernet2/0/2 oam-bind ingress interface Ethernet2/0/2 egress efm interface Ethernet2/0/1...
  • 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.
  • Page 309 Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration Configuration Files Configuration file of CE1 sysname CE1 efm enable interface GigabitEthernet1/0/1 efm enable return Configuration file of PE3 sysname PE3 enable interface GigabitEthernet1/0/1 enable interface GigabitEthernet1/0/2 undo portswitch ip address 10.1.1.1...
  • Page 310: References

    Huawei AR530&AR550 Series Industrial Switch Routers Configuration Guide - Reliability 7 EFM Configuration 255.255.255.0 interface NULL0 bfd pe3tope4 bind peer-ip 10.1.1.1 interface GigabitEthernet1/0/2 discriminator local discriminator remote commit oam- oam-bind ingress efm interface GigabitEthernet1/0/1 egress bfd-session oam-bind ingress bfd-session 2 egress efm interface...

This manual is also suitable for:

Ar550 series

Table of Contents