ALLOW RTB TO ADVERTISE THE PREFIX 160
Request: Allow RTB to advertise the prefix 160.0.0.0 and suppress
all the more specific routes. The problem here is that network 160.10.0.0
is local to AS200 i.e. AS200 is the originator of 160.10.0.0.
You cannot have RTB generate a prefix for 160.0.0.0 without generating
an entry for 160.10.0.0 even if you use the “aggregate summary-only”
command because RTB is the originator of 160.10.0.0.
Solution 1:
The first solution is to use a static route and redistribute it into BGP.
The outcome is that RTB will advertise the aggregate with an origin of
incomplete (?).
RTB#
router bgp 200
neighbor 3.3.3.1 remote-as 300
redistribute static (This will generate an update for 160.0.0.0 with the
origin path as *incomplete*)
ip route 160.0.0.0 255.0.0.0 null0
Solution 2:
In addition to the static route we add an entry for the network command,
this will have the same effect except that the origin of the update will
be set to IGP.
network 160.0.0.0 mask 255.0.0.0 (this will mark the update with origin
IGP)
redistribute static