1-5
To do…
Use the command…
Remarks
Configure the Track-Static
Routing collaboration, so as to
check the reachability of the
next hop of the static route
ip route-static dest-address
{
mask
|
mask-length
}
next-hop-address track
track-entry-number
[
preference
preference-value
]
[
description description-text
]
Required
Not configured by default.
z
For the configuration of Track-Static Routing collaboration, the specified static route can be an
existent or nonexistent one. For an existent static route, the static route and the specified Track
object are associated directly; for a nonexistent static route, the system creates the static route
and then associates it with the specified Track object.
z
The Track object to be associated with the static route can be a nonexistent one. After you use the
track
command to create the Track object, the association takes effect.
z
If a static route needs route recursion, the associated Track object must monitor the next hop of
the recursive route instead of that of the static route; otherwise, a valid route may be considered
invalid.
z
For details of static route configuration, refer to
Static Routing Configuration
in the
IP Routing
Volume
.
Displaying and Maintaining Track Objects
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
Track Configuration Examples
VRRP,Track and the Interface Management Module Collaboration Configuration
Example (The Master Monitors the Uplink)
Network requirements
z
As shown in
Figure 1-2
, Host A needs to access Host B on the Internet. The default gateway of
Host A is 10.1.1.10/24.
z
Switch A and Switch B belong to VRRP group 1, whose virtual IP address is 10.1.1.10.