The ip route-static selection-rule relay-depth command configures static routes to be selected based on recursion depths.
The undo ip route-static selection-rule relay-depth command cancels the configuration.
By default, static routes are not selected based on recursion depths.
Usage Scenario
To prevent a routing loop when GGSN services are being forwarded between boards, run the ip route-static selection-rule relay-depth command to configure static routes to be selected based on recursion depths.
Implementation Procedure
Configuration Impact
In the system, some static routes have the same prefix and priority but different recursion depths. After static routes are configured to be selected based on recursion depths, the static route module selects the static route with smallest recursion depth as the active route and adds it to the RM. Other static routes become inactive.
Precautions
The routes whose recursion depth is greater than 10 are inactive.
After recursion depth-based static route selection is configured, the load balancing result may change because load balancing cannot be implemented among static routes with different recursion depths.