QuestionQ53

VerifiedRouting Policy and Manipulation

Question Image

Refer to the exhibit. Company A has established BGP sessions with several ISPs. A network engineer at the company must filter out all traffic except routes that transit AS 152. The engineer configured the filtering policy permit _152$_(_[0-9]) on R1, but after applying the configuration, the engineer notices that other routes are still visible. Which action resolves the issue?

Explanation

A BGP AS-path access list using the expression _152_ matches AS 152 only when it is bounded by AS-path separators on both sides, meaning the route has passed through AS 152 as a transit autonomous system. ip as-path access-list is the appropriate Cisco feature for filtering BGP routes by AS path.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!