Имеем следующую конфигурацию bgp, на одном аплинке используем bgp community (выставляем prepend - аж по 5 ) , но почему то имеем загрузку канала под полку 600 мбит (megafon-out)
Думаю порезать прием /24 на этом аплинке...или может подскажите в каком направление двигаться?
- Код: Выделить всё
remarks: | Community to INTERNATIONAL UPSTREAMS
remarks: +-------------------------------------------------------------------------------+
remarks: | 31133:1000x - All international upstreams
...
remarks: | x = 0 - advertise to this only (don't advertise to any Upstream)
remarks: | x = 1,2,3 or 5 - prepend 31133 (1,2,3 or 5) times
remarks: | x = 8 - prepend AS31133 3 times to all other International Upstreams
remarks: | x = 9 - don't advertise
remarks: +-------------------------------------------------------------------------------+
remarks:
remarks: +-------------------------------------------------------------------------------+
remarks: | Community to INTERNATIONAL PEERS
remarks: +-------------------------------------------------------------------------------+
remarks: | 31133:2000x - All International peers
...
remarks: |
remarks: | x = 0 - advertise to this only (don't advertise to any other Peer)
remarks: | x = 1,2,3 or 5 - prepend 31133 (1,2,3 or 5) times
remarks: | x = 9 - don't advertise
remarks: +-------------------------------------------------------------------------------+
remarks:
remarks: +-------------------------------------------------------------------------------+
remarks: | Community to RUSSIAN PEERS
remarks: +-------------------------------------------------------------------------------+
remarks: | 31133:2500x - All russian peers
...
remarks: |
remarks: | x = 0 - advertise to this only (don't advertise to any other Peer)
remarks: | x = 1,2,3 or 5 - prepend 31133 (1,2,3 or 5) times
remarks: | x = 9 - don't advertise
remarks: +-------------------------
- Код: Выделить всё
context bgp
ip prefix-list megafon-out
description --Prefixes-anonce-to-Megafon--
seq 10 permit 188.190.128.0/19
seq 20 permit 188.190.144.0/21
seq 40 permit 188.190.128.0/21
seq 50 permit 188.190.136.0/21
seq 60 permit 188.190.152.0/21
seq 100 deny any
!
ip prefix-list ttk-out
description --Prefixes-anonce-to-TTK--
seq 10 permit 188.190.128.0/19
seq 20 permit 188.190.128.0/21
seq 30 permit 188.190.136.0/21
seq 40 permit 188.190.152.0/21
seq 60 permit 188.190.144.0/21
seq 100 deny any
route-map megafon-in deny 10
match ip address prefix-list bogons
route-map megafon-in deny 20
match as-path-list private-as
route-map megafon-in deny 30
match ip address prefix-list default
route-map megafon-in permit 100
set local-preference 100
!
route-map megafon-out permit 10
match ip address prefix-list megafon-out
set community 31133:10005 31133:20005 31133:25005
!
route-map ttk-in deny 10
match ip address prefix-list bogons
route-map ttk-in deny 20
match as-path-list private-as
route-map ttk-in deny 30
match ip address prefix-list default
route-map ttk-in permit 100
set local-preference 100
!
route-map ttk-out permit 10
match ip address prefix-list ttk-out
!
router bgp 56407
router-id 217.150.43.157
multi-paths external 2
address-family ipv4 unicast
network 188.190.128.0/19
network 188.190.128.0/21
network 188.190.136.0/21
network 188.190.144.0/21
network 188.190.152.0/21
!
neighbor 78.25.80.21 external
remote-as 31133
description --Megafon--
update-source uplink-megafon
send community
send ext-community
address-family ipv4 unicast
route-map megafon-in in
route-map megafon-out out
!
neighbor 217.150.43.158 external
remote-as 20485
description --TTK--
update-source uplink-ttk
send community
send ext-community
address-family ipv4 unicast
route-map ttk-in in
route-map ttk-out out