Configuring an ATM Pseudowire
CLI Quick
Configuration
To quickly configure this example, copy the following commands, paste them in a text
file, remove any line breaks, change any details necessary to match your network
configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy
level:
set interfaces at-0/0/0 atm-options vpi 0
set interfaces at-0/0/0 unit 0 encapsulation atm-ccc-cell-relay
set interfaces at-0/0/0 unit 0 vci 0.64
set interfaces ct1-0/0/0 no-partition interface-type at
set interfaces ge-0/2/0 unit 0 family inet address 20.1.1.2/24
set interfaces ge-0/2/0 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 70.1.1.1/32
set protocols rsvp interface ge-0/2/0.0
set protocols mpls no-cspf
set protocols mpls label-switched-path PE1-to-PE2 to 40.1.1.1
set protocols mpls interface ge-0/2/0.0
set protocols ospf traffic-engineering
set protocols ospf area 0.0.0.0 interface ge-0/2/0.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ldp interface ge-0/2/0.0
set protocols ldp interface lo0.0
set protocols l2circuit neighbor 40.1.1.1 interface at-0/0/0.0 virtual-circuit-id
1
NOTE: To configure an ATM pseudowire with ATM virtual circuit (VC)
multiplex encapsulation on CCC circuits, include the atm-ccc-vc-mux
statement at the [edit interfaces at-0/0/0 unit 0 encapsulation] hierarchy
level instead of the atm-ccc-cell-relay statement shown in this example.
Step-by-Step
Procedure
Create an ATM interface on a channelized T1 interface (ct1) and enable full
channelization with the no-partition statement. On the ATM interface, set the ATM
virtual circuit identifier (VCI), the virtual path identifier (VPI), and set the
encapsulation cell mode.
[edit]
1.
user@host# edit interfaces
[edit interfaces]
user@host# set ct1-0/0/0 no-partition interface-type at
user@host# set at-0/0/0 unit 0 vci 0.64
user@host# set at-0/0/0 atm-options vpi 0
user@host# set at-0/0/0 unit 0 encapsulation atm-ccc-cell-relay
2. Create a Gigabit Ethernet interface and enable MPLS on that interface. Create the
loopback (lo0) interface:
[edit interfaces]
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
593Copyright © 2017, Juniper Networks, Inc.
Chapter 20: Configuring MPLS and Pseudowires