CCNP - MPLS Backbone

 

Lab 25 MPLS Backbone

MPLS  singkatan dari Multi Protocol Label Switching merupakan sebuah teknologi dalam sistem komunikasi berbasis IP yang efisien dan memudahkan manajemen trafik data, yaitu dengan cara mengirimkan data berdasarkan prioritas pada label data yang lewat, bukan berdasarkan IP Address, sehingga lebih terjamin kualitasnya. Teknologi MPLS merupakan penggabungan antara IP dan Asynchrounous Transfer Mode (ATM). MPLS mampu membentuk virtual circuit dalam network — nya.


PE-1(config)#int loopback 0
PE-1(config-if)#ip add 10.10.10.1 255.255.255.255
PE-1(config-if)#ex
PE-1(config)#int g3/0
PE-1(config-if)#ip add 192.168.10.1 255.255.255.252
PE-1(config-if)#no shutdown
PE-1(config-if)#description
PE-1(config-if)#description ###Link to P Router###

R2(config)#hostname P
P(config)#int loopback 0P(config-if)#ip add 10.10.10.10 255.255.255.255
P(config-if)#int g3/0
P(config-if)#ip add 192.168.10.2 255.255.255.252
P(config-if)#no shutdown
P(config-if)#description ###Link to PE1 Router###
P(config-if)#int g4/0
P(config-if)#ip add 192.168.20.1 255.255.255.252
P(config-if)#no shutdown
P(config-if)#description ###Link to PE2 Router###

Selanjutnya kita mengaktifkan Dynamic Routing (OSPF)

PE1(config)#router ospf 1
PE1(config-router)#network 192.168.10.1 0.0.0.0 area 0
PE1(config-router)#network 10.10.10.1 0.0.0.0 area 0

P(config)#router ospf 1
P(config-router)#network 192.168.10.2 0.0.0.0 area 0
P(config-router)#network 192.168.20.1 0.0.0.0 area 0
P(config-router)#network 10.10.10.10 0.0.0.0 area 0

PE2(config)#router ospf 1
PE2(config-router)#network 192.168.20.2 0.0.0.0 area 0
PE2(config-router)#network 10.10.10.2 0.0.0.0 area 0

PE1#sh ip route
192.168.10.0/30 is subnetted, 1 subnets
C 192.168.10.0 is directly connected, GigabitEthernet1/0
192.168.20.0/30 is subnetted, 1 subnets
O 192.168.20.0 [110/2] via 192.168.10.2, 00:21:29, GigabitEthernet3/0
10.0.0.0/32 is subnetted, 3 subnets
O 10.10.10.10 [110/2] via 192.168.10.2, 00:21:19, GigabitEthernet3/0
O 10.10.10.2 [110/3] via 192.168.10.2, 00:07:00, GigabitEthernet3/0
C 10.10.10.1 is directly connected, Loopback0

P#show ip route
192.168.10.0/30 is subnetted, 1 subnets
C 192.168.10.0 is directly connected, GigabitEthernet3/0
192.168.20.0/30 is subnetted, 1 subnets
C 192.168.20.0 is directly connected, GigabitEthernet4/0
10.0.0.0/32 is subnetted, 3 subnets
C 10.10.10.10 is directly connected, Loopback0
O 10.10.10.2 [110/2] via 192.168.20.2, 00:07:56, GigabitEthernet4/0
O 10.10.10.1 [110/2] via 192.168.10.1, 00:22:28, GigabitEthernet3/0
 192.168.10.0/30 is subnetted, 1 subnets
O 192.168.10.0 [110/2] via 192.168.20.1, 00:11:24, GigabitEthernet3/0
192.168.20.0/30 is subnetted, 1 subnets
C 192.168.20.0 is directly connected, GigabitEthernet3/0
10.0.0.0/32 is subnetted, 3 subnets
O 10.10.10.10 [110/2] via 192.168.20.1, 00:11:24, GigabitEthernet3/0
C 10.10.10.2 is directly connected, Loopback0
O 10.10.10.1 [110/3] via 192.168.20.1, 00:11:24, GigabitEthernet3/0 

Setelah itu kita mengaktifkan BGP

PE1(config)#router bgp 65000
PE1(config-router)#neighbor 10.10.10.2 remote-as 65000
PE1(config-router)#neighbor 10.10.10.2 update-source loopback0

PE2(config)#router bgp 65000
PE2(config-router)#neighbor 10.10.10.1 remote-as 65000
PE2(config-router)#neighbor 10.10.10.1 update-source loopback0

PE1#sh ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.10.10.2 4 65000 3 3 1 0 0 00:00:57 0

PE2#sh ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.10.10.1 4 65000 5 5 1 0 0 00:03:11 0

Jika sudah kita aktifkan MPLS 

PE1(config)#mpls ip
PE1(config)#int g3/0
PE1(config-if)#mpls ip

P(config)#mpls ip
P(config)#int g3/0
P(config-if)#mpls ip
P(config-if)#int g4/0
P(config-if)#mpls ip

PE2(config)#mpls ip
PE2(config)#int g3/0
PE2(config-if)#mpls ip

Sekarang tinggal kita cek

PE1(config)#do show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
16 17 10.10.10.2/32 0 Gi1/0 192.168.10.2
17 Pop Label 10.10.10.10/32 0 Gi3/0 192.168.10.2
18 Pop Label 192.168.20.0/30 0 Gi3/0 192.168.10.2

P(config)#do show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
16 Pop Label 10.10.10.1/32 762 Gi3/0 192.168.10.1
17 Pop Label 10.10.10.2/32 1016 Gi3/0 192.168.20.2

PE2(config)#do show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
16 16 10.10.10.1/32 0 Gi3/0 192.168.20.1
17 Pop Label 10.10.10.10/32 0 Gi3/0 192.168.20.1
18 Pop Label 192.168.10.0/30 0 Gi3/0 192.168.20.1 

PE2(config)#do show mpls forwarding
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or VC or Tunnel Id Switched interface
16 16 10.10.10.1/32 0 Gi3/0 192.168.20.1
17 Pop Label 10.10.10.10/32 0 Gi3/0 192.168.20.1
18 Pop Label 192.168.10.0/30 0 Gi3/0 192.168.20.1

PE2(config)#do trace 10.10.10.1
Type escape sequence to abort.
Tracing the route to 10.10.10.1
1 192.168.20.1 [MPLS: Label 16 Exp 0] 40 msec 32 msec 40 msec
2 192.168.10.1 36 msec 40 msec 40 msec

Jika sudah seperti ini maka ini sudah berhasil :)

Komentar

Postingan populer dari blog ini

CCNP - GLBP (Gateway Load Balancing Protocol)

CCNP - eBGP Peering

CCNP - IPv6 Tunneling IPv6IP 6to4