09-09-2023 01:14 AM - last edited on 09-11-2023 12:35 AM by Translator
Hi,
Please refer to the attached image. I have configured aggregation on switch2 but for some add reason the subnets which is part of the supernet do not show up as suppressed eith locally.
on swicth2 or on swicth4. Shared below is the output from swicth 2 and switch 4.
switch2#show ip bgp summ
switch2#show ip bgp summary
BGP router identifier 192.168.2.2, local AS number 65000
BGP table version is 6, main routing table version 6
3 network entries using 432 bytes of memory
3 path entries using 252 bytes of memory
2/2 BGP path/bestpath attribute entries using 328 bytes of memory
1 BGP AS-PATH entries using 40 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1052 total bytes of memory
BGP activity 14/11 prefixes, 19/16 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
192.168.2.1 4 65001 29 26 6 0 0 00:19:28 2
192.168.3.1 4 65003 19 26 6 0 0 00:13:31 0
switch4#show ip bgp summ
switch4#show ip bgp summary
BGP router identifier 192.168.3.1, local AS number 65003
BGP table version is 6, main routing table version 6
3 network entries using 432 bytes of memory
3 path entries using 252 bytes of memory
2/2 BGP path/bestpath attribute entries using 328 bytes of memory
2 BGP AS-PATH entries using 64 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1076 total bytes of memory
BGP activity 4/1 prefixes, 4/1 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
192.168.3.2 4 65000 27 20 6 0 0 00:14:25 3
switch4#show ip bgp
BGP table version is 6, local router ID is 192.168.3.1
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,
t secondary path,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.111.188.0/22 192.168.3.2 0 0 65000 i
*> 10.111.189.0/24 192.168.3.2 0 65000 65001 65002 65002 65002 ?
*> 10.111.190.0/24 192.168.3.2 0 65000 65001 65002 65002 65002 ?
BGP Config from all the boxes
switch3
-------
switch3#show run | sec bgp
router bgp 65002
bgp log-neighbor-changes
redistribute connected route-map LOOP
neighbor 192.168.1.2 remote-as 65001
neighbor 192.168.1.2 route-map ASPATH out
switch1
-------
switch1#show run | sec bgp
router bgp 65001
bgp log-neighbor-changes
neighbor 192.168.1.1 remote-as 65002
neighbor 192.168.2.2 remote-as 65000
switch2
-------
router bgp 65000
bgp log-neighbor-changes
aggregate-address 10.111.188.0 255.255.252.0
neighbor 192.168.2.1 remote-as 65001
neighbor 192.168.3.1 remote-as 6500
switch 4
--------
switch4#show run | sec bgp
router bgp 65003
bgp log-neighbor-changes
neighbor 192.168.3.2 remote-as 65000
Solved! Go to Solution.
09-09-2023 01:25 AM - last edited on 09-29-2023 02:03 AM by Translator
Hello @verma-rohit,
On SW-2 do:
aggregate-address 10.111.188.0 255.255.252.0 summary-only
This keyword ensures that only the summarized route is advertised without including the more specific routes.
09-09-2023 01:25 AM - last edited on 09-29-2023 02:03 AM by Translator
Hello @verma-rohit,
On SW-2 do:
aggregate-address 10.111.188.0 255.255.252.0 summary-only
This keyword ensures that only the summarized route is advertised without including the more specific routes.
09-09-2023 01:33 AM - last edited on 01-23-2024 04:21 AM by Translator
I wish to send summary along with suppressed routes to swicth 4. I have intentionally removed summary-only keyword.
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