nerdexam
Exams300-415Questions#169
Cisco

300-415 · Question #169

300-415 Question #169: Real Exam Question with Answer & Explanation

The correct answer is C: policy route-policy eBGP_Community_Policy sequence 1 match address Community_Prefix action accept set community 999:65000 no-export default-action accept lists prefix-list Community_Prefix ip-prefix 20.20.20.0/24 ip-prefix 21.21.21.0/24 ip-prefix 22.22.22.0/24. To prevent specific server networks from being advertised outside the AS while applying a community tag, a route policy should match those networks and set the BGP 'no-export' community.

Policies

Question

Refer to the exhibit showing a GUI configuration snippet with 'Address Family' set to On and 'ipv4-unicast', 'Route Policy In' and 'Route Policy Out' set to On, and 'Policy Name' as 'eBGP_Community_Policy'. The engineering must assign community tags to 3 of its 74 critical server networks so as soon as possible as they are advertised to BGP peers. These server networks must not be advertised outside AS. Which configuration fulfills this requirement?

Options

  • Apolicy route-policy eBGP_Community_Policy sequence 1 match address Community_Prefix action accept set community 999:65000 no-advertise default-action accept lists prefix-list Community_Prefix ip-prefix 20.20.20.0/24 ip-prefix 21.21.21.0/24 ip-prefix 22.22.22.0/24
  • Bpolicy route-policy eBGP_Community_Policy sequence 1 match address Community_Prefix action accept set community 999:65000 local-as default-action reject lists prefix-list Community_Prefix ip-prefix 20.20.20.0/24 ip-prefix 21.21.21.0/24 ip-prefix 22.22.22.0/24
  • Cpolicy route-policy eBGP_Community_Policy sequence 1 match address Community_Prefix action accept set community 999:65000 no-export default-action accept lists prefix-list Community_Prefix ip-prefix 20.20.20.0/24 ip-prefix 21.21.21.0/24 ip-prefix 22.22.22.0/24
  • Dpolicy route-policy eBGP_Community_Policy sequence 1 match address Community_Prefix action accept set community 999:65000 no-advertise default-action reject lists prefix-list Community_Prefix ip-prefix 20.20.20.0/24 ip-prefix 21.21.21.0/24 ip-prefix 22.22.22.0/24

Explanation

To prevent specific server networks from being advertised outside the AS while applying a community tag, a route policy should match those networks and set the BGP 'no-export' community.

Common mistakes.

  • A. Using 'no-advertise' prevents the routes from being advertised to any BGP peer, including internal ones, which is a stricter restriction than 'not advertised outside AS'.
  • B. The 'local-as' community is typically used within BGP confederations, and the 'default-action reject' would prevent all other server networks from being advertised.
  • D. Similar to A, 'no-advertise' is too restrictive, preventing advertisement even within the AS, and 'default-action reject' would block other server networks.

Concept tested. BGP communities for route advertisement control

Reference. https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/routing/ios-xe-17/routing-book-sdwan/bgp-config.html

Topics

#BGP Communities#Route Policy#Prefix Lists#BGP Advertisement Control

Community Discussion

No community discussion yet for this question.

Full 300-415 Practice