beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 301

background image

18

When Device A works normally, hosts in the LAN access the external network through Device A.
When Device A detects that the uplink is down through BFD, it decreases its priority so that Device
B can preempt as the master, thus ensuring that the hosts in the LAN can access the external
network through Device B.

Figure 4 Network diagram for monitoring uplinks using BFD

Internet

Master

Uplink device

Backup

Uplink

device

Uplink

Virtual Router

Virtual IP address:

192.168.0.10

GE1/2

192.168.0.101/24

GE1/2
192.168.0.102/24

Device A

Master

Device B

Backup

GE1/1

1.1.1.1/24

GE1/1

1.1.1.2/24

L2 switch

Uplink

VRRP packets

BFD probe packets

Configuration procedure

Step1

Configure BFD on Device A.

# Configure the source address of BFD echo packets as 10.10.10.10.

system-view

[DeviceA] bfd echo-source-ip 10.10.10.10

Step2

Create the track entry to associate with the BFD session on Device A

# Create track entry 1 for the BFD session on Device A to check whether the uplink device with the IP
address 1.1.1.2 is reachable.

[DeviceA] track 1 bfd echo interface gigabitethernet 1/1 remote ip 1.1.1.2 local ip 1.1.1.1

Step3

Configure VRRP on Device A

# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10; configure the
priority of Device A in VRRP group 1 as 110; configure VRRP group 1 to monitor the status of track entry
1. When the status of the track entry becomes Negative, the priority of Device A decreases by 20.

[DeviceA] interface gigabitethernet 1/2

[DeviceA-GigabitEthernet1/2] vrrp vrid 1 virtual-ip 192.168.0.10