inet
rather than
family ccc
and you configure a static route for the label-switched path
(LSP). The configuration of the provider switch is the same regardless of whether the
PE switches are configured for MPLS over CCC or IP over MPLS. See “Configuring MPLS
on Provider Switches (CLI Procedure)” on page 3396.
This topic describes how to configure an ingress PE switch and an egress PE switch for
IP over MPLS:
1.
Configuring the Ingress PE Switch on page 3402
2.
Configuring the Egress PE Switch on page 3403
Configuring the Ingress PE Switch
To configure the ingress PE switch:
1.
Configure OSPF (or IS-IS) 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
2.
Enable traffic engineering for the routing protocol:
[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 100.100.100.100/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
4.
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
5.
Configure
family mpls
on the logical units of the core interfaces, thereby identifying
the interfaces that will be used for forwarding MPLS packets:
[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
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
7.
Configure a customer-edge interface as a Layer 3 routed interface, specifying an IP
address:
[edit]
user@switch#
set
interfaces
ge-2/0/3 unit 0 family inet 121.121.121.1/16
Copyright © 2010, Juniper Networks, Inc.
3402
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 ...