Jump to content

BGP: Difference between revisions

1,005 bytes added ,  3 years ago
Line 331:
 
*BGP Route Aggregation with Static Discard Route:
Firstly create an aggregate address with a static discard route 70.36.0.0/20 pointing to a null interface.
The discard static route 70.36.0.0/20 configured on a router R1 makes the router to discard any packet that matches the route.
However, as long as there are more specific (longer prefix) working routes in a routing table of the router R1, packets matching these routes are not discarded.
The BGP tables of R2 and R3 routers are injected with the network command configured on R1 router, matching the static discard route.
 
router bgp 3695
Line 340 ⟶ 344:
 
*BGP Route Aggregation with Aggregate-address Command
 
Now make the router R1 advertise the aggregate prefix 70.36.0.0/20 to its BGP neighbor R2.
The aggregate address is advertised to a neighbor as long as it represents at least one part of the aggregate address in the BGP table of a router.
The parts are called components or the contributing routes and represent more specific matches for the aggregated route.
We will inject a single route 70.36.0.0/24 into the BGP table of R1 with the network command.
 
router bgp 3695
Line 347 ⟶ 356:
neighbor 12.0.0.2 remote-as 11260
 
{{UC}}
*Option summary-only
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.