Displaying and Maintaining Track Object(s) 1241
Displaying and
Maintaining Track
Object(s)
Track Configuration
Example
VRRP-Track-NQA
Collaboration
Configuration Example
Network requirements
■ Host A needs to access Host B on the Internet. The default gateway of Host A is
10.1.1.10/24.
■ Switch A and Switch B belong to VRRP group 1, whose virtual IP address is
10.1.1.10.
■ When Switch A works normally, packets from Host A to Host B are forwarded
through Switch A. When VRRP finds that there is a fault on the upper link of
Switch A through NQA, packets from Host A to Host B are forwarded through
Switch B.
Network diagram
Figure 364 Network diagram for VRRP-Track-NQA collaboration configuration
Configuration procedure
1 Configure the IP address of each interface as shown in Figure 364.
2 Configure an NQA test group on Switch A.
<SwitchA> system-view
# Create an NQA test group with the administrator name admin and the
operation tag test.
[SwitchA] nqa entry admin test
# Configure the test type as ICMP-echo.
To do… Use the command… Remarks
Display information about the
specified Track object or all
Track objects
display track
{ track-entry-number | all }
Available in any view
Host A
Switch A
Switch B
Virtual IP address:
10.1.1.10/24
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Host B
10.1.1.3/24
20.1.1.1/24
Internet
Vlan-int3
10.1.2.1/24
Vlan-int3
10.1.3.1/24
Vlan-int3
10 .1 .3.2/24
Vlan-int3
10 .1 .2.2/24
Switch C
Switch D