128• The Invalid state of the track entry shows that the accessibility of the next hop of the static route isunknown and that the static route is valid.If a static route needs route recursion, the associated track entry must monitor the next hop of the recursiveroute instead of that of the static route; otherwise, a valid route may be considered invalid.For more information about static route configuration, see Layer 3—IP Routing Configuration Guide.To associate track with static routing:Step Command Remarks1. Enter system view. system-view N/A2. Associate the static routewith a track entry tocheck the accessibility ofthe next hop.ip route-static dest-address { mask | mask-length }next-hop-address track track-entry-number[ preference preference-value ] [ descriptiondescription-text ]Not configured bydefault.NOTE:You can associate a nonexistent track entry with a static route. The association takes effect only after youuse the track command to create the track entry.Displaying and maintaining track entriesTask Command RemarksDisplay information about thespecified or all track entries.display track { track-entry-number |all } [ | { begin | exclude |include } regular-expression ]Available in any viewTrack configuration examplesStatic routing-track-NQA collaboration configuration exampleNetwork requirementsAs shown in Figure 29, Switch A, Switch B, Switch C, and Switch D are connected to two segments20.1.1.0/24 and 30.1.1.0/24. Configure static routes on these switches so that the two segments cancommunicate with each other, and configure route backup to improve reliability of the network.Switch A is the default gateway of the hosts in segment 20.1.1.0/24. Two static routes to 30.1.1.0/24 existon Switch A, with the next hop being Switch B and Switch C, respectively. These two static routes backup each other as follows:• The static route with Switch B as the next hop has a higher priority, and is the master route. If thisroute is available, Switch A forwards packets to 30.1.1.0/24 through Switch B.• The static route with Switch C as the next hop acts as the backup route.• Configure static routing-track-NQA collaboration to determine whether the master route is availablein real time. If the master route is unavailable, the backup route takes effect, and Switch A forwardspackets to 30.1.1.0/24 through Switch C.