beautypg.com

Configuring router pe2 with a layer 2 circuit – Juniper Networks JUNOS OS 10.4 User Manual

Page 106

background image

Configuring Router PE2 with a Layer 2 Circuit

Router CE1

Configuration

The configuration of the Layer 2 circuit is based on LDP-signaled MPLS connections.

Configure Ethernet over ATM on the ATM interface.

[edit]
interfaces {

at-2/0/0 {

encapsulation ethernet-over-atm;
atm-options {

vpi 100;

}
unit 0 {

vci 100.34;
family inet {

address 30.1.1.1/24;

}

}

}

}

Router PE1

Configuration

Configure the Layer 2 circuit.

[edit]
interfaces {

at-2/0/1 {

atm-options {

vpi 100;

}
unit 0 {

encapsulation vlan-vci-ccc;
vpi 100;
vci-range 32 63;

}

}
ge-5/0/0 {

unit 0 {

family inet {

address 20.1.1.1/24;

}
family mpls;

}

}

}
protocols {

mpls {

interface ge-5/0/0.0;

}
ospf {

area 0.0.0.0 {

interface ge-5/0/0.0;
interface lo0.0 {

passive;

}

Copyright © 2013, Juniper Networks, Inc.

86

Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide