BGP partial feed

Материал из wiki
Перейти к: навигация, поиск
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)
!