Operation Manual – IPv4 RoutingH3C S5500-EI Series Ethernet Switches Chapter 1 Static Routing Configuration1-3To do… Use the command… RemarksEnter system view system-view —Configure a staticrouteip route-static dest-address { mask |mask-length } { next-hop-address |interface-type interface-number[ next-hop-address ] } [ preferencepreference-value ] [ tag tag-value ][ description description-text ]RequiredBy default,preference for staticroutes is 60, tag is 0,and no descriptioninformation isconfigured.Configure thedefault preferencefor static routesip route-static default-preferencedefault-preference-valueOptional60 by defaultNote:z When configuring a static route, the static route does not take effect if you specifythe next hop address first and then configure it as the IP address of a local interface,such as a VLAN interface.z If you do not specify the preference when configuring a static route, the defaultpreference will be used. Reconfiguring the default preference applies only to newlycreated static routes.z You can flexibly control static routes by configuring tag values and using the tagvalues in the routing policy.z If the destination IP address and mask are both configured as 0.0.0.0 with the iproute-static command, the route is the default route.1.3 Detecting Reachability of the Static Route’s NexthopIf a static route fails due to a topology change or a fault, the connection will beinterrupted. To improve network stability, the system needs to detect reachability of thestatic route’s next hop and switch to a backup route once the next hop is unreachable.1.3.1 Detecting Nexthop Reachability Through TrackIf 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:z When the track entry is positive, the static route's nexthop is reachable and thestatic route takes effect.z When the track entry is negative, the static route's nexthop is unreachable and thestatic route is invalid. For details about track, refer to Track Configuration.