Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 135

Advertising
background image

126

Figure 35 Network diagram

Configuration procedure

1.

Configure BFD on Router A:
# Configure the source address of BFD echo packets as 10.10.10.10.

<RouterA> system-view

[RouterA] bfd echo-source-ip 10.10.10.10

2.

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

[RouterA] track 1 bfd echo interface GigabitEthernet 3/1/1 remote ip 1.1.1.2 local

ip 1.1.1.1

3.

Configure VRRP on Router A:
# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10;
configure the priority of Router 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 Router

A decreases by 20.

[RouterA] interface GigabitEthernet 3/1/2

[RouterA-GigabitEthernet3/1/2] vrrp vrid 1 virtual-ip 192.168.0.10

[RouterA-GigabitEthernet3/1/2] vrrp vrid 1 priority 110

[RouterA-GigabitEthernet3/1/2] vrrp vrid 1 track 1 reduced 20

[RouterA-GigabitEthernet3/1/2] return

4.

Configure VRRP on Router B:
# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10.

[RouterB] interface GigabitEthernet 3/1/2

Internet

Master

Uplink device

Backup

Uplink device

Uplink

Virtual router

Virtual IP address:

192.168.0.10

GE3/1/2

192.168.0.101/24

GE3/1/2
192.168.0.102/24

Router A

Master

Router B

Backup

GE3/1/1

1.1.1.1/24

GE3/1/1

1.1.1.2/24

L2 switch

Uplink

VRRP packets

BFD probe packets

Advertising
This manual is related to the following products: