
l
Name of the BFD session
l
ID and virtual IP address of the VRRP backup group
l
Tag value of sub-interfaces for dot1q termination
Procedure
Step 1
Configure an IGP to ensure connectivity between devices.
Assign IP addresses to interfaces as shown in
. Configure an IGP on Router A,
Router B, and Router C. OSPF is adopted in this example.
# Configure Router A.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
ip address 192.168.2.1 24
[RouterA-GigabitEthernet1/0/0]
quit
[RouterA]
interface gigabitethernet 2/0/0.1
[RouterA-GigabitEthernet2/0/0.1]
ip address 100.1.1.1 24
[RouterA-GigabitEthernet2/0/0.1]
quit
[RouterA]
ospf 1
[RouterA-ospf-1]
area 0
[RouterA-ospf-1-area-0.0.0.0]
network 192.168.2.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]
network 100.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]
quit
[RouterA-ospf-1]
quit
# Configure Router B.
<Huawei>
system-view
[Huawei]
sysname RouterB
[RouterB]
interface gigabitethernet 1/0/0
[RouterB-GigabitEthernet1/0/0]
ip address 192.168.1.1 24
[RouterB-GigabitEthernet1/0/0]
quit
[RouterB]
interface gigabitethernet 2/0/0.1
[RouterB-GigabitEthernet2/0/0.1]
ip address 100.1.1.2 24
[RouterB-GigabitEthernet2/0/0.1]
quit
[RouterB]
ospf 1
[RouterB-ospf-1]
area 0
[RouterB-ospf-1-area-0.0.0.0]
network 192.168.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0]
network 100.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0]
quit
[RouterB-ospf-1]
quit
# Configure Router C.
<Huawei>
system-view
[Huawei]
sysname RouterC
[RouterC]
interface gigabitethernet 1/0/0
[RouterC-GigabitEthernet1/0/0]
ip address 192.168.2.2 24
[RouterC-GigabitEthernet1/0/0]
quit
[RouterC]
interface gigabitethernet 2/0/0
[RouterC-GigabitEthernet2/0/0]
ip address 192.168.1.2 24
[RouterC-GigabitEthernet2/0/0]
quit
[RouterC]
ospf 1
[RouterC-ospf-1]
area 0
[RouterC-ospf-1-area-0.0.0.0]
network 192.168.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0]
network 192.168.2.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0]
quit
[RouterC-ospf-1]
quit
After the configuration, OSPF on Router A and Router B calculates the routes between
Router A and Router B. Router A and Router B can ping each other.
Use the display on Router A as an example.
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
3 BFD Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
184