1.
Configure OSPF on the loopback (or switch address) and core interfaces:
[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 on both PE switches:
[edit protocols]
user@switch#
set ospf
traffic-engineering
3.
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.1/24
4.
Enable MPLS and define the LSP:
[edit protocols]
user@switch#
set
mpls label-switched-path
lsp_to_pe2_ge1 to 127.1.1.3
TIP:
lsp_to_pe2_ge1
is the LSP name. You will need to use the specified
name again when configuring the CCC.
5.
Configure MPLS on 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
6.
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
7.
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.
Copyright © 2010, Juniper Networks, Inc.
3406
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...