Huawei
H12-221 · Question #129
The defined route-policy set-cost configurations are: ip ip-prefix 1 permit 10.1.0.0 16 route-policy Set-cost permit node 10 if-match ip-prefix 1 apply cost 300 route-policy Set-cost permit node 20…
The correct answer is A. The route 10.1.0.0/16 matches node 10 and its cost is set to 300. See the full explanation below for the reasoning.
Question
The defined route-policy set-cost configurations are:
ip ip-prefix 1 permit 10.1.0.0 16 route-policy Set-cost permit node 10 if-match ip-prefix 1 apply cost 300 route-policy Set-cost permit node 20 apply cost 200 Which of the following statements is true?
Options
- AThe route 10.1.0.0/16 matches node 10 and its cost is set to 300.
- BThe route 10.1.0.0/16 matching node 10 also matches node 20 and its final cost is set to 200.
- CCosts of all routes will be set to 200.
- DAll routes that fail to match node 10 will be denied.
How the community answered
(43 responses)- A79% (34)
- B2% (1)
- C7% (3)
- D12% (5)
Community Discussion
No community discussion yet for this question.