Step-by-Step
Procedure
Create two Gigabit Ethernet interfaces, set the encapsulation mode on one interface
and MPLS on the other interface. Create the loopback (lo0) interface:
[edit]
1.
user@host# edit interfaces
[edit interfaces]
user@host# set ge-0/1/1 encapsulation ethernet-ccc
user@host# set ge-0/1/1 unit 0
user@host# set ge-0/2/0 unit 0 family inet address 20.1.1.2/24
user@host# set ge-0/2/0 unit 0 family mpls
user@host# set lo0 unit 0 family inet address 70.1.1.1/32
2. Enable the MPLS and RSVP protocols on the interface configured with
MPLS—ge-0/2/0.0:
[edit]
user@host# edit protocols
[edit protocols]
user@host# set rsvp interface ge-0/2/0.0
user@host# set mpls interface ge-0/2/0.0
3. Configure LDP. If you configure RSVP for a pseudowire, you must also configure
LDP:
[edit protocols]
user@host# set protocols ldp interface ge-0/2/0.0
user@host# set protocols ldp interface lo0.0
4. Configure a point-to-point label-switched path (LSP) and disable constrained-path
LSP computation:
[edit protocols]
user@host# set mpls label-switched-path PE1-to-PE2 to 40.1.1.1
user@host# set mpls no-cspf
5. Configure OSPF and enable traffic engineering on the MPLS interface—ge-0/2/0.0,
and on the loopback (lo0) interface:
[edit protocols]
user@host# set ospf traffic-engineering
user@host# set ospf area 0.0.0.0 interface ge-0/2/0.0
user@host# set ospf area 0.0.0.0 interface lo0.0 passive
6. Uniquely identify a Layer 2 circuit for the Ethernet pseudowire:
[edit protocols]
user@host# set l2circuit neighbor 40.1.1.1 interface ge-0/1/1.0 virtual-circuit-id 1
Copyright © 2017, Juniper Networks, Inc.598
ACX Series Universal Access Router Configuration Guide