QuestionQ114

VerifiedBuild an IP network with interconnection and interworking

R1 has four static routes, and every one has a reachable next hop. Given this static-route configuration, which next hop is used for the route to 20.0.0.0/30 in R1’s routing table?

[R1] ip route-static 20.0.0.0 30 10.1.1.2  
[R1] ip route-static 20.0.0.0 30 10.1.2.2 preference 70  
[R1] ip route-static 20.0.0.0 30 10.1.3.2 preference 100  
[R1] ip route-static 20.0.0.0 30 10.1.4.2 preference 50  
Explanation

On Huawei VRP devices, a smaller route preference value has higher priority. A static route without an explicit preference uses the default value of 60. Among the four routes, preference 50 is the lowest, so the route via 10.1.4.2 is selected for the routing table.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!