Exam JN0-664 All QuestionsBrowse all questions from this exam
Question 28

Click the Exhibit button.

You are asked to exchange routes between R1 and R4 as shown in the exhibit. These two routers use the same AS number.

Which two steps will accomplish this task? (Choose two.)

    Correct Answer: A, D

    Option A is correct because the advertise-peer-as parameter allows the router to advertise its peer's AS number as part of the AS path attribute when sending BGP updates to other peers. This helps in scenarios where two routers in the same AS need to exchange routes through another AS. Option D is correct because the as-override parameter allows a router to override the AS number of its peer with its own AS number when receiving BGP updates from that peer. This prevents issues with loops when the same AS number appears in the path multiple times. Configuring these on R2 and R3 will ensure proper route exchange between R1 and R4, bypassing the problem of the same AS number.

Discussion
M80TOptions: AD

advertise-peer-as is explained in: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/bgp/topics/example/bgp-advertise-peer-as.html Both advertise-peer-as and as-override are BGP settings applied on the PE, not the CE, therefore the correct answer is A and D

tsukasa123Options: CD

The advertise-peer-as parameter allows a router to advertise its peer's AS number as part of the AS path attribute when sending BGP updates to other peers. This parameter is useful when two routers in the same AS need to exchange routes through another AS, such as in the case of R1 and R4. By configuring this parameter on R1 and R4, they can advertise each other's AS number to R2 and R3, respectively. The as-override parameter allows a router to replace the AS number of its peer with its own AS number when receiving BGP updates from that peer. This parameter is useful when two routers in different AS need to exchange routes through another AS that has the same AS number as one of them, such as in the case of R2 and R3. By configuring this parameter on R2 and R3, they can override the AS number of R1 and R4 with their own AS number when sending BGP updates to each other.

eknowOptions: AD

A,D are correct.

696501dOptions: BD

as-override - if the as number of a router recving advertisement is included in as path, router drops this prefix. this can be changed by using as-override. advertise-peer-as - junos do not advertise route learned from ebgp peer back to same ebgp peer. this can be changed by advertise-peer-as. Hence AD.

AntoniomarinrOptions: AD

Both options on R2 and R3 are meant to advertise the routes that have the same AS origin as the peer, only that with as-override the AS is replaced by the one on R2/R3 before advertising

easynet13Options: AD

AD is correct.

StargateCommandOptions: AD

A and D