Objective
Bila suatu router memiliki banyak peers, kita bisa menggabungkan peersnya kedalam suatu group, sehingga option update-source Lo0, remote-as, route-refletor-client dll tidak perlu diketik berulang-ulang.
Metode Lab
- Melanjutkan konfigurasi topologi sebelumnya, atau bisa di download di http://adf.ly/Sfd8K
- Hapus konfigurasi BGP 12 gantikan dengan BGP 123
- Konfigurasikan peers groupnya
Verifikasi
- Pastikan bgp adjancency tetap terbentuk
- Pastikan ip loopback yang diadvertise ke BGP bisa diping semua router
Konfigurasi R1
R1(config)#no router bgp 12
R1(config)#router bgp 123
R1(config-router)#neighbor INTERNAL peer-group
R1(config-router)#neigh INTERNAL remote-as 123
R1(config-router)#neigh INTERNAL update-source lo0
R1(config-router)#neigh 2.2.2.2 peer-group INTERNAL
R1(config-router)#neigh 3.3.3.3 peer-group INTERNAL
R1(config-router)#net 10.10.10.10 mask 255.255.255.255
Konfigurasi R2
R2(config)#no router bgp 12
R2(config)#router bgp 123
R2(config-router)#neigh INTERNAL peer-group
R2(config-router)#neigh INTERNAL remote-as 123
R2(config-router)#neigh INTERNAL update-source lo0
R2(config-router)#neigh INTERNAL next-hop-self
R2(config-router)#neigh 1.1.1.1 peer-group INTERNAL
R2(config-router)#neigh 3.3.3.3 peer-group INTERNAL
R2(config-router)#neigh 12.12.12.4 remote-as 4
R2(config-router)#net 20.20.20.20 mask 255.255.255.255
Konfigurasi R3
R3(config)#no router bgp 3
R3(config)#router bgp 123
R3(config-router)#neigh INTERNAL peer-group
R3(config-router)#neigh INTERNAL remote-as 123
R3(config-router)#neigh INTERNAL update-source lo0
R3(config-router)#neigh 1.1.1.1 peer-group INTERNAL
R3(config-router)#neigh 2.2.2.2 peer-group INTERNAL
R3(config-router)#net 33.33.33.33 mask 255.255.255.255