home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Configuring MPLS RSVP tunnels

How to configure MPLS RSVP tunnels

RSVP-TE must be enabled on interfaces before TE is supported.
To configure RVSP-TE tunnels (signaled LSPs) perform these steps:
  1. To configure the head-end for an RSVP-TE tunnel, enter the protocols mpls-rsvp tunnels tunnel <name> command. No sessions will be established unless a destination is configured.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2
  2. To enable calculation of routes over TE-tunnels by IGPs, enter the protocols mpls-rsvp tunnels tunnel <name> autoroute-announce command. By default, only the route to the tunnel destination is added to the RIB. When enabled, IGPs will treat a tunnel as a single link when calculating routes.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 autoroute-announce
  3. To configure a fixed metric to be used for the tunnel by the IGP for its shortest path calculations, enter the protocols mpls-rsvp tunnels tunnel <name> autoroute-announce absolute-metric <1..65535> command. The default is the IGP metric. This command is mutually exclusive with the protocols mpls-rsvp tunnels tunnel <name> autoroute-announce relative-metric <-65535..65535> command.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 autoroute-announce absolute-metric  <1..65535>
  4. To configure a metric that is relative to the IGP metric, enter the protocols mpls-rsvp tunnels tunnel <name> autoroute-announce relative-metric <-65535..65535> command. This command is mutually exclusive with the protocols mpls-rsvp tunnels tunnel <name> autoroute-announce absolute-metric <-65535..65535> command.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 autoroute-announce relative-metric <-65535..65535>
  5. To configure the address of the tail end of the tunnel, enter the protocols mpls-rsvp tunnels tunnel <name> destination <x.x.x.x> command. This is required in order to establish any sessions.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 destination 4.4.4.4
  6. To configure the source address of the tunnel, enter the protocols mpls-rsvp tunnels tunnel <name> source <x.x.x.x> command. This defaults to the address configured on the first interface, usually a loopback interface.
    vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 source 2.2.2.2