QuestionQ65

VerifiedHuawei Cloud Innovations and Solutions

The IP prefix-list configuration on a Huawei router is shown below. Which of the following routes can match the IP prefix list and be permitted?

ip ip-prefix huawei index 10 deny 10.1.1.0 24  
ip ip-prefix huawei index 20 permit 10.1.1.1 32  
ip ip-prefix huawei index 30 permit 10.1.2.0 24 less-equal 32  
Choose two
Explanation

Huawei IP prefix-list entries are evaluated in ascending index order, and matching ends at the first matching entry. With less-equal 32, the 10.1.2.0 24 permit entry matches prefixes within 10.1.2.0/24 whose prefix lengths are from /24 through /32. Therefore, both the 10.1.2.5/32 host route and the 10.1.2.0/25 subnet route are permitted.

Learn more

Community Discussion

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