Associating track with static routing – H3C Technologies H3C S10500 Series Switches User Manual
Page 181
172
NOTE:
•
VRRP tracking is not valid on an IP address owner. An IP address owner refers to a router when the IP
address of the virtual router is the IP address of an interface on the router in the VRRP group.
•
When the status of the track entry changes from Negative to Positive or Invalid, the associated router
restores its priority automatically.
•
You can associate a nonexistent track entry with a VRRP group. The association takes effect only after
you use the track command to create the track entry.
•
For more information about VRRP, see the chapter “VRRP
configuration.”
Associating track with static routing
A static route is a manually configured route. With a static route configured, packets to the specified
destination are forwarded through the path specified by the administrator.
The disadvantage of using static routes is that they cannot adapt to network topology changes. Faults or
topological changes in the network can make the routes unreachable, causing network breaks.
To prevent this problem, configure another route to back up the static route. When the static route is
reachable, packets are forwarded through the static route. When the static route is unreachable, packets
are forwarded through the backup route, avoiding network breaks and enhancing network reliability.
To check the accessibility of a static route in real time, establish association between the track and the
static route.
If you specify the next hop but not the egress interface when configuring a static route, you can establish
collaborations among the static route, the track module, and detection modules. This enables you to
check the accessibility of the static route by the status of the track entry.
•
The Positive state of the track entry shows that the next hop of the static route is reachable and that
the configured static route is valid.
•
The Negative state of the track entry shows that the next hop of the static route is not reachable and
that the configured static route is invalid.
•
The Invalid state of the track entry shows that the accessibility of the next hop of the static route is
unknown and that the static route is valid.
Follow these steps to associate track with static routing:
To do…
Use the command…
Remarks
Enter system view
system-view
—
ip route-static dest-address { mask | mask-length }
{ next-hop-address | vpn-instance
d-vpn-instance-name next-hop-address } track
track-entry-number [ preference preference-value ]
[ tag tag-value ] [ description description-text ]
Associate the static route with
a track entry to check the
accessibility of the next hop
ip route-static vpn-instance
s-vpn-instance-name&<1-6> dest-address { mask |
mask-length } { next-hop-address track
track-entry-number [ public ] | vpn-instance
d-vpn-instance-name next-hop-address track
track-entry-number } [ preference preference-value ]
[ tag tag-value ] [ description description-text ]
Required
Use either command.
Not configured by
default.
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS