Deaggregating with bgp inject-map


Let’s say we have an aggregate of that we advertise somewhere in our network but we want to advertise also to neighbor A, to neighbor B and to neighbor C at different places as best entry points.

We can do this with bgp inject-map.


(somewhere in network)

router bgp 100

aggregate-address summary-only

network mask


(near the edge to neighbor A)

router bgp 100

bgp inject-map INJECT exist-map EXIST


route-map INJECT permit 10

set ip address prefix-list PARTICULARNETWORK

<any additional parameters here”

route-map EXIST permit 10

match ip address prefix-list AGGREGATE

<any additional conditions here>


There is even a nice show command for this:

R7#show ip bgp injected-paths
BGP table version is 22, local router ID is
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i – IGP, e – EGP, ? – incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 0 i


Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:


Komentujesz korzystając z konta Wyloguj /  Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj /  Zmień )

Zdjęcie na Facebooku

Komentujesz korzystając z konta Facebook. Wyloguj /  Zmień )

Połączenie z %s

%d blogerów lubi to: