QuestionQ107

VerifiedBuild an IP network with interconnection and interworking

After the following commands are configured, R1 has two equal-cost routes to 10.0.12.0/24.

[R1] ip route static 10.0.12.0.24 10.0.12.2 preference 60  
[R1] ip route-static 10.0.12.0.24 10.0.21.2 preference 60  

Question Image

Explanation

The 10.0.12.1/24 interface installs a directly connected route to 10.0.12.0/24. On Huawei devices, a directly connected route has preference 0, while a static route with preference 60 has lower priority because smaller preference values are preferred. The direct route is therefore selected instead of the two static routes, so they are not active equal-cost routes for that destination.

Learn more

Community Discussion

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