nerdexam
Cisco

300-410 · Question #20

Refer to the exhibit. An engineer is trying to block the route to 192.168.2.2 from the routing table by using the configuration that is shown. The route must still be present in the routing table as…

The correct answer is C. Change sequence 10 in the route-map command from permit to deny. To block a specific route (192.168.2.2) from being processed by a route map, preventing it from being redistributed or installed into a different routing context, the matching statement within the route-map sequence should be changed from permit to deny.

Layer 3 Technologies

Question

Refer to the exhibit. An engineer is trying to block the route to 192.168.2.2 from the routing table by using the configuration that is shown. The route must still be present in the routing table as an OSPF route. Which action blocks the route?

Options

  • AAdd this statement to the route map RM-OSPF-DL permit 20
  • BUse a prefix list instead of an access list in the route map.
  • CChange sequence 10 in the route-map command from permit to deny.
  • DUse an extended access list instead of a standard access list.

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    11% (4)
  • C
    81% (30)
  • D
    3% (1)

Why each option

To block a specific route (192.168.2.2) from being processed by a route map, preventing it from being redistributed or installed into a different routing context, the matching statement within the route-map sequence should be changed from `permit` to `deny`.

AAdd this statement to the route map RM-OSPF-DL permit 20

Adding `permit 20` to the route-map without an explicit `deny` for 192.168.2.2 would not block the route if it's already matched by a preceding `permit` statement.

BUse a prefix list instead of an access list in the route map.

Using a prefix list instead of an access list is an alternative for route matching, but the action (permit/deny) in the route-map sequence is what determines blocking, not the matching method itself.

CChange sequence 10 in the route-map command from permit to deny.Correct

In a route-map, a `permit` statement allows a matched route to proceed with the route-map's action (e.g., redistribution, filtering), whereas a `deny` statement blocks the matched route, preventing it from undergoing the route-map's action. Changing sequence 10 from `permit` to `deny` for the route 192.168.2.2 would effectively block it from the route-map's influence, while allowing it to remain in the OSPF routing process if the route-map is used for outbound redistribution.

DUse an extended access list instead of a standard access list.

Using an extended access list changes the matching criteria but does not inherently block a route; the `permit` or `deny` action in the route-map is crucial for blocking.

Concept tested: Route map logic (permit vs. deny) for route filtering

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_pi/configuration/xe-16/iri-xe-16-book/iri-cfg-route-maps.html

Topics

#Route-maps#OSPF#Route Filtering#Access Control Lists (ACLs)

Community Discussion

No community discussion yet for this question.

Full 300-410 Practice