2013/11/17

WB1 7.35 BGP Aggregation - Advertise Map

7.35 BGP Aggregation - Advertise Map
• Configure R2 with two new Loopback interfaces with the IP addresses 222.22.0.1/24 and 222.22.1.1/24 and advertise them into BGP.
• Configure SW3 with a new Loopback interface with the IP address 222.22.3.1/24 and advertise it into BGP.
• Configure R4 and R6 to advertise the aggregate 222.22.0.0/22 into BGP. Include as much of the original AS-Path information as possible while still allowing devices in AS 300 to install the aggregate in the BGP table.


--------------------------------------------------

R2:
interface Loopback220
ip address 222.22.0.1 255.255.255.0
!
interface Loopback221
ip address 222.22.1.1 255.255.255.0
!
router bgp 200
network 222.22.0.0 mask 255.255.255.0
network 222.22.1.0 mask 255.255.255.0


SW3:
interface Loopback 223
ip address 222.22.3.1 255.255.255.0
!
router bgp 300
network 222.22.3.0 mask 255.255.255.0

R4, R6:
ip prefix-list AS300_PREFIX permit 222.22.3.0/24
!
route-map ADVERTISE_MAP deny 10
match ip address prefix-list AS300_PREFIX
!
route-map ADVERTISE_MAP permit 100
!
router bgp 100
aggregate-address 222.22.0.0 255.255.252.0 summary-only as-set
advertise-map ADVERTISE_MAP

沒有留言:

張貼留言