350-401 Question 371
Single answerA network engineer is tasked with configuring policy-based routing (PBR) to direct traffic from a specific subnet (192.168.1.0/24) to use a secondary internet connection with the next-hop IP address of 203.0.113.1. The engineer has already configured the route-map and access-list. Which additional step is necessary to ensure the policy-based routing configuration is applied?
- A
Apply the route-map to the incoming interface using the 'ip policy route-map' command.
- B
Configure a static route for the 192.168.1.0/24 subnet pointing to 203.0.113.1.
- C
Enable PBR globally using the 'ip policy route-map' command in global configuration mode.
- D
Apply the route-map to the outgoing interface using the 'ip route-map' command.
Show answer and explanation
Correct answer: A
Explanation
In policy-based routing (PBR), traffic flow is determined based on policies defined in route-maps and matched by access-lists. After creating the route-map and ACL, the route-map must be applied to the incoming interface where traffic is evaluated. The 'ip policy route-map' command is used for this purpose. Applying the route-map to the correct interface ensures the traffic matching the criteria follows the desired path.
- A. Correct.
This is the correct step. In policy-based routing, the route-map must be applied to the incoming interface where the traffic will be matched by the configured ACL.
- B. Incorrect.
This is incorrect. Static routes do not achieve the same functionality as policy-based routing and do not utilize route-maps or ACLs.
- C. Incorrect.
This is incorrect. Policy-based routing is not enabled globally, but rather on specific interfaces where traffic needs to be evaluated.
- D. Incorrect.
This is incorrect. Route-maps for PBR are applied on incoming interfaces, not outgoing interfaces.