To do...
•
Set the default next hop, and
associate it with a track entry
You can associate a nonexistent track entry with PBR. The association takes effect only after you use the
track command to create the track entry.
For more information about PBR, see Layer 3
Displaying and maintaining track entries
To do...
•
Display information about the
specified or all track entries
Track configuration examples
VRRP-track-NQA collaboration configuration example (the
master monitors the uplink)
Network requirements
As shown in
•
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 a fault is on the uplink of Switch A through NQA, packets from Host A to
Host B are forwarded through Switch B.
Figure 45 Network diagram for VRRP-track-NQA collaboration configuration
Use the command...
apply ip-address default next-hop ip-
address [ track track-entry-number] [ ip-
address [ track track-entry-number] ]
Use the command...
display track { track-entry-number
| all } [ | { begin | exclude |
include } regular-expression ]
45, Host A needs to access Host B on the Internet. The default gateway of Host
Figure
IP Routing Configuration Guide.
—
167
Remarks
Remarks
Available in any view