[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring LDP and RSVP with a Configuration Editor

To configure either LDP or RSVP as a signaling protocol on the device to establish LSPs through an IP network, perform one of the following tasks:

For information about using the J-Web and CLI configuration editors, see the J-Web Interface User Guide and the JUNOS CLI User Guide.

Configuring LDP-Signaled LSPs

Using LDP as a signaling protocol, you create LSPs between routers in an IP network. A sample network is shown in Figure 89.

Figure 89: Typical LDP-Signaled LSP

Image g015525.gif

To establish an LSP between Routers R6 and R7, you must configure LDP on Routers R5, R6, and R7. This configuration ensures that Hosts C1 and C2 use the LDP-signaled LSP when the entry (ingress) router is R6 or R7.

To configure LDP to establish the LSP shown in Figure 89, perform these steps:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 194.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to Verifying an LDP-Signaled LSP.

Table 194: Configuring an LDP-Signaled LSP

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level of the configuration hierarchy

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, enter

edit interfaces

Enable the MPLS family on all transit interfaces on each router in the MPLS network.

  1. Click the transit interface on which you want to configure MPLS.
  2. In the Unit table, click the unit number for which you want to enable MPLS.
  3. In the Family area, select the Mpls check box.
  4. Click OK.
  5. Repeat Steps 1 through 4 for each transit interface on the routers in the MPLS network.
  1. Add the MPLS family to all transit interfaces. For example:

    set ge-0/0/0 unit 0 family mpls

  2. Repeat Step 1 for each transit interface on the routers in the MPLS network.

Enable the MPLS process on all MPLS interfaces for each router in the MPLS network.

(See the interface naming conventions in Network Interface Naming.)

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Mpls, click Configure or Edit.
  3. Next to Interface, click Add new entry.
  4. In the Interface name box, type all.
  5. Click OK.
  6. Repeat Steps 1 through 5 for each transit interface on the routers in the MPLS network.
  1. From the [edit] hierarchy level, enter

    edit protocols mpls

  2. Enter

    set interface all

  3. Repeat Steps 1 and 2 for each transit interface on the routers in the MPLS network.

Create the LDP instance on each router in the MPLS network.

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Ldp, click Configure or Edit.
  3. Next to Interface, click Add new entry.
  4. In the Interface name box, type the name of a transit interface—for example, ge-0/0/0.
  5. Click OK.
  6. Repeat Steps 1 through 5 for each transit interface on the routers in the MPLS network.
  1. From the [edit] hierarchy level, enter

    edit protocols ldp

  2. Enable LDP on a transit interface. For example:

    set interface ge-0/0/0

  3. Repeat Steps 1 and 2 for each transit interface on the routers in the MPLS network.

Set the keepalive interval to 10 seconds.

The keepalive interval specifies the number of seconds between the transmission of keepalive messages along the LDP link.

  1. In the Keepalive interval box, type 10.
  2. Click OK.
  3. Repeat Steps 1 and 2 for each router in the MPLS network.

On each router in the MPLS network, enter

set keepalive-interval 10

Configuring RSVP-Signaled LSPs

Using RSVP as a signaling protocol, you create LSPs between routers in an IP network. A sample network is shown in Figure 90.

Figure 90: Typical RSVP-Signaled LSP

Image g015526.gif

To establish an LSP between routers R1 and R7, you must configure RSVP on all MPLS transit interfaces in the network. This configuration ensures that Hosts C1 and C2 use the RSVP-signaled LSP corresponding to the network IGP's shortest path. Additionally, this configuration reserves 10 Mbps of bandwidth.

To configure RSVP to establish the LSP shown in Figure 90, perform these steps:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 195.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to Verifying an RSVP-Signaled LSP.

Table 195: Configuring an RSVP-Signaled LSP

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level of the configuration hierarchy

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, enter

edit interfaces

Enable the MPLS family on all transit interfaces on each router in the MPLS network.

  1. Click the transit interface on which you want to configure MPLS.
  2. In the Unit table, click the unit number for which you want to enable MPLS.
  3. In the Family area, select the Mpls check box.
  4. Click OK.
  5. Repeat Steps 1 through 4 for each transit interface on the routers in the MPLS network.
  1. Add the MPLS family to all transit interfaces. For example:

    set ge-0/0/0 unit 0 family mpls

  2. Repeat Step 1 for each transit interface on the routers in the MPLS network.

Enable the MPLS process on all MPLS interfaces for each router in the MPLS network.

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Mpls, click Configure or Edit.
  3. Next to Interface, click Add new entry.
  4. In the Interface name box, type all.
  5. Click OK.
  6. Repeat Steps 1 through 5 for each transit interface on the routers in the MPLS network.
  1. From the [edit] hierarchy level, enter

    edit protocols mpls

  2. Enter

    set interface all

  3. Repeat Steps 1 and 2 for each transit interface on the routers in the MPLS network.

Create the RSVP instance on each router in the MPLS network.

(See the interface naming conventions in Network Interface Naming.)

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Rsvp, click Configure or Edit.
  3. Next to Interface, click Add new entry.
  4. In the Interface name box, type the name of a transit interface—for example, ge-0/0/0.
  5. Click OK.
  6. Repeat Steps 1 through 5 for each transit interface on the routers in the MPLS network.
  1. From the [edit] hierarchy level, enter

    edit protocols rsvp

  2. Enable RSVP on a transit interface. For example:

    set interface ge-0/0/0

  3. Repeat Steps 1 and 2 for each transit interface on the routers in the MPLS network.

On the entry (ingress) router, R1, define the LSP r1–r7, using Router R7's loopback address (10.0.9.7).

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Mpls, click Configure or Edit.
  3. Next to Label switched path, click Add new entry.
  4. In the Path name box, type r1–r7.
  5. In the To box, type 10.0.9.7.
  1. From the [edit] hierarchy level, enter

    edit protocols mpls

  2. Enter

    set label-switched-path r1–r7 to 10.0.9.7

Reserve 10 Mbps of bandwidth on the LSP.

  1. In the Bandwidth box, click Configure.
  2. In the Ct0 box, type 10m.
  3. Click OK.

Enter

set label-switched-path r1–r7 bandwidth 10m

Disable the use of the Constrained Shortest Path First (CSPF) algorithm.

By disabling the CSPF algorithm, you specify that traffic through the LSP is to be routed along the network IGP's shortest path.

  1. Select the No cspf check box.
  2. Click OK.

Enter

set label-switched-path r1–r7 no-cspf


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]