Huawei
H12-821_V1.0 · Question #415
The route-policy defined by a router is as shown in the figure. [HUAWEI]ip ip-prefix 1 permit 11.1.0.0 16 [HUAWEI]route-policy test-set cost permit node 10 [HUAWEI]route-policy if-match ip-prefix 1…
The correct answer is C. Route 11.1.0.0/16 can pass node 10, and its cost is set to 300. See the full explanation below for the reasoning.
Question
The route-policy defined by a router is as shown in the figure.
[HUAWEI]ip ip-prefix 1 permit 11.1.0.0 16
[HUAWEI]route-policy test-set cost permit node 10
[HUAWEI]route-policy if-match ip-prefix 1
[HUAWEI]route-policy apply cost 300
[HUAWEI]route-policy quit
[HUAWEI]route-policy Set-cost permit node 20
[HUAWEI]route-policy apply cost 200
[HUAWEI]route-policy quit
Which of the following descriptions of this configuration is correct?
Options
- ARoute 11.1.0.0/16 will continue to match node 20 after passing node 10, and the final cost is set to
- BThe cost of the route will be set to 500
- CRoute 11.1.0.0/16 can pass node 10, and its cost is set to 300
- DAny routes that do not pass through node 10 will be rejected.
How the community answered
(51 responses)- A6% (3)
- B12% (6)
- C78% (40)
- D4% (2)
Community Discussion
No community discussion yet for this question.