iT邦幫忙

0

BGP advertised-routes

  • 分享至 

  • xImage

我有一個Cisco ISR4431路由器,相關設定如下
ip access-list standard toGCP
10 permit 10.136.0.0 0.0.127.255
20 permit 10.136.128.0 0.0.127.255
30 permit 128.231.0.0 0.0.31.255
40 permit 128.231.32.0 0.0.31.255
!
route-map toGCP
match ip address toGCP
!
router bgp 64581
neighbor 169.254.53.1 remote-as 16550
address-family ipv4
aggregate-address 128.231.32.0 255.255.224.0 summary-only
aggregate-address 128.231.0.0 255.255.224.0 summary-only
aggregate-address 10.136.128.0 255.255.128.0 summary-only
aggregate-address 10.136.0.0 255.255.128.0 summary-only
redistribute eigrp 100 route-map toGCP
neighbor 169.254.53.1 next-hop-self

還有show輸出
show ip bgp neighbors 169.254.53.1 advertised-routes
Network Next Hop Metric LocPrf Weight Path
*> 10.136.0.0/17 0.0.0.0 32768 i
*> 10.136.0.0/16 10.136.14.94 2816 32768 ?
*> 10.136.128.0/17 0.0.0.0 32768 i
*> 128.231.0.0/19 0.0.0.0 32768 i
*> 128.231.32.0/19 0.0.0.0 32768 i

我的問題是我不要通告10.136.0.0/16,我只要通告4筆路由給BGP對等
128.231.32.0 / 19
128.231.0.0 / 19
10.136.128.0 / 17
10.136.0.0 / 17
請問我應該如何解決這個問題? 期望回覆與感激!

bluegrass iT邦高手 1 級 ‧ 2024-04-19 08:59:25 檢舉
你是在BGP本來就運行情況下改動aggregate-address 加入SUMMARY-ONLY嗎?

有先試過重設BGP不
指令是
clear ip bgp *
I.T. Wang iT邦新手 2 級 ‧ 2024-04-19 11:20:47 檢舉
「BGP本來就運行情況下改動aggregate-address 加入SUMMARY-ONLY嗎?」
不是,是建立BGP同時加入summary-only。

clear ip bgp *
硬清有試過
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
heyduggeek
iT邦見習生 ‧ 2024-04-19 09:42:31
【**此則訊息已被站方移除**】

尚未有邦友回答

立即登入回答