3.1.b L3VPN, CE, PE, P (RIPv2)



configure ospf and mpls on pertinent interfaces

R1(config)#router ospf 1
R1(config-router)#netw 0.0.0.0 0.0.0.0 area 0
R1(config-router)#int s1/0
R1(config-if)#mpls ip
R1(config-if)#int s1/1
R1(config-if)#mpls ip
R1(config-if)#
*Oct 29 11:32:57.189: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
R1(config-if)#
*Oct 29 11:33:16.372: %LDP-5-NBRCHG: LDP Neighbor 2.2.2.2:0 (1) is UP
R1(config-if)#
*Oct 29 11:33:42.776: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial1/1 from LOADING to FULL, Loading Done
R1(config-if)#
*Oct 29 11:34:23.875: %LDP-5-NBRCHG: LDP Neighbor 3.3.3.3:0 (2) is UP

R2(config)#router ospf 1
R2(config-router)#netw 192.1.12.2 0.0.0.0 area 0
R2(config-router)#n
*Oct 29 11:32:57.202: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial1/0 from LOADING to FULL, Loading Done
R2(config-router)#netw 2.2.2.2 0.0.0.0 area 0
R2(config-router)#int s1/0
R2(config-if)#mpls ip
R2(config-if)#
*Oct 29 11:33:16.351: %LDP-5-NBRCHG: LDP Neighbor 1.1.1.1:0 (1) is UP

R3(config)#router ospf 1
R3(config-router)#netw 192.1.13.3 0.0.0.0 area 0
R3(config-router)#ne
*Oct 29 11:33:42.789: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial1/0 from LOADING to FULL, Loading Done
R3(config-router)#netw 3.3.3.3 0.0.0.0 area 0
R3(config-if)#int s1/0
R3(config-if)#mpls ip
R3(config-if)#
*Oct 29 11:34:23.851: %LDP-5-NBRCHG: LDP Neighbor 1.1.1.1:0 (1) is UP

set up RD and RT on R2 and R3

RD RT explained