beautypg.com

Track configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 294

background image

11

Track Configuration Examples

VRRP-Track-NQA Collaboration Configuration Example (The
Master Monitors the Uplinks)

Network requirements

As shown in

Figure 2

, Host A needs to access Host B on the Internet. The default gateway of Host

A is 10.1.1.10/24.

Device A and Device B belong to VRRP group 1, whose virtual IP address is 10.1.1.10.

When Device A works normally, packets from Host A to Host B are forwarded through Device A.
When VRRP finds that there is a fault on the uplink of Device A through NQA, packets from Host
A to Host B are forwarded through Device B.

Figure 2 Network diagram for VRRP-track-NQA collaboration configuration

Host A

Device A

Device B

Virtual IP address:

10.1.1.10/24

GE0/1

10.1.1.1/24

GE0/1

10.1.1.2/24

Host B

10.1.1.3/24

20.1.1.1/24

Internet

GE0/2
10.1.2.1/24

GE0/2
10.1.3.1/24

Eth1/1

10.1.3.2/24

Eth1/1

10.1.2.2/24

Router A

Router B

Configuration procedure

Step1

Configure the IP address of each interface as shown in

Figure 2

.

Step2

Configure an NQA test group on Device A.

system-view

# Create an NQA test group with the administrator name admin and the operation tag test.

[DeviceA] nqa entry admin test

# Configure the test type as ICMP-echo.

[DeviceA-nqa-admin-test] type icmp-echo

# Configure the destination address as 10.1.2.2.

[DeviceA-nqa-admin-test-icmp-echo] destination ip 10.1.2.2

# Set the test frequency to 100 ms.