199
Displaying and maintaining track entries
To do…
Use the command…
Remarks
Display information about the
specified or all track entries
display
track
{
track-entry-number
|
all
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Track configuration examples
VRRP-track-NQA collaboration configuration example (the
master monitors the uplink)
Network requirements
•
As shown in
, 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 uplink of Switch A through NQA, packets from Host A
to Host B are forwarded through Switch B.
Figure 54
Network diagram for VRRP-track-NQA collaboration configuration
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
Configuration procedure
1.
Create VLANs, and assign ports to the VLANs, and configure the IP address of each VLAN
interface as shown in
. The configuration steps are omitted.
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