Modifying a path
Once you have created a path, you can modify the path.
- For this example, a three node path named sf_to_sj was configured as follows.
vyatta@vm1# set protocols mpls-rsvp globals explicit-paths sf_to_sj explicit-route-objects 10 address 2.2.2.2 vyatta@vm1# set protocols mpls-rsvp globals explicit-paths sf_to_sj explicit-route-objects 20 address 4.4.4.4 vyatta@vm1# set protocols mpls-rsvp globals explicit-paths sf_to_sj explicit-route-objects 30 address 6.6.6.6
- To modify the path named sf_to_sj to include a node between the first and second node, insert a new entry using a number between 10 and 20 for the explicit-route-objects parameter.
vyatta@vm1# set protocols mpls-rsvp globals explicit-paths sf_to_sj explicit-route-objects 15 address 3.3.3.3
- Modify the sf_to_sj path again to delete the node with explicit-route-objects set to 20 (this node became the third node in step 2; it was originally the second node in step 1).
vyatta@vm1# delete protocols mpls-rsvp globals explicit-paths sf_to_sj explicit-route-objects 20
- Display the resulting sf_to_sj path.
vyatta@vm1# show protocols mpls-rsvp globals explicit-paths explicit-paths sf_to_sj { explicit-route-objects 10 { address 2.2.2.2 } explicit-route-objects 15 { address 3.3.3.3 } explicit-route-objects 30 { address 6.6.6.6 } }