Step
4.
Associate Track with PBR.
Displaying and maintaining track entries
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
of Host A is 10.1.1.10/24.
•
Router A and Router B belong to VRRP group 1, which has the virtual IP address 10.1.1.10.
•
When Router A works correctly, packets from Host A to Host B are forwarded through Router A.
When NQA detects that a fault is on the uplink of Router A, packets from Host A to Host B are
forwarded through Router B.
Command
•
Set the outgoing interface, and
associate it with a track entry:
apply output-interface
interface-type interface-number
[ track track-entry-number ]
[ interface-type interface-number
[ track track-entry-number ] ]
•
Set the next hop, and associate it
with a track entry:
apply ip-address next-hop
ip-address [ track
track-entry-number ] [ ip-address
[ track track-entry-number ] ]
•
Set the default outgoing interface,
and associate it with a track entry:
apply default output-interface
interface-type interface-number
[ track track-entry-number ]
[ interface-type interface-number
[ track track-entry-number ] ]
•
Set the default next hop, and
associate it with a track entry:
apply ip-address default next-hop
ip-address [ track
track-entry-number] [ ip-address
[ track track-entry-number] ]
Command
display track { track-entry-number | all }
[ | { begin | exclude | include }
regular-expression ]
Figure
56, configure Host A to access Host B on the Internet. The default gateway
210
Remarks
Use at least one of the
commands.
Remarks
Available in any view.