MPLS - Basic MPLS Part 2
October 24th, 2008 in
CCIE SP | tags:
MPLS
In this part I will show the configurations to make this MPLS network work. Below the picture you can see the relevant configurations.

R1 :
|
mpls label protocol ldp
!
interface Loopback0
ip address 150.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 150.1.13.1 255.255.255.0
ip ospf priority 255
duplex auto
speed auto
tag-switching ip
!
interface FastEthernet1/0
ip address 150.1.14.1 255.255.255.0
ip ospf priority 255
duplex auto
speed auto
tag-switching ip
!
router ospf 1
router-id 150.1.1.1
log-adjacency-changes
network 150.1.1.1 0.0.0.0 area 0
network 150.1.13.1 0.0.0.0 area 0
network 150.1.14.1 0.0.0.0 area 0
|
R2 :
|
interface Loopback0
ip address 150.1.2.2 255.255.255.0
!
interface Loopback1
ip address 10.10.2.2 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.61.2 255.255.255.0
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 150.1.61.1
|
R3 :
|
ip vrf 10_8
rd 150.1.3.3:108
route-target export 10:8
route-target import 10:8
!
ip vrf 13_6
rd 150.1.3.3:136
route-target export 13:66
route-target import 13:66
!
mpls label protocol ldp
!
interface Loopback0
ip address 150.1.3.3 255.255.255.255
!
interface Loopback1
ip address 10.10.3.3 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.13.3 255.255.255.0
duplex auto
speed auto
tag-switching ip
!
interface FastEthernet1/0
ip vrf forwarding 13_6
ip address 150.1.31.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
ip vrf forwarding 10_8
ip address 150.1.38.3 255.255.255.0
duplex auto
speed auto
!
router ospf 1
router-id 150.1.3.3
log-adjacency-changes
network 150.1.3.3 0.0.0.0 area 0
network 150.1.13.3 0.0.0.0 area 0
!
router bgp 1
no synchronization
bgp router-id 10.10.3.3
bgp log-neighbor-changes
neighbor 150.1.4.4 remote-as 1
neighbor 150.1.4.4 update-source Loopback0
neighbor 150.1.4.4 next-hop-self
no auto-summary
!
address-family vpnv4
neighbor 150.1.4.4 activate
neighbor 150.1.4.4 send-community both
exit-address-family
!
address-family ipv4 vrf 13_6
redistribute connected
neighbor 150.1.31.13 remote-as 65010
neighbor 150.1.31.13 activate
neighbor 150.1.38.8 remote-as 65011
neighbor 150.1.38.8 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf 10_8
redistribute connected
neighbor 150.1.38.8 remote-as 65011
neighbor 150.1.38.8 activate
no auto-summary
no synchronization
exit-address-family
|
R4 :
|
ip vrf 10_8
rd 150.1.4.4:108
route-target export 10:8
route-target import 10:8
!
ip vrf 13_6
rd 150.1.4.4:136
route-target export 13:66
route-target import 13:66
!
mpls label protocol ldp
!
interface Loopback0
ip address 150.1.4.4 255.255.255.255
!
interface Loopback1
ip address 10.10.4.4 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.14.4 255.255.255.0
duplex auto
speed auto
tag-switching ip
!
interface FastEthernet1/0
ip vrf forwarding 13_6
ip address 150.1.46.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
ip vrf forwarding 10_8
ip address 150.1.41.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet3/0
ip vrf forwarding 13_6
ip address 150.1.45.4 255.255.255.0
duplex auto
speed auto
!
router ospf 1
router-id 150.1.4.4
log-adjacency-changes
network 150.1.4.4 0.0.0.0 area 0
network 150.1.14.4 0.0.0.0 area 0
!
router bgp 1
no synchronization
bgp router-id 10.10.4.4
bgp log-neighbor-changes
neighbor 150.1.3.3 remote-as 1
neighbor 150.1.3.3 update-source Loopback0
neighbor 150.1.3.3 next-hop-self
no auto-summary
!
address-family vpnv4
neighbor 150.1.3.3 activate
neighbor 150.1.3.3 send-community both
exit-address-family
!
address-family ipv4 vrf 13_6
redistribute connected
neighbor 150.1.45.5 remote-as 65011
neighbor 150.1.45.5 activate
neighbor 150.1.46.6 remote-as 65010
neighbor 150.1.46.6 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf 10_8
redistribute connected
neighbor 150.1.41.10 remote-as 65010
neighbor 150.1.41.10 activate
no auto-summary
no synchronization
exit-address-family
|
R5 :
|
interface Loopback1
ip address 10.10.5.5 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.45.5 255.255.255.0
duplex auto
speed auto
!
router bgp 65011
no synchronization
bgp router-id 10.10.5.5
bgp log-neighbor-changes
network 10.10.5.0 mask 255.255.255.0
neighbor 150.1.45.4 remote-as 1
no auto-summary
|
R6 :
|
interface Loopback0
ip address 10.10.6.6 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.61.6 255.255.255.0
speed auto
full-duplex
standby 1 ip 150.1.61.1
standby 1 priority 95
standby 1 preempt
!
interface FastEthernet1/0
ip address 150.1.46.6 255.255.255.0
duplex auto
speed auto
!
router bgp 65010
no synchronization
bgp log-neighbor-changes
network 10.10.6.0 mask 255.255.255.0
neighbor 150.1.46.4 remote-as 1
neighbor 150.1.61.13 remote-as 65010
no auto-summary
|
R8 :
|
interface Loopback0
ip address 150.1.8.8 255.255.255.0
!
interface Loopback1
ip address 10.10.8.8 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.38.8 255.255.255.0
duplex auto
speed auto
!
router bgp 65011
no synchronization
bgp router-id 10.10.8.8
bgp log-neighbor-changes
network 10.10.8.0 mask 255.255.255.0
neighbor 150.1.38.3 remote-as 1
no auto-summary
|
R10 :
|
interface Loopback1
ip address 10.10.10.10 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.41.10 255.255.255.0
duplex auto
speed auto
!
router bgp 65010
no synchronization
bgp router-id 10.10.10.10
bgp log-neighbor-changes
network 10.10.10.0 mask 255.255.255.0
neighbor 150.1.41.4 remote-as 1
no auto-summary
|
R12 :
|
interface FastEthernet0/0
switchport access vlan 126
no ip address
!
interface FastEthernet0/2
switchport access vlan 126
no ip address
!
interface FastEthernet0/6
switchport access vlan 126
no ip address
|
R13 :
|
interface Loopback0
ip address 10.10.13.13 255.255.255.0
!
interface FastEthernet0/0
ip address 150.1.61.13 255.255.255.0
duplex auto
speed auto
standby 1 ip 150.1.61.1
standby 1 preempt
!
interface FastEthernet1/0
ip address 150.1.31.13 255.255.255.0
duplex auto
speed auto
!
router bgp 65010
no synchronization
bgp log-neighbor-changes
network 10.10.13.0 mask 255.255.255.0
neighbor 150.1.31.3 remote-as 1
neighbor 150.1.61.6 remote-as 65010
no auto-summary
|
Buy:Actos.Nexium.Retin-A.Prevacid.Lumigan.Synthroid.Zovirax.Valtrex.100% Pure Okinawan Coral Calcium.Prednisolone.Zyban.Mega Hoodia.Petcam (Metacam) Oral Suspension.Arimidex.Accutane.Human Growth Hormone….