nerdexam
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)
  • A
    79% (34)
  • B
    2% (1)
  • C
    7% (3)
  • D
    12% (5)

Community Discussion

No community discussion yet for this question.

Full H12-221 Practice