
1.
Configure a VLAN based on the interface.
2.
Configure a single-hop BFD session between VLANIF interfaces.
Data Preparation
To configure single-hop BFD for VLANIF interfaces, you need the following data:
l
Peer IP address for a BFD session, which is the IP address of the peer VLANIF interface
l
Local interface sending and receiving BFD control packets
l
Local and remote discriminators of a BFD session
NOTE
Default values of the minimum sending interval, minimum receiving interval, and local detection multiplier
for BFD control packets are used.
Procedure
Step 1
Configure VLAN 10.
# Configure VLAN 10 on Router A.
<RouterA>
system-view
[RouterA]
interface ethernet 2/0/1
[RouterA-Ethernet2/0/1]
port link-type access
[RouterA-Ethernet2/0/1]
quit
[RouterA]
vlan 10
[RouterA-vlan10]
port ethernet 2/0/1
[RouterA-vlan10]
quit
[RouterA]
interface vlanif 10
[RouterA-Vlanif10]
ip address 110.1.1.1 24
[RouterA-Vlanif10]
quit
# Configure VLAN 10 on Router B.
<RouterB>
system-view
[RouterB]
interface ethernet 2/0/1
[RouterB-Ethernet2/0/1]
port link-type access
[RouterB-Ethernet2/0/1]
quit
[RouterB]
vlan 10
[RouterB-vlan10]
port ethernet 2/0/1
[RouterB-vlan10]
quit
[RouterB]
interface vlanif 10
[RouterB-Vlanif10]
ip address 110.1.1.2 24
[RouterB-Vlanif10]
quit
After the configuration, run the
display interface vlanif
command on Router A or Router B.
You can view that the interface is
Up
.
Use the display on Router A as an example.
[RouterA]
display interface vlanif 10
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
Current system time: 2010-08-30 18:13:11
Input bandwidth utilization : --
Output bandwidth utilization : --
The VLANIF interfaces on Router A and Router B can ping each other.
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.
176