LAB 2: Configure BGP di IOS XR

Lab 2 ini akan dikonfigurasi BGP di IOS-XR virtual, lebih tepatnya MP-BGP. Caranya sama dengan Lab 1. Berikut saya tampilkan topology update dari Lab 1.

5. xr gns3Misalnya router “xr-virtual” akan ngobrol iBGP dengan router R5 dimana R5 adalah router reflector.

xr-virtual (config)#router bgp 65000

xr-virtual (config-bgp)#address-family vpnv4 unicast

xr-virtual (config-bgp-af)#exit

xr-virtual (config-bgp)#neighbor 5.5.5.5

xr-virtual (config-bgp-nbr)#remote-as 65000

xr-virtual (config-bgp-nbr)#update-source loopback 0

xr-virtual (config-bgp-nbr)#address-family vpnv4 unicast

xr-virtual (config-bgp-nbr-af)#commit

xr-virtual (config-bgp-nbr-af)#^z

di sisi R5, lakukan konfigurasi router reflector dengan menjadikan router xr-virtual sebagai client.

R5#sh run | sec bgp
router bgp 65000
bgp router-id 5.5.5.5
bgp log-neighbor-changes
neighbor BGP-PEER-GROUP peer-group
neighbor BGP-PEER-GROUP remote-as 65000
neighbor BGP-PEER-GROUP update-source Loopback0
neighbor 2.2.2.2 peer-group BGP-PEER-GROUP
neighbor 3.3.3.3 peer-group BGP-PEER-GROUP
!
address-family vpnv4
neighbor BGP-PEER-GROUP send-community extended
neighbor BGP-PEER-GROUP route-reflector-client
neighbor 2.2.2.2 activate
neighbor 3.3.3.3 activate
exit-address-family
R5#

Jangan lupa mengaktifkan mpls di setiap interface yang terkoneksi. DI XR, misalnya seperti berikut:

xr-virtual(c0nfig)#mpls ldp

xr-virtual(c0nfig-ldp)#interface gig 0/0/0/0

xr-virtual(c0nfig-ldp)#commit

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s