You are on page 1of 5

PE1-AS1

configure terminal
hostname PE1-AS1
mpls traffic-eng tunnels

interface Loopback0
ip address 10.10.10.101 255.255.255.255

interface Tunnel0
ip unnumbered Loopback0
tunnel destination 10.10.10.103
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng path-option 1 dynamic
tunnel mpls traffic-eng bandwidth 100

interface Tunnel1
ip unnumbered Loopback0
tunnel destination 10.10.10.103
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 2 2
tunnel mpls traffic-eng path-option 1 explicit name LSP1
tunnel mpls traffic-eng bandwidth 100

interface Serial2/0
ip address 10.10.10.9 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial3/0
ip address 10.10.10.1 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial4/0
ip address 10.10.10.17 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

router ospf 100


mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 10.0.0.0 0.255.255.255 area 0

ip explicit-path name LSP1 enable


next-address 10.10.10.10
next-address 10.10.10.14
next-address 10.10.10.103

interface Tunnel2
ip unnumbered Loopback0
tunnel destination 10.10.10.103
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 3 3
tunnel mpls traffic-eng bandwidth 50
tunnel mpls traffic-eng path-option 1 explicit name LSP2

ip explicit-path name LSP2 enable


next-address 10.10.10.18
next-address 10.10.10.22
next-address 10.10.10.103

end
wr

-------------------------------------------
PE2-AS1
Configure terminal
hostname PE2-AS1
mpls traffic-eng tunnels

interface Loopback0
ip address 10.10.10.103 255.255.255.255

interface Serial2/0
ip address 10.10.10.14 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial3/0
ip address 10.10.10.6 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial4/0
ip address 10.10.10.22 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

router ospf 100


mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 10.0.0.0 0.255.255.255 area 0

ip explicit-path name LSP1 enable


next-address 10.10.10.103
exit

ip explicit-path name LSP2 enable


next-address 10.10.10.103
exit
end
wr

-------------------------------------
P1-AS1
configure terminal
hostname P1-AS1
mpls traffic-eng tunnels

interface Loopback0
ip address 10.10.10.102 255.255.255.255

interface Serial2/0
ip address 10.10.10.2 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial3/0
ip address 10.10.10.26 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial4/0
ip address 10.10.10.5 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

router ospf 100


mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 10.0.0.0 0.255.255.255 area 0

end
wr

---------------------------------------------

P2-AS1
configure terminal
hostname P2-AS1
mpls traffic-eng tunnels

interface Loopback0
ip address 10.10.10.104 255.255.255.255

interface Serial2/0
ip address 10.10.10.10 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown
interface Serial3/0
ip address 10.10.10.13 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

router ospf 100


mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 10.0.0.0 0.255.255.255 area 0

ip explicit-path name LSP1 enable


next-address 10.10.10.14
next-address 10.10.10.103
exit

end
wr
-------------------------------------
P3-AS1
configure terminal
hostname P3-AS1
mpls traffic-eng tunnels

interface Loopback0
ip address 10.10.10.105 255.255.255.255

interface Serial2/0
ip address 10.10.10.18 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial3/0
ip address 10.10.10.25 255.255.255.252
no ip directed-broadcast
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

interface Serial4/0
ip address 10.10.10.21 255.255.255.252
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 1000
no shutdown

router ospf 100


mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 10.0.0.0 0.255.255.255 area 0
ip explicit-path name LSP2 enable
next-address 10.10.10.18
next-address 10.10.10.103
exit

end
wr