#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 11.11.11.11/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe7 | Enter interface mode. |
(config-if)#ip address 10.10.10.2/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe7. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface xe7 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 11.11.11.11 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.10.0/24 area 0 | Define the network (10.10.10.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 11.11.11.11/32 area 0 | Set the IP address of the loopback interface to 11.11.11.11/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 1.1.1.1/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Enable label switching on interface lo. |
(config)#interface xe7 | Enter interface mode. |
(config-if)#ip address 10.10.10.1/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe7. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe8 | Enter interface mode. |
(config-if)#ip address 20.20.20.1/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe7. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface xe7 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe8 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 1.1.1.1 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.10.0/24 area 0 | Define the first network (10.10.10.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 20.20.20.0/24 area 0 | Define the second network (20.20.20.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 1.1.1.1/32 area 0 | Set the IP address of the loopback interface to 1.1.1.1/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 33.33.33.33/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface ge8 | Enter interface mode. |
(config-if)#ip address 20.20.20.2/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface ge8. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface ge8 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 33.33.33.33 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 20.20.20.0/24 area 0 | Define the network (20.20.20.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 33.33.33.33/32 area 0 | Set the IP address of the loopback interface to 33.33.33.33/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-path PE1_to_PE3_via_P1 mpls | Create an RSVP Path and enter the Path mode. |
(config-path)#10.10.10.1 strict | Configure this explicit route path as a strict hop. |
(config-path)#20.20.20.2 strict | Configure this explicit route path as a strict hop. |
(config-path)#exit | Exit Path mode. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk PE1_to_PE3 ipv4 | Create an RSVP trunk and enter the Trunk mode. |
(config-trunk)#primary path PE1_to_PE3_via_P1 | Configure the trunk to use defined path. |
(config-trunk)#from 11.11.11.11 | Specify ipv4 source point for the LSP. |
(config-trunk)#to 33.33.33.33 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-path PE3_to_PE1_via_P1 mpls | Create an RSVP Path and enter the Path mode. |
(config-path)#20.20.20.1 strict | Configure this explicit route path as a strict hop. |
(config-path)#10.10.10.2 strict | Configure this explicit route path as a strict hop. |
(config-path)#exit | Exit Path mode. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk PE3_to_PE1 ipv4 | Create an RSVP trunk and enter the Trunk mode. |
(config-trunk)#primary path PE3_to_PE1_via_P1 | Configure the trunk to use defined path. |
(config-trunk)#from 33.33.33.33 | Specify the ipv4 source point for LSP |
(config-trunk)#to 11.11.11.11 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | nter the configuration router mode. |
(config-router)#neighbor 10.10.10.1 | Configure the neighbor ip address. |
(config-router)#graceful-restart | Enable the rsvp-gr. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the configuration router mode. |
(config-router)#neighbor 10.10.10.2 | Configure the neighbor ip address. |
(config-router)#neighbor 20.20.20.2 | Configure the neighbor ip address. |
(config-router)#graceful-restart | Enable the rsvp-gr. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the router configuration mode. |
(config-router)#neighbor 20.20.20.1 | Configure the neighbor ip address. |
(config-router)#graceful-restart | Enable the rsvp-gr. |
(config-router)#commit | Commit the transaction. |