Lab29. BGP Attribute (Aggregator & Automic Aggregate)

bgpattributecommuniyObjective
Attribut BGP ini akan ada bila dikonfigurasikan summarization, maka lab kali ini kita akan belajar mensummarization suatu route pada BGP

Metode Lab

  • Melanjutkan konfigurasi topologi sebelumnya atau download file http://adf.ly/Sfje0
  • Buat beberapa IP loopback di R4, kemudian advertise ke BGP
  • Lakukan summarisasi untuk ip loopback tersebut

Verifikasi

  • Pastikan bgp adjacency nya tetap terbentuk
  • Pastikan ip loopback yang diadvertise ke BGP bisa diping semua router

Tambahkan beberapa IP Loopback di R4 yang nantinya akan di aggregate
R4(config)#int lo1
R4(config-if)#ip addr 40.1.1.1 255.255.255.255
R4(config-if)#int lo2
R4(config-if)#ip addr 40.2.1.1 255.255.255.255
R4(config-if)#int lo3
R4(config-if)#ip addr 40.3.1.1 255.255.255.255
R4(config-if)#int lo4
R4(config-if)#ip addr 40.4.1.1 255.255.255.255
R4(config-if)#int lo5
R4(config-if)#ip addr 40.5.1.1 255.255.255.255
R4(config-if)#int lo6
R4(config-if)#ip addr 40.6.1.1 255.255.255.255

Advertise ke BGP
R4(config)#router bgp 4
R4(config-router)#net 40.1.1.1 mask 255.255.255.255
R4(config-router)#net 40.2.1.1 mask 255.255.255.255
R4(config-router)#net 40.3.1.1 mask 255.255.255.255
R4(config-router)#net 40.4.1.1 mask 255.255.255.255
R4(config-router)#net 40.5.1.1 mask 255.255.255.255
R4(config-router)#net 40.6.1.1 mask 255.255.255.255

Cek route di R1, dimana muncul banyak route network 40.x.x.x
1
Lakukan Aggregate di R4
R4(config)#router bgp 4
R4(config-router)#aggregate-address 40.0.0.0 255.248.0.0

Cek kembali BGP Route di R1, pastikan muncul route summarizationya
2
Pada BGP route yang disummarisasi, route aslinya tetap tidak mau hilang, hanya nambah 1 route hasil summarisasi saja
3
Lakukan Aggregate single route di R4, agar hanya muncul 1 route summarisasi saja
R4(config)#router bgp 4
R4(config-router)#aggregate-address 40.0.0.0 255.248.0.0 summary-only

Cek kembali BGP di Route R1
4
Sudah muncul 1 route summarisasi saja

Berikutnya bila yang ingin di summarisasikan hanya beberapa route saja, tidak semua yang dalam satu blok subnet, maka konfigurasi Aggregate Suppress Map berikut
R4(config)#access-list 1 permit host 40.2.1.1
R4(config)#access-list 1 permit host 40.3.1.1
R4(config)#access-list 1 permit host 40.4.1.1
R4(config)#access-list 1 deny any
R4(config)#route-map BLOK
R4(config-route-map)#match ip addr 1
R4(config-route-map)#router bgp 4
R4(config-router)#aggregate-address 40.0.0.0 255.248.0.0 suppress-map BLOK

Muncul S (suppress map) pada bgp route nya
5
Cek kembali BGP Route di R1, summarisasi hanya yang di suppress map saja
6

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.