butoon

Selasa, 20 Desember 2011

Setting MPLS

Blog EntriMPLS Setting dan Konfigurasi Dasar

MPLS (Multi Protocol Label Switching) merupakan suatu cara untuk pengiriman paket data dengan kecepatan tinggi. Protocol ini bekerja dengan di antara layer 2 dengan layer 3 menggunakan label untuk switching. Sehingga bersifat skalabilitas dan cepat.


Berikut adalah gambar topologinya :




Keterangan gambar :Router P (Provider) terhubung dengan router-router PE yang lain.
Router PE (Provider Edge) fungsinya menghubungkan Router CE ke Router P
Router CE (Customer Edge) , router di sisi pelanggan
Setting MPLS Backbone


hostname PE1
interface Loopback0
 ip address 10.10.10.1 255.255.255.255
!
interface Serial1/0
 ip address 192.168.10.1 255.255.255.252
 mpls ip (yang terkoneksi ke router P-mengaktifkan mpls)
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes
 network 10.10.10.1 0.0.0.0 area 0
 network 192.168.10.1 0.0.0.0 area 0
!
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.10.10.2 remote-as 65000
 neighbor 10.10.10.2 update-source Loopback0
 no auto-summary


=======================
Pada router P
Hostname P
interface Loopback0
 ip address 10.10.10.10 255.255.255.255
!
interface Serial1/0
 ip address 192.168.10.2 255.255.255.252
 mpls ip (setingan pada router P)
 no fair-queue
 serial restart-delay 0
!
interface Serial1/1
 ip address 192.168.20.1 255.255.255.252
 mpls ip (setingan pada router P)
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes
 network 10.10.10.10 0.0.0.0 area 0
 network 192.168.10.2 0.0.0.0 area 0
 network 192.168.20.1 0.0.0.0 area 0
!
=========================
hostname PE2


interface Loopback0
 ip address 10.10.10.2 255.255.255.255
!
interface Serial1/1
 ip address 192.168.20.2 255.255.255.252
 mpls ip
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes
 network 10.10.10.2 0.0.0.0 area 0
 network 192.168.20.2 0.0.0.0 area 0
!
router bgp 65000 (mengaktifkan BGP)
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.10.10.1 remote-as 65000
 neighbor 10.10.10.1 update-source Loopback0
 no auto-summary
!


Cek BGP Peering antara PE1 dengan PE2
PE2#sh ip bgp sum
BGP router identifier 10.10.10.2, local AS number 65000
BGP table version is 1, main routing table version 1


Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.10.10.1      4 65000      14      14        1    0    0 00:11:06        0
PE2#


Verifikasi MPLS telah terbentuk

PE2#show mpls forwarding-table
Local  Outgoing    Prefix            Bytes tag  Outgoing   Next Hop
tag    tag or VC   or Tunnel Id      switched   interface
16     Pop tag     192.168.10.0/30   0          Se1/1      point2point
17     Pop tag     10.10.10.10/32    0          Se1/1      point2point
18     17          10.10.10.1/32     0          Se1/1      point2point
PE2#

Tidak ada komentar:

Posting Komentar