Page 1
Huawei AR2200-S Series Enterprise Routers V200R001C01 Configuration Guide - Reliability Issue Date 2012-01-06 HUAWEI TECHNOLOGIES CO., LTD.
Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Reliability supported by the AR2200-S device.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability Contents Contents About This Document........................ii 1 Interface Backup Configuration....................1 1.1 Interface Backup Overview..........................2 1.2 Interface Backup Features Supported by the AR2200-S..................3 1.3 Configuring Interface Backup in Active/Standby Mode..................5 1.3.1 Configure Primary and Backup Interfaces....................6 1.3.2 Configuring Association Between Interface Backup and NQA..............7...
Page 6
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability Contents 1.6.10 Example for Configuring Association Between Interface Backup and Routing on an ISDN Network ..................................58 2 VRRP Configuration........................66 2.1 VRRP Overview...............................68 2.2 VRRP Features Supported by the AR2200-S....................68 2.3 Configuring a VRRP Backup Group........................69 2.3.1 Establishing the Configuration Task.......................69...
Page 7
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability Contents 2.10.1 Monitoring the VRRP Running......................92 2.11 Configuration Examples..........................92 2.11.1 Example for Configuring VRRP in Master/Backup Mode..............92 2.11.2 Example for Configuring VRRP in Load Balancing Mode..............97 2.11.3 Example for Associating BFD with VRRP..................100 2.11.4 Example for Associating a VRRP Backup Group with an NQA Test Instance........105...
Page 8
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability Contents 3.7.5 Checking the Configuration........................161 3.8 Globally Configuring the Destination Port Number for the Multi-Hop BFD Control Packet.......162 3.8.1 Establishing the Configuration Task.....................162 3.8.2 Globally Configuring the Destination Port Number................163 3.8.3 Checking the Configuration........................163 3.9 Configuring Association Between BFD Status and Interface Status.............164...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 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 the traffic is heavy.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.1 Interface Backup Overview Interface backup ensures smooth services. When an interface on a router is faulty or the traffic is heavy, interface backup allows the router to quickly switch services on the faulty interface to other available interfaces.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.2 Interface Backup Features Supported by the AR2200-S The AR2200-S supports two interface backup modes: active/standby mode and load balancing mode. Active/Standby Mode The AR1200 supports interface backup and association mode.
Page 12
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Figure 1-2 Association mode RouterC RouterD Interface1 Interface2 RouterA RouterB 3G/ISDN/IP Primary link Backup link Table 1-1 shows the usage scenarios of the three association modes. Table 1-1 Usage scenario of association modes...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Association Mode Usage Scenario Association between interface backup and This mode is used when route reachability on routing the primary link needs to be monitored. When the routing entry of the primary link is deleted or becomes inactive, the backup interface starts to transmit traffic.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.3.1 Configure Primary and Backup Interfaces After interface backup is configured, the backup interface starts to transmit services if the primary interface fails. Applicable Environment In active/standby mode, the link status between two routers can be detected. When the primary link is working properly, the backup link does not transmit services.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration The command output shows that GigabitEthernet3/0/0 functions as the primary interface and is Up, and GigabitEthernet1/0/0 and GigabitEthernet2/0/0 are backup interfaces and in standby state. The priority of GigabitEthernet1/0/0 is 30 and the priority of GigabitEthernet2/0/0 is 20.
Page 16
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration NOTE Assume that the primary and backup links use static routes. When the primary link is faulty, data traffic will be lost because routes cannot be switched immediately. To speed up data traffic switching, set the priority of the backup link to be higher than that of the primary link or configure NQA for static routes.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 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 ---------------------------------------------------------------------------- Below is track IP route information: Destination/Mask Route-State...
Page 18
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration link is leased as the backup link. After association between interface backup and BFD is configured on the backup interface of RouterA, if the BFD session detects that the route on the primary link is unreachable, it requests RouterA to start the backup interface Interface2 to transmit services.
Page 19
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration system-view 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...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 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 test GigabitEthernet2/0/0 ---------------------------------------------------------------------------- Below is track IP route information:...
Page 21
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Pre-configuration Tasks Before configuring association between interface backup and routing, complete the following tasks: Configuring routing protocols on the primary link and backup link to ensure connectivity...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.4.2 Specifying a Backup Interface After a backup interface is specified, it starts to transmit services with the primary interface if the primary interface is overloaded. Context In load balancing mode, traffic is load balanced among multiple interfaces.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration The primary interface view is displayed. Step 3 Run: standby bandwidth size The maximum bandwidth of the primary interface is set. By default, the primary interface uses the actual physical bandwidth provided by the system as the maximum bandwidth.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Procedure Run the display standby state command to check the status of the primary and backup interfaces. ----End Example Run the display standby state command to view the configuration and status of the primary interface and backup interfaces, including the status of primary and backup interfaces, backup status, and backup status flag, priority of the backup interface, and load balancing status.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.6.1 Example for Configuring Interface Backup in Active/Standby Mode to Implement Ethernet Link Backup This section provides an example for configuring interface backup in active/standby mode. If the primary interface is faulty, the backup interface is started to transmit services.
Page 27
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration IP addresses and subnet masks of interfaces Priorities of backup interfaces Procedure Configure static routes. # On RouterA, configure a static route to the network segment where HostB is located.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 ip address 2.2.2.2 255.255.255.0 interface GigabitEthernet2/0/0 ip address 1.1.1.2 255.255.255.0 interface GigabitEthernet3/0/0 ip address 3.3.3.2 255.255.255.0 ip route-static 192.168.1.0 24 2.2.2.1 ip route-static 192.168.1.0 24 1.1.1.1...
Page 32
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration Roadmap The configuration roadmap is as follows: Configure C-DCC on RouterA and set the dialer numbers to 660210 and 660208 so that RouterA can initiate calls to and receive calls from RouterB. In addition, each configured dialer number acts as a backup to the other.
Page 35
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Figure 1-10 Networking diagram of link backup configurations in interface backup mode on a 3G network ATM3/0/0 DSLAM Cellular0/0/0 RouterA Access Primary link network Backup link Configuration Roadmap Configure an enterprise intranet, specify RouterA as an egress gateway of the enterprise, and configure RouterA to assign IP addresses to users in the enterprise.
Page 36
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterA] interface vlanif 123 [RouterA-Vlanif123] ip address 192.168.100.1 255.255.255.0 [RouterA-Vlanif123] dhcp select global [RouterA-Vlanif123] quit [RouterA] ip pool lan [RouterA-ip-pool-lan] gateway-list 192.168.100.1 [RouterA-ip-pool-lan] network 192.168.100.0 mask 24...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration Files # Configuration file of RouterA sysname RouterA vlan batch 123 dhcp enable acl number 3002 rule 5 permit ip source 192.168.100.0 0.0.0.255 ip pool lan gateway-list 192.168.100.1...
Page 38
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Interface backup in common active/standby mode monitors the status of the physical link between two directly connected routers. You can configure association between interface backup and NQA to detect the status of the upstream link. On RouterA, configure an NQA test instance to detect connectivity for the primary link.
Page 39
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterA] interface gigabitethernet1/0/0 [RouterA-GigabitEthernet1/0/0] ip address 2.1.1.1 255.255.255.0 [RouterA-GigabitEthernet1/0/0] quit [RouterA] interface gigabitethernet2/0/0 [RouterA-GigabitEthernet2/0/0] ip address 3.1.1.1 255.255.255.0 [RouterA-GigabitEthernet2/0/0] quit # On RouterA, configure static routes to RouterD's interfaces on 4.1.1.0/24 and 5.1.1.0/24.
Page 40
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Below is NQA Information: Instance Name BackupInterface State user test GigabitEthernet2/0/0 STANDBY Below is BFD Information: Instance Name BackupInterface State ------------------------------------------------------------------------------ Run the shutdown command on GE 2/0/0 of RouterB to simulate a link fault. Run the display nqa results test-instance user test command on RouterA.
Page 41
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration test GigabitEthernet2/0/0 ------------------------------------------------------------------------------ Below is BFD Information: Instance Name BackupInterface State Run the undo shutdown command on GE2/0/0 of RouterB. After GE2/0/0 goes to Up, wait 20 seconds 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.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration return Configuration file of RouterB sysname RouterB interface GigabitEthernet1/0/0 ip address 2.1.1.2 255.255.255.0 interface GigabitEthernet2/0/0 ip address 4.1.1.1 255.255.255.0 return Configuration file of RouterC sysname RouterC interface GigabitEthernet1/0/0 ip address 3.1.1.2 255.255.255.0...
Page 43
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Figure 1-12 Example for configuring association between interface backup and BFD GE1/0/0 GE2/0/0 2.1.1.2/24 4.1.1.1/24 GE1/0/0 GE1/0/0 RouterB 2.1.1.1/24 4.1.1.2/24 RouterA RouterD GE2/0/0 GE2/0/0 RouterC 3.1.1.1/24 5.1.1.2/24...
Page 44
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterA] ip route-static 4.1.1.0 255.255.255.0 2.1.1.2 preference 80 [RouterA] ip route-static 5.1.1.0 255.255.255.0 3.1.1.2 preference 60 # On RouterD, configure static routes to RouterA's interfaces on 2.1.1.0/24 and 3.1.1.0/24.
Page 45
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Total UP/DOWN Session Number : 1/0 # View the BFD session status and backup interface status on RouterA. The command output shows that the BFD session status is OK and the status of GE2/0/0 is STANDBY.
Page 46
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration After 10 seconds, run the display standby state command on RouterA. The command output shows that the BFD session status is ERR, and the status of backup interface GigabitEthernet2/0/0 is Up, indicating that the backup interface is started.
Page 47
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration Files Configuration file of RouterA sysname RouterA interface GigabitEthernet1/0/0 ip address 2.1.1.1 255.255.255.0 interface GigabitEthernet2/0/0 ip address 3.1.1.1 255.255.255.0 standby track bfd-session session-name test ip route-static 4.1.1.0 255.255.255.0 2.1.1.2 preference 80 ip route-static 5.1.1.0 255.255.255.0 3.1.1.2 preference 60...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 1.6.7 Example for Configuring Association Between Interface Backup and Routing to Implement Ethernet Link Backup This section describes how to configure association between interface backup and routing to implement fast switching between the primary link and backup link.
Page 49
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration IP addresses and subnet masks of interfaces on RouterA, RouterB, RouterC, and RouterD IS-IS network entity titles (NETs) of RouterA, RouterB, and RouterD: 10.0000.0000.0001.00 (level 1), 10.0000.0000.0002.00, and 10.0000.0000.0003.00 Default route on the backup link Destination IP address of the route associated with interface backup: 4.1.1.0/24...
Page 50
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Total LSP(s): 5 *(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload Run the display isis route command to view the routing information on RouterA.
Page 51
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 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 ---------------------------------------------------------------------------- Below is track IP route information:...
Page 52
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration State Run the undo shutdown command on GigabitEthernet2/0/0 of RouterB to make the interface Up. After 10 seconds, run the display standby state command on RouterA. The command output shows that the route status is OK and backup interface GigabitEthernet2/0/0 has switched to the standby state.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration isis 1 network-entity 10.0000.0000.0002.00 interface GigabitEthernet1/0/0 ip address 2.1.1.2 255.255.255.0 isis enable 1 interface GigabitEthernet2/0/0 ip address 4.1.1.1 255.255.255.0 isis enable 1 return Configuration file of RouterC...
Page 54
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Figure 1-14 Networking diagram of association between interface backup and NQA GE1/0/0 GE1/0/0 2.1.1.2/24 4.1.1.1/24 RouterC RouterD GE1/0/0 GE1/0/0 Headquarters of Branch of 2.1.1.1/24 4.1.1.2/24 company A...
Page 55
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration <Huawei> system-view [Huawei] sysname RouterB [RouterB] interface gigabitethernet1/0/0 [RouterB-GigabitEthernet1/0/0] ip address 4.1.1.2 255.255.255.0 [RouterB-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterC. <Huawei> system-view...
Page 56
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterB] ip route-static 3.1.1.0 255.255.255.0 Serial 1/0/0:15 preference 60 Configure an NQA test instance with the destination address of 4.1.1.2/24. # Configure the ICMP NQA test instance on RouterA.
Page 57
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Instance Name BackupInterface State user test Serial 1/0/0:15 STANDBY Run the shutdown command on GigabitEthernet1/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 58
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Instance Name BackupInterface State user test Serial 1/0/0:15 Run the undo shutdown command on GigabitEthernet1/0/0 of RouterB to make the interface Up. After 10s, run the display standby state command on RouterA. The command output shows that the route status is OK and backup interface Serial 1/0/0:15 has switched to the standby state.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration interface GigabitEthernet1/0/0 ip address 2.1.1.1 255.255.255.0 ip route-static 4.1.1.0 255.255.255.0 2.1.1.2 preference 80 ip route-static 3.1.1.0 255.255.255.0 Serial 1/0/0:15 preference 60 nqa test-instance user test test-type icmp destination-address ipv4 4.1.1.2...
Page 60
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Networking Requirements As shown in Figure 1-15, the egress gateway RouterA in the headquarters of company A connects to the IP network through GE1/0/0. The link between GE1/0/0 and the IP network is used as the primary link, and the link between PRI1/0/0:15 (ISDN interface) and the ISDN is used as the backup link.
Page 61
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Procedure Implement connectivity at the network layer. # Assign an IP address to the interface of RouterA. <Huawei> system-view [Huawei] sysname RouterA [RouterA] interface gigabitethernet1/0/0 [RouterA-GigabitEthernet1/0/0] ip address 2.1.1.1 255.255.255.0 [RouterA-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterB.
Page 62
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterB] controller e1 1/0/0 [RouterB-E1 1/0/0] pri-set [RouterB-E1 1/0/0] quit # Assign an IP address to PRI1/0/0:15, enable C-DCC, and configure the dialer number. [RouterB] interface Serial 1/0/0:15 [RouterB-Serial1/0/0:15] ip address 3.1.1.2 24...
Page 63
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Session Init TmrID Session WTR TmrID PDT Index : FSM-0|RCV-0|IF-0|TOKEN-0 Session Description ------------------------------------------------------------------------------ Total UP/DOWN Session Number : 1/0 # View the BFD session status and backup interface status on RouterA. The command output shows that the BFD session status is OK and the status of Serial 1/0/0:15 is STANDBY.
Page 64
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Proc interface status : Disable Process PST : Disable WTR Interval (ms) Active Multi Last Local Diagnostic : No Diagnostic Bind Application : No Application Bind Session TX TmrID...
Page 65
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration ---------------------------------------------------------------------------- Below is track BFD information: Bfd-Name Bfd-State BackupInterface State test Serial 1/0/0:15 STANDBY ---------------------------------------------------------------------------- Below is track IP route information: Destination/Mask Route-State BackupInterface State ------------------------------------------------------------------------------ Below is track NQA...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration pri-set interface Serial1/0/0:15 link-protocol ppp ip address 3.1.1.2 255.255.255.0 dialer enable-circular dialer-group 2 dialer route ip 3.1.1.1 600501 dialer-rule dialer-rule 2 ip permit interface GigabitEthernet1/0/0 ip address 4.1.1.2 255.255.255.0 interface Serial 1/0/0:15 ip address 3.1.1.2 255.255.255.0...
Page 67
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Figure 1-16 Networking diagram of association between interface backup and routing GE1/0/0 GE1/0/0 2.1.1.2/24 4.1.1.1/24 RouterC RouterD GE1/0/0 GE1/0/0 Headquarters of Branch of 2.1.1.1/24 4.1.1.2/24 company A...
Page 68
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration [RouterB] interface gigabitethernet1/0/0 [RouterB-GigabitEthernet1/0/0] ip address 4.1.1.2 255.255.255.0 [RouterB-GigabitEthernet1/0/0] quit # Assign an IP address to the interface of RouterC. <Huawei> system-view [Huawei] sysname RouterC [RouterC] interface gigabitethernet1/0/0 [RouterC-GigabitEthernet1/0/0] ip address 2.1.1.2 255.255.255.0...
Page 69
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration 10.2.1.0/24 Stub 2.1.1.2 10.10.10.2 0.0.0.0 Total Nets: Intra Area: 7 Inter Area: 0 ASE: 0 NSSA: 0 Configure C-DCC on RouterA. # Create dialer group 1 and configure a dialer rule in the group.
Page 70
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Reply from 4.1.1.2: bytes=56 Sequence=4 ttl=255 time=2 Reply from 4.1.1.2: bytes=56 Sequence=5 ttl=255 time=1 --- 4.1.1.2 ping statistics 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 1/2/5 # Check the status of the backup interface and associated route on RouterA.
Page 71
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 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 Information:...
Page 72
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration Files Configuration file of RouterA sysname RouterA controller E1 1/0/0 pri-set interface Serial1/0/0:15 link-protocol ppp ip address 3.1.1.1 255.255.255.0 dialer enable-circular dialer-group 1 dialer route ip 3.1.1.2 600502 standby track ip route 4.1.1.0 255.255.255.0...
Page 73
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 1 Interface Backup Configuration Configuration file of RouterC sysname RouterC interface GigabitEthernet1/0/0 ip address 2.1.1.2 255.255.255.0 ospf area 0.0.0.0 network 2.1.1.0 0.0.0.255 return Configuration file of RouterD sysname RouterD interface GigabitEthernet1/0/0 ip address 4.1.1.1 255.255.255.0...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration VRRP Configuration About This Chapter A VRRP backup group allows a backup to take over network traffic from a master if the master fails. 2.1 VRRP Overview The Virtual Router Redundancy Protocol (VRRP) groups multiple routers into one virtual router, and sets the default gateway address as the IP address of the virtual router.
Page 75
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration By tracking the BFD session status, NQA test instance status, and route status, a VRRP backup group implements VRRP switchovers rapidly. 2.10 Maintaining VRRP This section describes how to maintain VRRP. Detailed operations include monitoring the VRRP operation status and debugging VRRP when a fault occurs.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration 2.1 VRRP Overview The Virtual Router Redundancy Protocol (VRRP) groups multiple routers into one virtual router, and sets the default gateway address as the IP address of the virtual router.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Load Balancing Mode In load balancing mode, two or more backup groups are created. Multiple backup groups undertake services at the same time. In load balancing mode, the VRRP backup groups have the following features: On the AR2200-S, the router can join several VRRP backup groups and has different priorities in different backup groups.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Applicable Environment The VRRP backup group works in master/backup mode or load balancing mode. The master/backup switchover is a basic function provided by VRRP. The master/backup mode is as follows: –...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: vrrp vrid virtual-router-id virtual-ip virtual-address A backup group is created and its virtual IP address is specified.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Context In master/backup mode, only one backup group is created. The routers have different priorities in this backup group. The router with the highest priority serves as the master and other routers are backups.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Applicable Environment VRRP tracking interface status provides the backup function when the interface where the VRRP backup group resides is faulty or when another interface on the router is faulty.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration vrrp vrid virtual-router-id track interface interface-type interface-number [ increased value-increased | reduced value-reduced ] A interface to be tracked is specified. l By default, when the tracked interface is Down, the priorities of routers in the tracking backup group decrease by 10.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration 2.5 Configuring VRRP Applications in VLANIF By configuring a VRRP backup group on VLANIF interfaces, you can perform the fast VRRP switchover. 2.5.1 Establishing the Configuration Task Before configuring a VRRP backup group on VLANIF interfaces, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Step 2 Run: interface vlanif vlan-id The VLANIF interface view is displayed. Step 3 Run: vrrp vrid virtual-router-id virtual-ip virtual-address A backup group is created and its virtual IP address is specified.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Example After the configuration, run the display vrrp interface vlanif command, and you can view the VRRP status on the VLANIF interface. <Huawei> display vrrp interface vlanif 1...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration If they are the same, the receiver considers the received VRRP packet valid. Otherwise, the receiver considers the received VRRP packet illegal and discards it, and then reports a trap message to the network management system.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration The devices in a VRRP backup group must be configured with the same authentication mode; otherwise, the negotiation between the master and backup routers cannot succeed. ----End 2.6.3 Checking the Configuration By viewing the authentication mode and authentication key of VRRP packets, you can check whether the configurations are successful.
IP address to check the network connectivity. By prohibiting the system from checking number of hops in VRRP packets, you can improve the compatibility of Huawei routers with different vendors' routers. Pre-configuration Tasks Before adjusting and optimizing VRRP, complete the following tasks:...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Context The master router sends VRRP advertisement packets at intervals to other backup routers. If the backup routers do not receive VRRP advertising messages when the timer times out, the backup router with the highest priority becomes the master router automatically.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Run the vrrp vrid virtual-router-id preempt-mode disable command to configure routers in the backup group with the non-preemption mode. In the non-preemption mode, if a router in the backup group becomes the master router and works properly, other routers do not become the master router even if they are configured with higher priorities later.
Defined in RFC 3768, the system detects number of hops in received VRRP packets. The packets whose number of hops is not 255 are discarded. In certain networking environments where Huawei devices and non-Huawei devices work together, checking the number of hops in VRRP packets may result in discarding VRRP packets incorrectly.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Run the undo vrrp gratuitous-arp timeout command in the system view to restore the default timeout period of sending gratuitous ARP packets. Run the vrrp gratuitous-arp timeout disable command in the system view to disable the master router to send gratuitous ARP packets.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Applicable Environment Currently, VRRPv2 is adopted. You can undertake this configuration task to upgrade the VRRP version as required. Pre-configuration Tasks Before configuring VRRP version upgrade, complete the following tasks:...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Procedure Run the display vrrp protocol-information command to view VRRP version information. ----End Example After the configuration, run the display vrrp protocol-information command, and you can view that the VRRP protocol version is v3 and the mode for sending Advertisement packets is send v3 only.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Data Preparation To configure a fast VRRP switchover, you need the following data. Data Backup group ID The local and remote BFD session identifier 2.9.2 Tracking the BFD Session Status By tracking the status of a BFD session, a VRRP backup group can perform a fast VRRP switchover if the BFD session status changes.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration A VRRP backup group can track a maximum of eight BFD sessions and eight interfaces simultaneously. ----End 2.9.3 Associating a VRRP Backup Group with an NQA Test Instance After being associated with a Network Quality Analysis (NQA) test instance, a VRRP backup group can track the status of the NQA test instance.
Before associating a VRRP backup group with an NQA test instance, ensure that the NQA test instance is successfully created. For information about how to create an NQA test instance, see "NQA Configuration" in the Huawei AR2200-S Series Enterprise Routers Configuration Guide - System Management.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration or becomes inactive, the route management (RM) module notifies the VRRP backup group of the change. After receiving the notification, the VRRP backup group changes its master device's VRRP priority, and performs a master/backup switchover.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration PriorityRun : 140 PriorityConfig : 140 MasterPriority : 160 Preempt : YES Delay Time : 0 TimerRun : 1 s TimerConfig : 1 s Auth Type : NONE...
Page 101
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Router A and Router B form a VRRP backup group that serves as the default gateway for Host A. Normally, Router A serves as the gateway. When Router A fails, Router B serves as the gateway.
Page 103
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Auth Type : NONE Virtual Mac 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Create time : 2010-06-22 17:33:00 Last change time : 2010-06-22 17:33:06 Running the display ip routing-table command on Router A and Router B, you can view a direct route with the destination address being the virtual IP address on Router A, and an OSPF route to the same destination on Router B.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration interface GigabitEthernet2/0/0 ip address 192.168.2.2 255.255.255.0 interface GigabitEthernet3/0/0 ip address 20.1.1.1 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 network 20.1.1.0 0.0.0.255 return 2.11.2 Example for Configuring VRRP in Load Balancing Mode...
Page 106
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Configuration Roadmap The configuration roadmap is as follows: Create two backup groups on the GE 2/0/0 interface on Router A. Router A is the master router in the backup group 1 and the backup in group 2.
Page 107
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Tracert Host B from Host A and Host C. Packets from Host A to Host B pass through Router A and Router C. Packets from Host C to Host B pass through Router A and Router C. That is, the load balancing is enabled for Router A and Router B to share the internal traffic.
Page 109
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration When a link is faulty, VRRP packets will be sent after a delay because of VRRP negotiation. VRRP for BFD can speed up switchovers in the case of a link fault. When the primary interface or a link is Down, the backup device becomes the master to transmit service traffic.
Page 110
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Create a VRRP group on GE2/0/0 of RouterA and RouterB. RouterA is the master and RouterB is the backup. When the link of RouterA is faulty, services are switched to the link of RouterB.
Page 111
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration [RouterA-bfd-session-atob] discriminator remote 2 [RouterA-bfd-session-atob] min-rx-interval 50 [RouterA-bfd-session-atob] min-tx-interval 50 [RouterA-bfd-session-atob] commit [RouterA-bfd-session-atob] quit # Configure a BFD session on Router B. [RouterB] bfd [RouterB-bfd] quit [RouterB] interface gigabitethernet 2/0/0 [RouterB-GigabitEthernet2/0/0] ip address 10.1.1.2 24...
Page 112
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration MasterPriority : 160 Preempt : YES Delay Time : 0 s TimerRun : 1 s TimerConfig : 1 s Auth Type : NONE Virtual Mac 0000-5e00-0110 Check TTL...
Page 114
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration the failure. After receiving the notification, a master/backup VRRP switchover is triggered, and the backup device with the highest priority takes over traffic from the master device. Networking Requirements A VRRP-enabled AR2200-S can track a local forwarding interface connected to a network, but not an interface along a network-side link connected to the local forwarding interface.
Page 115
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Configuration Roadmap The configuration roadmap is as follows: Configure IP addresses for interfaces to ensure connectivity of links. Configure a VRRP backup group on Router A and Router B. Ensure that Router A is the master and Router B is the backup.
Page 116
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration [RouterA-GigabitEthernet1/0/0] quit # Configure a VRRP backup group with VRID of 1 on Router B. [RouterB] interface gigabitethernet 1/0/0 [RouterB-GigabitEthernet1/0/0] vrrp vrid 1 virtual-ip 10.1.1.10 [RouterB-GigabitEthernet1/0/0] quit After completing the preceding configurations, run the display vrrp command on Router A and Router B.
Page 117
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Sum/Square-Sum Completion Time: 240/19800 Last Good Probe Time: 2011-04-19 16:38:38.7 Lost packet ratio: 0 % Step 4 Associate the VRRP backup group with the NQA test instance. [RouterA] interface gigabitethernet 1/0/0 [RouterA-GigabitEthernet1/0/0] vrrp vrid 1 track nqa admin test1 reduced 40 Step 5 Configure the switch.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration 2.11.5 Example for Associating a VRRP Backup Group with a Route In this example, a VRRP backup group is configured to track the uplink route connected to a network.
Page 121
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Configure IS-IS on Router A and Router C to ensure that the routes between them are reachable. Associate Router A with the route to Router C's interface connected to the network. If the tracked route is withdrawn or becomes inactive, Router A reduces its VRRP priority value by 40 and triggers a master/backup VRRP switchover.
Page 124
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration # Associate the VRRP backup group with the route of the link connected to the network on Router A and allow Router A to reduce its VRRP priority value by 40 if the tracked route is withdrawn or becomes inactive.
Page 125
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Run the undo shutdown command on GE 1/0/0 of Router C. Wait 20 seconds after GE 1/0/0 goes Up, and run the display vrrp command on Router A to view the VRRP status. The VRRP status of Router A is Master.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Configuration file of Router B sysname RouterB isis 1 is-level level-1 network-entity 20.0000.0000.0001.00 interface GigabitEthernet1/0/0 ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.10 interface GigabitEthernet2/0/0 ip address 192.168.2.1 255.255.255.0...
Page 127
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration RouterA and RouterB constitute a VRRP group to function as the default gateway of Host. RouterA functions as the gateway. When RouterA fails, RouterB becomes the gateway. After RouterA recovers, it preempts to be the master within 20 seconds.
Page 128
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration ID and virtual IP address of the VRRP backup group Priority of each router in the backup group Tag value of each Dot1q termination subinterface Procedure Step 1 Configure interworking between the routers.
Page 129
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration After the preceding configurations are complete, RouterA and RouterB can obtain the routes to the peer IP address using OSPF, and can ping each other. The following shows the output for RouterA:...
Page 130
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 192.168.1.0/24 Direct 0 192.168.1.2 GigabitEthernet1/0/1 192.168.1.1/32 Direct 0 192.168.1.1 GigabitEthernet1/0/1 192.168.1.2/32 Direct 0 127.0.0.1 GigabitEthernet1/0/1 192.168.2.0/24 OSPF 192.168.2.1 GigabitEthernet1/0/0 192.168.2.0/30 Direct 0 192.168.2.2 GigabitEthernet1/0/0 192.168.2.1/32...
Page 131
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: Public Destinations : 11 Routes : 12 Destination/Mask Proto Cost Flags NextHop Interface 100.1.1.0/24 Direct 0 100.1.1.1...
Page 132
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Check TTL : YES Config type : normal-vrrp # Verify that RouterA can preempt to be the master when it recovers. Run the undo shutdown command on GE2/0/0.1 of RouterA. When GE2/0/0.1 recovers to the Up state, run the display vrrp command on RouterA to view VRRP status.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration network 192.168.2.0 0.0.0.255 network 100.1.1.0 0.0.0.255 return Configuration file of RouterB sysname RouterB interface GigabitEthernet2/0/0.1 control-vid 1 dot1q-termination dot1q termination vid 10 dot1q vrrp vid 10 ip address 100.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 100.1.1.111...
Page 134
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Networking Requirements As shown in Figure 2-9, Host visits the IP network using the default gateway. RouterA and RouterB constitute a VRRP group, which functions as the default gateway of the hosts.
Page 135
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 2 VRRP Configuration Configure OSPF to enable RouterA, RouterB, and RouterC to communicate with each other. Configure the QinQ termination subinterface on RouterA and RouterB. Create backup group 1 on GE2/0/0.1 of RouterA. Configure the highest priority for RouterA in the backup group to ensure that RouterA functions as the master.
By configuring a global destination port number for multi-hop BFD control packets, you can implement the interworking between the local device and a device running an earlier version, and between a Huawei device and a non-Huawei device. 3.9 Configuring Association Between BFD Status and Interface Status...
Page 145
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Association between BFD status and interface status implements fast route convergence. This function is applied to only to the single-hop BFD session bound to the default multicast IP address.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.1 Introduction to BFD BFD rapidly detects communication faults between a local device and its neighbors. This minimizes the impact of the faults on services. 3.1.1 BFD Overview BFD is a uniform detection mechanism for an entire network.
Page 147
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Dynamic BFD sessions triggered by a protocol A dynamic BFD session triggered by a protocol is established using a dynamically allocated local discriminator and a self-learned remote discriminator.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Physical interfaces: Layer 2 and Layer 3 Ethernet interfaces Logical interfaces: Layer 2 Eth-Trunk interfaces, Layer 3 Eth-Trunk interfaces, and Ethernet sub-interfaces (including Dot1q sub-interfaces and QinQ sub-interfaces)
Page 149
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration based on the link status, protocol status, and BFD status on the interface, and then reports the interface status to the application. Association between the BFD session status and interface status allows the system to change the BFD status on an interface in the IFNET module accordingly when the BFD session status of the interface changes.
BFD session status. NOTE For the detailed configuration of BFD for static routes, see "IP Static Route Configuration" in the Huawei AR2200-S Series Enterprise Routers Configuration Guide - IP Routing. BFD for Routing Protocols BFD uses local and remote discriminators to differentiate multiple BFD sessions.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Data Preparation To configure single-hop BFD, you need the following data. Data BFD configuration name Peer IP address, local interface type and number for the directly-connected link detected by BFD, and default multicast address used by BFD if it checks the physical...
Page 152
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Context Perform the following procedure on both ends of a link to be checked: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Select one of the following steps based on the type of link checked by BFD:...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration commit The configuration is committed. NOTE After necessary parameters, such as local and remote discriminators, are configured for a single-hop BFD session, the commit command must be run to make the configuration take effect.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.3.2 Enabling BFD Globally You can perform related BFD configurations only after enabling BFD globally. Context Perform the following procedure on the router: Procedure Step 1 Run: system-view The system view is displayed.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration l Run: discriminator local discr-value The local discriminator is configured. l Run: discriminator remote discr-value The remote discriminator is configured. NOTE The local discriminator of the local device corresponds to the remote discriminator of the remote device, and the remote discriminator of the local device corresponds to the local discriminator of the remote device.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Example After the configuration, run the display bfd session all verbose command. You can view that a multi-hop BFD session is established. The BFD session is Up. <RouterA> display bfd session all verbose...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Pre-configuration Tasks Before configuring a BFD session with automatically negotiated discriminators, complete the following tasks: Correctly connecting interfaces Correctly configuring an IP address for a Layer 3 interface Data Preparation To complete the configuration, you need the following data.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.5.2 Configuring the Delay for BFD Session Status Change to Up The delay for BFD session status change to Up is configured to prevent traffic loss in special scenarios.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Pre-configuration Tasks Before configuring the BFD session with the one-arm Echo function, complete the following tasks: Correctly connecting interfaces Correctly assigning an IP address to every Layer 3 interface Data Preparation To configure the BFD session with the one-arm Echo function, you need the following data.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.7.1 Establishing the Configuration Task Before adjusting BFD parameters, familiarize yourself with the applicable environment and complete pre-configuration task for a BFD session, and obtain data required for configuring the BFD session.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration The BFD session view is displayed. Step 3 Run: min-tx-interval interval The sending interval is set. By default, the minimum sending interval is 1000 milliseconds. Step 4 Run: min-rx-interval interval The receiving interval is set.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration description is a string of 1 to 51 characters. The default description of a BFD session is Null. You can run the undo description command to delete the description of a BFD session.
AR2200-S can be configured with destination port 3784 for the multi-hop BFD control packet. To interwork with the non-Huawei device, the device running the AR2200-S can be configured with destination port 4784 for the multi-hop BFD control packet.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Data Preparation To globally configure the destination port number for the multi-hop BFD control packet, you need the following data. Data Name of the device 3.8.2 Globally Configuring the Destination Port Number You can configure a global destination port number for multi-hop BFD control packets according to the specified devices running a distinct version or the specified vendor's devices.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Context NOTE You can view information about the BFD session and its statistics only after only after BFD session parameters are configured and the BFD session is set up successfully.
Page 173
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Applicable Environment As shown in Figure 3-2, RouterA and RouterB are connected on the same network segment. In the middle of the physical link resides Layer 2 transmission devices, so the physical link is divided into multiple segments.
Page 174
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration A default multicast IP address is bound to the BFD session. By default, BFD uses the multicast IP address 224.0.0.184. NOTE l Multiple BFD sessions exist on a path on some networks, for example, on the network where Layer 3 interfaces are connected through Layer 2 switching devices that support BFD.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration <Huawei> display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up Name : test -------------------------------------------------------------------------------- Local Discriminator : 22 Remote Discriminator : 11...
Page 176
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration BFD is globally enabled and the BFD view is displayed. Step 3 Run: default-ip-address ip-address A default multicast IP address is bound to the BFD session. By default, BFD uses the multicast IP address 224.0.0.184.
Page 177
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 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.
If devices running different versions interwork with each other, the TTL values and detection modes on both ends of a BFD session are different, resulting in BFD packet loss. The TTL is set globally to enable Huawei devices to interwork with Huawei devices running different AR2200-S versions and non-Huawei devices.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Step 2 Run: BFD is enabled globally on the local device and the BFD view is displayed. Step 3 Run: peer-ip peer-ip mask-length ttl { single-hop | multi-hop } ttl-value The TTL in BFD control packets is set.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.12.1 Clearing BFD Statistics Deleting previous BFD statistics before collecting BFD statistics within a specified period of time is recommended. Context CAUTION BFD statistics cannot be restored after being deleted. Exercise caution when using the command.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration 3.13.1 Example for Configuring Single-hop BFD for a Layer 3 Physical Link In this example, a single-hop BFD session to detect faults in a Layer 3 physical link is configured to rapidly check a direct link on a network.
Page 182
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration <Huawei> system-view [Huawei] sysname RouterB [RouterB] interface gigabitethernet 1/0/0 [RouterB-GigabitEthernet1/0/0] ip address 10.1.1.2 24 [RouterB-GigabitEthernet1/0/0] quit Step 2 Configure single-hop BFD. # Enable BFD on Router A, create a BFD session between Router A and Router B, and bind Router A's interface to the BFD session.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Configuration Files Configuration file of Router A sysname RouterA interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.0 bfd atob bind peer-ip 10.1.1.2 interface GigabitEthernet1/0/0 discriminator local 1 discriminator remote 2...
Page 184
Vlanif10 current state : UP Line protocol current state : UP Last line protocol up time: 2007-11-14, 10:45:35 Description : HUAWEI, AR Series, Vlanif10 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 110.1.1.1/24 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc7a-9e35...
Page 185
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration [RouterA] ping -a 110.1.1.1 110.1.1.2 PING 110.1.1.2: 56 data bytes, press CTRL_C to break Reply from 110.1.1.2: bytes=56 Sequence=1 ttl=255 time=31 ms Reply from 110.1.1.2: bytes=56 Sequence=2 ttl=255 time=31 ms Reply from 110.1.1.2: bytes=56 Sequence=3 ttl=255 time=62 ms...
Page 186
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration PDT Index : FSM-0 | RCV-0 | IF-0 | TOKEN-0 Session Description -------------------------------------------------------------------------------- Total UP/DOWN Session Number : 1/0 Run the shutdown command on the Eth 2/0/1 of Router A to simulate a link fault.
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration bfd atob bind peer-ip 110.1.1.2 interface Vlanif10 discriminator local discriminator remote commit return Configuration file of Router B sysname RouterB vlan batch 10 interface Vlanif10 ip address 110.1.1.2 255.255.255.0...
Page 188
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Configure a BFD session on Router C to detect faults in multi-hop routes between Router C and Router A. Data Preparation To complete the configuration, you need the following data:...
Page 189
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Bind Interface FSM Board Id TOS-EXP Min Tx Interval (ms) : 1000 Min Rx Interval (ms) : 1000 Actual Tx Interval (ms): 1000 Actual Rx Interval (ms): 1000...
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration return 3.13.4 Example for Configuring Sub-interfaces for Dot1q VLAN Tag Termination to Support BFD On a typical network, sub-interfaces for dot1q VLAN tag termination are configured to support BFD.
Page 191
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Figure 3-6 Networking diagram of configuring sub-interfaces for dot1q VLAN tag termination to support BFD MPLS/IP backbone GE1/0/0 GE2/0/0 192.168.2.2/24 192.168.1.2/24 RouterC GE1/0/0 GE1/0/0 192.168.2.1/24 192.168.1.1/24 RouterA RouterB BFD session GE2/0/0.1...
Page 192
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Name of the BFD session ID and virtual IP address of the VRRP backup group Tag value of sub-interfaces for dot1q termination Procedure Step 1 Configure an IGP to ensure connectivity between devices.
Page 193
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration [RouterA] display ip routing-table Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: Public Destinations : 7 Routes : 7 Destination/Mask Proto Cost Flags NextHop Interface 192.168.2.0/24...
Page 195
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration [RouterB-GigabitEthernet2/0/0.1] quit Step 6 Verify the configuration. Run the display vrrp command. You can view that the status of the BFD session tracked by VRRP backup group 1 is Up. Use the display on Router A as an example.
Page 197
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration Networking Requirements On the network shown in Figure 3-7, Router A supports BFD but Router B does not. A BFD session with the one-arm Echo function needs to be configured on Router A to fast detect the direct link between Router A and Router B.
Page 198
Huawei AR2200-S Series Enterprise Routers Configuration Guide - Reliability 3 BFD Configuration [RouterB-GigabitEthernet1/0/0] quit Step 2 Configure a BFD session with the one-arm Echo function. # Configure Router A. [RouterA] bfd [RouterA-bfd] quit [RouterA] bfd atob bind peer-ip 10.1.1.2 interface gigabitEthernet1/0/0 one-arm-...