BGP COMMUNITY - BGP #8
BGP COMMUNITY - BGP
Alat dan Bahan :
- Laptop / PC
- EVE NG
nah untuk lab ini membahas lab BGP yang membahas sebuah salah satu atribute BGP Community digunakan untuk menambahka informasi tambahan pada setiap prefix yang diadvertise ke router tetangga yang menjalankan BGP. Ada 4 community default yang bisa kita gunakan atau bisa juga menggunakan nilai numerik.
perhatikan topologi berikut,
No-Export,
apabila IP Loopback 1.1.1.1 tidak ingin di advertise di AS yang berbeda
R-1(config)#access-list 1 permit host 1.1.1.1
R-1(config)#route-map no-export
R-1(config-route-map)#match ip address 1
R-1(config-route-map)#set community no-export
R-1(config)#router bgp 1
R-1(config-router)#neighbor 10.10.10.2 route-map no-export out
R-1(config-router)#neighbor 10.10.10.2 send-community
No-Advertise
apabila IP Loopback 3.3.3.3 tidak ingin di advertise di AS yang sama dan berbeda
R-3(config)#access-list 1 permit host 3.3.3.3
R-3(config)#route-map no-advertise
R-3(config-route-map)#match ip address 1
R-3(config-route-map)#set community no-advertise
R-3(config)#router bgp 1
R-3(config-router)#neighbor 20.20.20.1 route-map no-advertise out
R-3(config-router)#neighbor 20.20.20.1 send-community
Komentar
Posting Komentar