LAB 7. BGP Attribute (Origin)
LAB 7. BGP Attribute (Origin)
Origin adalah attribute yang digunakan untuk pemilihan jalur pada BGP. Advertise network loopback 11 pada R1 ke dalam RIP, kita redistribute ke BGP dan hapus R4 dari RR-Client R1 dan konfig EBGP pada R3 dan R4.
R1:
Router-1#show ip int brief | i up
FastEthernet0/0 12.12.12.1 YES NVRAM up up
Loopback0 1.1.1.1 YES NVRAM up up
Loopback11 11.11.11.11 YES NVRAM up up
Router-1#
R1:
Router-1(config)#router rip
Router-1(config-router)#version 2
Router-1(config-router)#network 11.11.11.11
Router-1(config-router)#no auto-summary
Router-1(config-router)#ex
Router-1(config)#router bgp 1234
Router-1(config-router)#redistribute rip
Router-1(config-router)#no neighbor 4.4.4.4 remote-as 1234
Router-1(config-router)#ex
R3:
Router-3(config)#router bgp 1234
Router-3(config-router)#neighbor 34.34.34.4 remote-as 4
Router-3(config-router)#neighbor 1.1.1.1 next-hop-self
Router-3(config-router)#ex
R4:
Router-4(config)#no router bgp 1234
Router-4(config)#router bgp 4
Router-4(config-router)#neighbor 34.34.34.3 remote-as 1234
Router-4(config-router)#network 44.44.44.44 mask 255.255.255.255
Hasil akhirnya bisa dilihat di R3, show ip bgp.
R3:
Router-3(config)#do sh ip bgp
BGP table version is 5, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i11.11.11.11/32 1.1.1.1 0 100 0 ?
*> 44.44.44.44/32 34.34.34.4 0 0 4 i
Router-3(config)#
Komentar
Posting Komentar