Skip to main content

BGP Aggregator

LAB 10 BGP Aggregator


Kita masih menggunakan topologi pada lab sebelumnya. Kita tambahkan beberapa ip loopback di R4 yang nantinya akan di aggregate.


R4

R4(config)#int lo1

R4(config-if)#ip add 4.1.1.1 255.255.255.255 R4(config-if)#int lo2

R4(config-if)#ip add 4.2.1.1 255.255.255.255 R4(config-if)#int lo3

R4(config-if)#ip add 4.3.1.1 255.255.255.255 R4(config-if)#int lo4

R4(config-if)#ip add 4.4.1.1 255.255.255.255 R4(config-if)#int lo5

R4(config-if)#ip add 4.5.1.1


R2

R2(config)#do sh ip bgp

Network Next Hop Metric LocPrf Weight Path

*> 4.1.1.1/32 24.24.24.4 0 0 4 i

*> 4.2.1.1/32 24.24.24.4 0 0 4 i

*> 4.3.1.1/32 24.24.24.4 0 0 4 i

*> 4.4.1.1/32 24.24.24.4 0 0 4 i

*> 4.4.4.4/32 24.24.24.4 0 0 4 i

*> 4.5.1.1/32 24.24.24.4 0 0 4 i

*> 4.6.1.1/32 24.24.24.4 0 0 4 i


R4

R4(config)#router bgp 4

R4(config-router)#aggregate-address 4.0.0.0 255.248.0.0


R2

R2(config)#do show ip bgp

Network Next Hop Metric LocPrf Weight Path

*> 4.0.0.0/13 24.24.24.4 0 0 4 i

*> 4.1.1.1/32 24.24.24.4 0 0 4 i

*> 4.2.1.1/32 24.24.24.4 0 0 4 i

*> 4.3.1.1/32 24.24.24.4 0 0 4 i

*> 4.4.1.1/32 24.24.24.4 0 0 4 i

*> 4.4.4.4/32 24.24.24.4 0 0 4 i

*> 4.5.1.1/32 24.24.24.4 0 0 4 i

*> 4.6.1.1/32 24.24.24.4 0 0 4 i

R4

R4(config)#router bgp 4

R4(config-router)#aggregate-address 4.0.0.0 255.248.0.0 summary-only


R2

R2(config)#do show ip bgp

Network Next Hop Metric LocPrf Weight Path

*> 4.0.0.0/13 24.24.24.4 0 0 4 i

R4

R4(config)#access-list 1 permit host 4.2.1.1

R4(config)#access-list 1 permit host 4.3.1.1

R4(config)#access-list 1 permit host 4.4.1.1 R4(config)#access-list 1 deny any

R4(config)#do show ip bgp

Network Next Hop Metric LocPrf Weight Path

*> 4.0.0.0/13 0.0.0.0 32768 i

*> 4.1.1.1/32 0.0.0.0 0 32768 i

s> 4.2.1.1/32 0.0.0.0 0 32768 i

s> 4.3.1.1/32 0.0.0.0 0 32768 i

s> 4.4.1.1/32 0.0.0.0 0 32768 i

*> 4.4.4.4/32 0.0.0.0 0 32768 i

*> 4.5.1.1/32 0.0.0.0 0 32768 i

*> 4.6.1.1/32 0.0.0.0 0 32768 i




Comments