ER1:

enable
configure
hostname ER1
 
router rsvp
 
router ospf 1
 network 1.1.1.1/32 area 0
 network 10.0.12.0/24 area 0
 network 10.0.13.0/24 area 0 
 
rsvp-path RESP1
 10.0.13.3 strict
 10.0.34.4 strict 
 
rsvp-trunk TRU1 ipv4
 secondary path RESP1
 map-route 20.20.20.0/24
 from 1.1.1.1
 to 5.5.5.5 
 
 port ge0
 service-instance si0
  encapsulation untagged
 
port ge1
 service-instance si1
  encapsulation untagged 
  
port ge2
 service-instance si2
  encapsulation untagged
  
interface loopback.0
 ip address 1.1.1.1/32
 
interface in0
 label-switching
 connect port ge0 service-instance si0
 ip address 10.0.12.1/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in1
 label-switching
 connect port ge1 service-instance si1
 ip address 10.0.13.1/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in2
 connect port ge2 service-instance si2
 ip address 10.10.10.100/24

ER2

enable
configure
hostname ER2
 
router rsvp
 
router ospf 1
 network 2.2.2.2/32 area 0
 network 10.0.12.0/24 area 0
 network 10.0.25.0/24 area 0
 
port ge0
 service-instance si0
  encapsulation untagged
 
port ge1
 service-instance si1
  encapsulation untagged 
  
interface loopback.0
 ip address 2.2.2.2/32
 
interface in1
 label-switching
 connect port ge1 service-instance si1
 ip address 10.0.12.2/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in0
 label-switching
 connect port ge0 service-instance si0
 ip address 10.0.25.2/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp

ER3:

enable
configure
hostname ER3
 
router rsvp
 
router ospf 1
 network 3.3.3.3/32 area 0
 network 10.0.13.0/24 area 0
 network 10.0.34.0/24 area 0
 
port ge0
 service-instance si0
  encapsulation untagged
 
port ge1
 service-instance si1
  encapsulation untagged 
  
interface loopback.0
 ip address 3.3.3.3/32
 
interface in0
 label-switching
 connect port ge0 service-instance si0
 ip address 10.0.13.3/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in1
 label-switching
 connect port ge1 service-instance si1
 ip address 10.0.34.3/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp

ER4:

enable
configure
hostname ER4
 
router rsvp
 
router ospf 1
 network 4.4.4.4/32 area 0
 network 10.0.34.0/24 area 0
 network 10.0.45.0/24 area 0 
 
port ge0
 service-instance si0
  encapsulation untagged
 
port ge1
 service-instance si1
  encapsulation untagged 
  
interface loopback.0
 ip address 4.4.4.4/32
 
interface in0
 label-switching
 connect port ge0 service-instance si0
 ip address 10.0.34.4/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in1
 label-switching
 connect port ge1 service-instance si1
 ip address 10.0.45.4/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 

ER5:

enable
configure
hostname ER5
 
router rsvp
 
router ospf 1
 network 5.5.5.5/32 area 0
 network 10.0.25.0/24 area 0
 network 10.0.45.0/24 area 0
 
rsvp-path RESP1
 10.0.45.4 strict
 10.0.34.3 strict
 
rsvp-trunk TRU1 ipv4
 secondary path RESP1
 map-route 10.10.10.0/24
 from 5.5.5.5
 to 1.1.1.1
 
port ge0
 service-instance si0
  encapsulation untagged
 
port ge1
 service-instance si1
  encapsulation untagged
 
port ge2
 service-instance si2
  encapsulation untagged
  
interface loopback.0
 ip address 5.5.5.5/32
 
interface in0
 label-switching
 connect port ge0 service-instance si0
 ip address 10.0.45.5/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp
 
interface in1
 label-switching
 connect port ge1 service-instance si1
 ip address 10.0.25.5/24
 bandwidth 1g
 ip ospf network point-to-point
 enable-rsvp

PC1: ip 10.10.10.10/24 10.10.10.100 PC2: ip 20.20.20.20/24 20.20.20.100