JN0-692 · Question #21
Click the Exhibit button. [edit] user@router# show protocols bgp group myEBGP { import noTransit; peer-as 318; neighbor ; } [edit] user@router# show policy-options policy-statement noTransit { term…
The correct answer is B. Change the as-path regex to ".* 1524 .*" C. Change the then condition from accept to reject. See the full explanation below for the reasoning.
Question
Click the Exhibit button. [edit] user@router# show protocols bgp group myEBGP { import noTransit; peer-as 318; neighbor ; } [edit] user@router# show policy-options policy-statement noTransit { term rejectAS1524 { from as-path AS1524; then accept; } } as-path AS1524 1524; To block transit traffic from AS1524, you have configured and committed the configuration as shown in the exhibit. However, traffic from AS1524 is still flowing through your AS. Which two changes must you implement to resolve the problem? (Choose two.)
Options
- AChange the peer AS in the myEBGP group to 1524.
- BChange the as-path regex to ".* 1524 .*"
- CChange the then condition from accept to reject.
- DChange the import noTransit statement to export noTransit.
How the community answered
(31 responses)- A16% (5)
- B74% (23)
- D10% (3)
Community Discussion
No community discussion yet for this question.