nerdexam
Huawei

H12-821_V1.0 · Question #952

As shown in the figure, router HqE runs two processes, OSPF 1 and OSPF 2. The administrator received a request to introduce the two network segments 10.0.1.0/24 and 10.0.4.0/24 in OSPF 2 to OSPF 1…

The correct answer is A. import-route ospf 2. Option A is correct because the goal is to filter specific routes being redistributed from OSPF process 2 into OSPF 1, and the import-route ospf 2 keyword combination tells the filter-policy command to apply the filter named "Hw" specifically to routes that OSPF 1 is importing…

IPv4 Routing Technologies

Question

As shown in the figure, router HqE runs two processes, OSPF 1 and OSPF 2. The administrator received a request to introduce the two network segments 10.0.1.0/24 and 10.0.4.0/24 in OSPF 2 to OSPF 1. To analyze the configuration in the figure, you need to enter the filter-policy Hw (___) command in the OSPF 1 view.

Options

  • Aimport-route ospf 2
  • B
  • C
  • D

How the community answered

(61 responses)
  • A
    79% (48)
  • B
    7% (4)
  • C
    3% (2)
  • D
    11% (7)

Explanation

Option A is correct because the goal is to filter specific routes being redistributed from OSPF process 2 into OSPF 1, and the import-route ospf 2 keyword combination tells the filter-policy command to apply the filter named "Hw" specifically to routes that OSPF 1 is importing from OSPF 2 - matching the administrator's requirement exactly. Without import-route ospf 2, the filter would not be scoped to the redistribution source, so only the routes 10.0.1.0/24 and 10.0.4.0/24 permitted by the "Hw" filter policy would be redistributed into OSPF 1.

The other answer choices (B, C, D) are not shown in this question, which suggests they were likely distractors such as using import ospf 2 (incorrect keyword syntax in this context), export ospf 2 (which filters routes being sent out of OSPF 1, not routes coming in from OSPF 2), or omitting the protocol reference entirely (which would fail to limit filtering to just the OSPF 2 source).

Memory tip: Think of filter-policy as a gatekeeper and import-route ospf 2 as the specific gate it stands at - the filter only acts on routes crossing that particular gate (redistribution from OSPF 2 into OSPF 1). In Huawei VRP, filter-policy [name] import-route [protocol] [process] is the pattern for filtering routes during redistribution, pairing directly with the import-route redistribution mechanism.

Topics

#OSPF#route filtering#multi-process OSPF#route import

Community Discussion

No community discussion yet for this question.

Full H12-821_V1.0 Practice