BGP partial feed — различия между версиями
Moiseevvi (обсуждение | вклад) (Новая страница: «[code] R2::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ! ! interface FastEthernet0/0 ip address <to-ISP-edge> ! interface FastEthernet0…») |
Moiseevvi (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | + | <code> | |
R2::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | R2::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
! | ! | ||
Строка 31: | Строка 31: | ||
ip route 0.0.0.0 0.0.0.0 <ISP> ! Must be for Partial-Feed (or receive one) | ip route 0.0.0.0 0.0.0.0 <ISP> ! Must be for Partial-Feed (or receive one) | ||
! | ! | ||
− | + | </code> | |
+ | [[категория:Лекции]] | ||
+ | [[категория:Сети]] | ||
+ | [[категория:Cisco]] | ||
+ | [[категория:Маршрутизация]] |
Текущая версия на 05:37, 20 сентября 2016
R2:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
!
!
interface FastEthernet0/0
ip address <to-ISP-edge>
!
interface FastEthernet0/1
ip address <to-LAN>
!
ip prefix-list my seq 5 permit <LAN prefix>
!
ip prefix-list partial-feed seq 5 permit 0.0.0.0/0 le 16 ! 16bit prefixes max
ip prefix-list partial-feed seq 10 permit <Exceptions> ! some locals
!
! around 16k prefixes as per 2016
!
!
!
!
router bgp <AS-LAN>
neighbor <ISP-R> remote-as <AS-ISP>
neighbor <ISP-R> ebgp-multihop <hops>
!
address-family ipv4
network <LAN>
neighbor <ISP-R> prefix-list partial-feed in
neighbor <ISP-R> prefix-list my out
!
ip route <ISP-R> <ISP-GW> ! host route to ISP-BGP-peer via ISP-edge-GW
ip route 0.0.0.0 0.0.0.0 <ISP> ! Must be for Partial-Feed (or receive one)
!