Konfigurasi Routing BGP
Konfigurasi Routing BGP
Konfigurasi Routing BGP
==================================
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Konfigurasi interface
===================================
Router(config)#hostname R1
R1(config)#int g0/1
R1(config-if)#ip add 192.168.0.1 255.255.255.0
R1(config-if)#no sh
R1(config)#int g0/0
R1(config-if)#ip add 30.56.164.1 255.255.255.252
R1(config-if)#no sh
Validasi BGP
===================================
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
R1#sh ip pro
Routing Protocol is "bgp 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
Neighbor(s):
Address FiltIn FiltOut DistIn DistOut Weight RouteMap
30.56.164.2
Maximum path: 1
Routing Information Sources:
Gateway Distance Last Update
30.56.164.2 20 00:00:00
Distance: external 20 internal 200 local 200
R1#
Router R2
==================================
Konfigurasi interface
===================================
Router(config)#hostname R1
R1(config)#int g0/1
R1(config-if)#ip add 110.200.200.1 255.255.255.248
R1(config-if)#no sh
R1(config)#int g0/0
R1(config-if)#ip add 30.56.164.2 255.255.255.252
R1(config-if)#no sh
Validasi BGP
===================================
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Router#sh ip protocols
Routing Protocol is "bgp 20"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
Neighbor(s):
Address FiltIn FiltOut DistIn DistOut Weight RouteMap
30.56.164.1
Maximum path: 1
Routing Information Sources:
Gateway Distance Last Update
30.56.164.1 20 00:00:00
Distance: external 20 internal 200 local 200
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 2 1
Keepalives: 2 2
Route Refresh: 0 0
Total: 5 4
Default minimum time between advertisements runs is 30 seconds