Rabu, 15 Maret 2017

BGP Peer Group

BGP Peer Group adalah teknik penulisan command dengan mengumpulkan policy yang sama dalam sebuah grup dan dapat kita gunakan. Tujuannya untuk menyederhanakan konfigurasi BGP.
bgp peer group
Topologi masih sama. Hapus BGP 1234 disemua router lalu konfigurasi ulang dengan peer group.
R1,R2,R3,R4(config)#no router bgp 1234

R1(config-router)#router bgp 1234
R1(config-router)#neighbor IBGP peer-group
R1(config-router)#neighbor IBGP remote-as 1234
R1(config-router)#neighbor IBGP password 5 CCIE123
R1(config-router)#neighbor IBGP update-source Loopback0
R1(config-router)#neighbor 2.2.2.2 peer-group IBGP
R1(config-router)#neighbor 3.3.3.3 peer-group IBGP
R1(config-router)#neighbor 4.4.4.4 peer-group IBGP
R1(config-router)#network 11.11.11.11 mask 255.255.255.255

R2(config-router)#router bgp 1234
R2(config-router)#neighbor IBGP peer-group
R2(config-router)#neighbor IBGP remote-as 1234
R2(config-router)#neighbor IBGP password 5 CCIE123
R2(config-router)#neighbor IBGP update-source Loopback0
R2(config-router)#neighbor 1.1.1.1 peer-group IBGP
R2(config-router)#neighbor 3.3.3.3 peer-group IBGP
R2(config-router)#neighbor 4.4.4.4 peer-group IBGP

R3(config)#router bgp 1234
R3(config-router)#neighbor IBGP peer-group
R3(config-router)#neighbor IBGP remote-as 1234
R3(config-router)#neighbor IBGP password 5 CCIE123
R3(config-router)#neighbor IBGP update-source Loopback0
R3(config-router)#neighbor 1.1.1.1 peer-group IBGP
R3(config-router)#neighbor 2.2.2.2 peer-group IBGP
R3(config-router)#neighbor 4.4.4.4 peer-group IBGP

R4(config)#router bgp 1234
R4(config-router)#neighbor IBGP peer-group
R4(config-router)#neighbor IBGP remote-as 1234
R4(config-router)#neighbor IBGP password 5 CCIE123
R4(config-router)#neighbor IBGP update-source Loopback0
R4(config-router)#neighbor 1.1.1.1 peer-group IBGP
R4(config-router)#neighbor 2.2.2.2 peer-group IBGP
R4(config-router)#neighbor 3.3.3.3 peer-group IBGP


NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
 

Delivered by FeedBurner