Step
3.
Define an ACL match
criterion.
4.
Set the next hop, and
associate it with a track entry.
Displaying and maintaining track entries
Execute display commands in any view.
Task
Display information about the specified or all track entries.
Track configuration examples
VRRP-Track-NQA collaboration configuration example
In this example, the master monitors the uplink.
Network requirements
•
As shown in
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 operates correctly, packets from Host A to Host B are forwarded through Switch A.
•
When VRRP finds that a fault is on the uplink of Switch A through NQA, packets from Host A to Host
B are forwarded through Switch B.
Command
if-match acl acl-number
apply ip-address next-hop [ vpn-instance
vpn-instance-name ] { ip-address [ direct ]
[ track track-entry-number ] }&<1-2>
Figure
27, configure Host A to access Host B on the Internet. The default gateway of
Command
display track { track-entry-number | all }
102
Remarks
By default, no packets are
filtered.
By default, no next hop is
set.
You can set two next hops
for backup. The one
configured earlier has a
higher priority.