[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring MPLS on Provider Switches (CLI Procedure)

JUNOS MPLS for EX Series switches supports Layer 2 protocols and Layer 2 virtual private networks (VPNs). You can configure MPLS on EX Series switches to increase transport efficiency in your network. MPLS services can be used to connect various sites to a backbone network and to ensure better performance for low-latency applications such as VoIP and other business-critical functions.

Note: You can use class of service (CoS) on MPLS networks. For further information, see Understanding Using CoS with MPLS Networks on EX Series Switches.

To implement MPLS on EX Series switches, you must configure at least one provider switch as a transit switch for the MPLS packets. The configuration of all the provider switches is the same regardless of whether the provider edge (PE) switches are using circuit cross-connect (CCC) or using MPLS over IP for the customer-edge interfaces.

To configure the provider switch, complete the following tasks:

  1. Enable the routing protocol (OSPF or IS-IS) on the loopback interface and on the core interfaces:

    Note: You can use the switch address as an alternative to the loopback interface.


    [edit protocols]
    user@switch# set ospf area 0.0.0.0 interface lo0.0
    user@switch# set ospf area 0.0.0.0 interface ge-0/0/5.0
    user@switch# set ospf area 0.0.0.0 interface ge-0/0/6.0
    user@switch# set ospf area 0.0.0.0 interface ae0
  2. Enable traffic engineering for the routing protocol (OSPF or IS-IS):

    [edit protocols]
    user@switch# set ospf traffic-engineering
  3. Enable MPLS within the protocols stanza and apply it to the core interfaces:

    [edit protocols]
    user@switch# set mpls interface ge-0/0/5.0
    user@switch# set mpls interface ge-0/0/6.0
    user@switch# set mpls interface ae0
  4. Configure RSVP on the loopback interface and the core interfaces:

    [edit protocols]
    user@switch# set rsvp interface lo0.0
    user@switch# set rsvp interface ge-0/0/5.0
    user@switch# set rsvp interface ge-0/0/6.0
    user@switch# set rsvp interface ae0
  5. Configure an IP address for the loopback interface and for the core interfaces:

    [edit]
    user@switch# set interfaces lo0 unit 0 family inet address 127.1.1.1/32
    user@switch# set interfaces ge-0/0/5 unit 0 family inet address 10.1.5.1/24
    user@switch# set interfaces ge-0/0/6 unit 0 family inet address 10.1.6.1/24
    user@switch# set interfaces ae0 unit 0 family inet address 10.1.9.2/24

  6. Configure family mpls on the logical units of the core interfaces:

    [edit]
    user@switch# set interfaces ge-0/0/5 unit 0 family mpls
    user@switch# set interfaces ge-0/0/6 unit 0 family mpls
    user@switch# set interfaces ae0 unit 0 family mpls

    Note: You can enable family mpls on either individual interfaces or aggregated Ethernet interfaces. You cannot enable it on tagged VLAN interfaces.


Published: 2010-01-19

[an error occurred while processing this directive]