Supported Platforms
Configuring MPLS on Provider Switches
To implement MPLS, you must configure at least one provider switch as a transit switch for the MPLS packets.
MPLS requires the configuration of an interior gateway protocol (OSPF) and a signaling protocol (RSVP) on the core interfaces and the loopback interface of all the switches. This procedure includes the configuration of OSPF on the provider switch.
To configure the provider switch, complete the following tasks:
- Configure OSPF on
the loopback and core interfaces:
Note: You can use the switch address as an alternative to the loopback interface.
[edit protocols ospf]
user@switch# set area 0.0.0.0 interface lo0.0
user@switch# set area 0.0.0.0 interface xe-0/0/5.0
user@switch# set area 0.0.0.0 interface xe-0/0/6.0
user@switch# set area 0.0.0.0 interface ae0Note: You cannot use routed VLAN interfaces (RVIs) or Layer 3 subinterfaces as core interfaces.
- Configure MPLS on the core interfaces:
[edit protocols mpls]
user@switch# set interface xe-0/0/5.0
user@switch# set interface xe-0/0/6.0
user@switch# set interface ae0 - Configure RSVP on the loopback interface and the core
interfaces:
[edit protocols rsvp]
user@switch# set interface lo0.0
user@switch# set interface xe-0/0/5.0
user@switch# set interface xe-0/0/6.0
user@switch# set interface ae0 - Configure an IP address for the loopback interface and
the core interfaces:
[edit interfaces]
user@switch# set lo0 unit 0 family inet address 127.1.1.1/32
user@switch# set xe-0/0/5 unit 0 family inet address 10.1.5.1/24
user@switch# set xe-0/0/6 unit 0 family inet address 10.1.6.1/24
user@switch# set ae0 unit 0 family inet address 10.1.9.2/24 - Configure family mpls on the logical units
of the core interfaces, thereby identifying the interfaces that will
be used for forwarding MPLS packets:
[edit interfaces]
user@switch# set xe-0/0/5 unit 0 family mpls
user@switch# set xe-0/0/6 unit 0 family mpls
user@switch# set ae0 unit 0 family mplsNote: You can configure family mpls on either individual interfaces or aggregated Ethernet interfaces. You cannot configure it on tagged VLAN interfaces.
Published: 2014-09-26
Supported Platforms
Related Documentation
- QFX Series standalone switches
- Configuring MPLS on Provider Edge Switches
- MPLS Configuration Guidelines
- MPLS Feature Support on the QFX Series and EX4600 Switch Overview
- Understanding MPLS Components
- Understanding CoS MPLS EXP Classifiers and Rewrite Rules