11-20-2024 06:36 AM
I have two routers, R6 and R7. I aggregated routes to R6 and used a suppress map to stop 172.20.1.0 and 172.20.4.0 from being advertised. It worked. I then configured an unsuppress map to advertise those two routes to R6. However, it has been unsuccessful. (this is a learning exercise)
11-20-2024 06:40 AM - edited 11-24-2024 04:52 AM
MHM
11-20-2024 08:39 AM
Summary-only did not solve the issue. The unsurpress map still isn't passing the routes to R6.
11-20-2024 08:45 AM - edited 11-20-2024 09:03 AM
did you clear ip bgp ?
you need to clear ip bgp to make config take effect
then check in R6 172.20.1.0 and 172.20.4.0
MHM
11-20-2024 08:50 AM
I did. Also, the routes being advertised to change.
Before:
After:
11-20-2024 09:03 AM
I run lab and it work perfect
can I see last code you use
11-20-2024 10:48 AM
Try my config files.
11-20-2024 10:51 AM
What last code you use' share it here
The config in your original post dont include summary only and I done sure what else change.
MHM
11-20-2024 09:08 AM
Hello @ajkelsey78
Try stating a prefix specific of the the summary and not a default route to unsuppress
11-20-2024 10:52 AM
I tried using 172.20.0.0/21 with no luck.
11-21-2024 01:44 AM - edited 11-21-2024 01:45 AM
Hello
@ajkelsey78 wrote:
I tried using 172.20.0.0/21 with no luck.
If you wish to initially suppress/unsuppress certain routes to ALL peers at the same time then you use the suppress-map
Example1:
route-map Suppress-Map deny 10 <--- all routes specified in the deny RM WILL NOT be suppressed
match ip address Suppress-1-4
route-map Suppress-Map permit 100
or
route-map Suppress-Map permit 10 <--- all routes specified in the permit RM WILL be suppressed
match ip address Suppress-1-4
aggregate-address 172.20.0.0 255.255.248.0 suppress-map Suppress-Map
Example2:
If you wish to initially suppress certain routes to ALL peers at the same time and then unsuppress to a particular peer then you use a unsuppress map
route-map Suppress-Map permit 10 <--- all routes specified in the permit RM WILL be suppressed
match ip address Suppress-1-4
ip access-list standard ALLOW-ALL-TO-R6
permit 172.20.1.0 0.0.0.255
route-map Unsuppress-Map
match ip address ALLOW-ALL-TO-R6
aggregate-address 172.20.0.0 255.255.248.0 suppress-map Suppress-Map
neighbor <r6> unsuppress-map Unsuppress-Map
Example3:
If you wish to initially suppress ALL routes to ALL peers at the same time and then unsuppress to a particular peer then you can use the summary only command without any suppress-map then utilise an unsuppress-map for particular peers to advertise specific routes along with the summary route
ip access-list standard ALLOW-ALL-TO-R6
permit 172.20.1.0 0.0.0.255
route-map Unsuppress-Map
match ip address ALLOW-ALL-TO-R6
aggregate-address 172.20.0.0 255.255.248.0 summary-only
neighbor <r6> unsuppress-map Unsuppress-Map
11-21-2024 01:53 AM
apologize but Ex2 is same as Ex3
you use aggregate with suppress ALL which is same as aggregate with summary-only
MHM
11-21-2024 02:01 AM
Hello @MHM Cisco World
not so sure I understand..
Example2 = certain specfic routes not ALL specific routes are being suppressed based on the OPs already assigned route-map and acl
Example3 = ALL specific routes are being suppressed using the summary-only command and then a unsuppress map is used again based on the OP already assigned route-map and acl
11-21-2024 02:09 AM
Suppress-1-4 <<- Maybe I get this wrong' I was think this include all prefix.
MHM
11-21-2024 02:28 AM
ip access-list standard Suppress-1-4
permit 172.20.1.0 0.0.0.255
permit 172.20.4.0 0.0.0.255
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide