You are on page 1of 3

router 1

conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 1.1.1.1 255.255.255.255
exit
int fas0/0
ip add 10.1.13.1 255.255.255.0
no shut
mpls ip
exit
int fas0/1
ip add 10.1.12.1 255.255.255.0
no shut
mpls ip
exit
int fas1/0
ip add 10.1.15.1 255.255.255.0
no shut
mpls ip
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 1.1.1.1 0.0.0.255 area 0
exit
exit
---------------------------------------------------router 2
conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 2.2.2.2 255.255.255.255
exit
int fas0/0
ip add 10.1.12.2 255.255.255.0
mpls ip
no shut
exit
int fas0/1
ip add 10.1.24.2 255.255.255.0
mpls ip
no shut
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 2.2.2.2 0.0.0.255 area 0
end
end

---------------------------------------------------------router 3
conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 3.3.3.3 255.255.255.255
exit
int fas0/0
ip add 10.1.13.3 255.255.255.0
mpls ip
no shut
exit
int fas0/1
ip add 10.1.34.3 255.255.255.0
mpls ip
no shut
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 3.3.3.3 0.0.0.255 area 0
exit
exit
--------------------------------------------------------router 4
conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 4.4.4.4 255.255.255.255
exit
int fas0/0
ip add 10.1.34.4 255.255.255.0
mpls ip
no shut
exit
int fas0/1
ip add 10.1.24.4 255.255.255.0
mpls ip
no shut
exit
int fas1/0
ip add 10.1.46.4 255.255.255.0
mpls ip
no shut
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 4.4.4.4 0.0.0.255 area 0
exit

exit
---------------------------------------------------------router 5
conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 5.5.5.5 255.255.255.255
exit
int fas0/0
ip add 10.1.15.5 255.255.255.0
mpls ip
no shut
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 5.5.5.5 0.0.0.255 area 0
end
-----------------------------------------------------------router 6
conf ter
ip cef
mpls label protocol ldp
int loo 0
ip add 6.6.6.6 255.255.255.255
exit
int fas0/0
ip add 10.1.46.6 255.255.255.0
mpls ip
no shut
exit
router ospf 1
net 10.1.15.0 0.0.0.255 area 0
net 10.1.12.0 0.0.0.255 area 0
net 10.1.13.0 0.0.0.255 area 0
net 10.1.34.0 0.0.0.255 area 0
net 10.1.24.0 0.0.0.255 area 0
net 10.1.46.0 0.0.0.255 area 0
net 6.6.6.6 0.0.0.255 area 0
end

You might also like