Step-by-Step
Procedure
To configure the provider switch:
1.
Configure OSPF with traffic engineering enabled:
[edit protocols]
user@switchP#
set ospf traffic-engineering
2.
Configure OSPF on the loopback interface and core interfaces:
[edit protocols]
user@switchP#
set ospf area interface lo0.0
user@switchP#
set ospf area interface ge-0/0/5
user@switchP#
set ospf area interface ge-0/0/6
user@switchP#
set ospf area interface ae0
3.
Configure MPLS on the core interfaces on the switch:
[edit protocols]
user@switchP#
set mpls interface ge-0/0/5
user@switchP#
set mpls interface ge-0/0/6
user@switchP#
set mpls interface ae0
4.
Configure RSVP on the loopback interface and core interfaces:
[edit protocols]
user@switchP#
set rsvp interface lo0.0
user@switchP#
set rsvp interface ge-0/0/5
user@switchP#
set rsvp interface ge-0/0/6
user@switchP#
set rsvp interface ae0
5.
Configure IP addresses for the loopback and core interfaces:
[edit]
user@switchP#
set interfaces lo0 unit 0
family
inet address 127.1.1.2/32
user@switchP#
set interfaces ge-0/0/5 unit 0 family inet address 10.1.5.1/24
user@switchP#
set interfaces ge-0/0/6 unit 0 family inet address 10.1.6.1/24
user@switchP#
set interfaces ae0 unit 0 family inet address 10.1.9.1/24
6.
Configure
family mpls
on the logical unit of the core interface addresses:
[edit]
user@switchP#
set interfaces ge-0/0/5 unit 0 family mpls
user@switchP#
set interfaces ge-0/0/6 unit 0 family mpls
user@switchP#
set interfaces ae0 unit 0 family mpls
Results
Display the results of the configuration:
user@switchP>
show configuration
interfaces {
ge-0/0/5 {
unit 0 {
family inet {
address 10.1.5.1/24;
}
family mpls;
}
}
ge-0/0/6 {
unit 0 {
family inet {
3375
Copyright © 2010, Juniper Networks, Inc.
Chapter 122: Example of MPLS Configuration
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 ...