Detecting Reachability Of The Static Route's Nexthop; Detecting Nexthop Reachability Through Track - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

When configuring a static route, the static route does not take effect if you specify the next hop
address first and then configure it as the IP address of a local interface.
If you do not specify the preference when configuring a static route, the default preference will be
used. Reconfiguring the default preference applies only to newly created static routes.
If the destination IP address and mask are both configured as 0.0.0.0 with the ip route-static
command, the route is the default route.

Detecting Reachability of the Static Route's Nexthop

If a static route fails due to a topology change or a fault, the connection will be interrupted. To improve
network stability, the system needs to detect reachability of the static route's next hop and switch to a
backup route once the next hop is unreachable.
Following method can be used to detect reachability of the static route's next hop.

Detecting Nexthop Reachability Through Track

If you specify the nexthop but not outgoing interface when configuring a static route, you can associate
the static route with a track entry to check the static route validity:
When the track entry is positive, the static route's nexthop is reachable and the static route takes
effect.
When the track entry is negative, the static route's nexthop is unreachable and the static route is
invalid. For details about track, refer to Track Configuration in the System Volume.
Network requirements
To detect the reachability of a static route's nexthop through a Track entry, you need to create a Track
first. For detailed Track configuration procedure, refer to Track Configuration in the System Volume.
Configuration procedure
Follow these steps to detect the reachability of a static route's nexthop through Track:
To do...
Enter system view
Associate the static
route with a track entry
Use the command...
system-view
ip route-static dest-address { mask | mask-length }
next-hop-address track track-entry-number [ preference
preference-value ] [ description description-text ]
1-3
Remarks
Required
Not
configured by
default

Advertisement

Chapters

Table of Contents
loading

Table of Contents