Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Inserting a node into a path

Once you have created a path, you can add a node into the path.

The <0-255> number in the explicit-route-objects is used to order nodes, so you can insert a new node by using a number in between the numbers used by the two existing nodes. For example, if you have a node number 10 and a node number 20, then you can insert a node by using node number 15. To insert a node into a path complete the following steps.

  1. 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
    
  2. 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
  3. Display the resulting four nodesf_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 20 {
                    address 4.4.4.4
            }        }
            explicit-route-objects 30 {
                    address 6.6.6.6
            }
     }
    
Note: When you modify a path, new make-before-break sessions are established using the new path. When successfully established, the new sessions using the new path replace the sessions that used the old path.