nerdexam
Cisco

350-501 · Question #553

Refer to the exhibit. BGP is configured in the network. A network engineer must implement a route filtering policy to manipulate traffic flow between BGP peers. Traffic that matches access list 12 and

The correct answer is A. Implement the continue clause within sequence 10 to check sequence 30 for a match. To apply a BGP route filtering policy where traffic matching both an access list and a prefix list should have its metric set to 200, the engineer must implement a 'continue' clause within the route-map sequence that matches the access list.

Networking

Question

Refer to the exhibit. BGP is configured in the network. A network engineer must implement a route filtering policy to manipulate traffic flow between BGP peers. Traffic that matches access list 12 and prefix-list 1 should have its metric set to 200. Which task must the engineer perform to meet the requirement?

Exhibit

350-501 question #553 exhibit

Options

  • AImplement the continue clause within sequence 10 to check sequence 30 for a match
  • BImplement a new sequence number between 10 and 20 to set the metric to 200
  • CImplement a set command within sequence 10 to set the metric to 200
  • DImplement a new sequence number between 10 and 20 to match access-list and prefix-list 1

How the community answered

(22 responses)
  • A
    82% (18)
  • B
    9% (2)
  • C
    5% (1)
  • D
    5% (1)

Why each option

To apply a BGP route filtering policy where traffic matching both an access list and a prefix list should have its metric set to 200, the engineer must implement a 'continue' clause within the route-map sequence that matches the access list.

AImplement the continue clause within sequence 10 to check sequence 30 for a matchCorrect

Implementing the 'continue' clause within sequence 10 (which matches access-list 12) allows the route-map to proceed and evaluate subsequent sequences, specifically sequence 20 (matching prefix-list 1). This ensures that both match conditions (access-list 12 AND prefix-list 1) can be checked before the 'set metric 200' action in sequence 30 is applied to the routes that satisfy both criteria, fulfilling the requirement.

BImplement a new sequence number between 10 and 20 to set the metric to 200

Implementing a new sequence number between 10 and 20 to set the metric to 200 would apply the metric prematurely if only access-list 12 is matched, without checking for a match against prefix-list 1, thus not meeting the 'both match' requirement.

CImplement a set command within sequence 10 to set the metric to 200

Implementing a 'set' command within sequence 10 to set the metric to 200 would apply the metric if only access-list 12 is matched. This would bypass the check for prefix-list 1 and not achieve the desired 'AND' logic for both conditions.

DImplement a new sequence number between 10 and 20 to match access-list and prefix-list 1

Implementing a new sequence number between 10 and 20 to match access-list and prefix-list 1 would not resolve the issue as route-maps evaluate sequences in order; a single sequence matching both would be effective, but inserting it between 10 and 20 without `continue` on 10 or 20 would still not achieve the desired flow if using separate match statements.

Concept tested: BGP route-map 'continue' clause for sequential matching

Source: https://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/sr_bgrt.html

Topics

#BGP Route Filtering#Route-maps#continue keyword#Policy Implementation

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice