Company ABC is in process of configuring BGP confederation between its sites.
For the moment, BGP has been configured between R1 - R3 and R1 - R2, while in the following weeks, there will be no BGP peering between R3 and R2.
The direct link between R3 and R2 was recently installed and a static route was configured on R3 for site-2 network,, to use the new link.


Until the moment that BGP will be configured between R3 and R2, you do not want to advertise site-2 (R2) network, towards your external partner, AS 400.

Here is the current status:
============= on R3 ===================
R3#sh ip bgp
   Network          Next Hop            Metric LocPrf Weight Path
*>                 0             0 400 i
*>             0    100      0 (65100) i
r>             0    100      0 (65100 65200) i

============= on R4 ===================
R4#sh ip bgp
   Network          Next Hop            Metric LocPrf Weight Path
*>                  0         32768 i
*>                               0 123 i
*>                               0 123 i

How can you achieve the task (don't advertise to R4) without modifying the ALLOW-ALL route-map (or applying other policies to the BGP neighbors) ?
The configuration needs to be applied only on R3.

Post your answer in the ‘Comments’ section below and subscribe to this blog to get the detailed solution and more interesting quizzes.