Configuring The Egress Pe Switch - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Configuring the Egress PE Switch

Copyright © 2010, Juniper Networks, Inc.
Configure this Layer 3 customer-edge interface for the routing protocol:
8.
[edit]
user@switch# set protocols ospf area 0.0.0 interface ge-2/0/3.0
Configure an LSP on the ingress PE switch (
9.
MPLS to the egress PE switch (
[edit protocols mpls]
user@switch# set label-switched-path ip_lspjavae_29 from 100.100.100.100
user@switch# set label-switched-path ip_lspjavae_29 to 208.208.208.208
Disable constrained-path LSP computation for this LSP:
10.
[edit protocols mpls]
user@switch# set label-switched-path ip_lspjavae_29 no-cspf
Configure a static route from the ingress PE switch to the egress PE switch, thereby
11.
indicating to the routing protocol that the packets will be forwarded over the MPLS
LSP that has been set up to that destination:
[edit]
user@switch# set routing-options static route 2.2.2.0/24 next-hop 100.100.100.100
user@switch# set routing-options static route 2.2.2.0/24 resolve
To configure the egress PE switch:
Configure OSPF (or IS-IS) on the loopback interface (or switch address) and core
1.
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
Enable traffic engineering for the routing protocol:
2.
[edit protocols]
user@switch# set ospf traffic-engineering
Configure an IP address for the loopback interface and for the core interfaces:
3.
[edit]
user@switch# set interfaces lo0 unit 0 family inet address 208.208.208.208/32
user@switch# set interfaces ge-0/0/5 unit 0 family inet address 10.1.20.1/24
user@switch# set interfaces ge-0/0/6 unit 0 family inet address 10.1.21.1/24
Configure MPLS on the core interfaces:
4.
[edit protocols]
user@switch# set mpls interface ge-0/0/5.0
user@switch# set mpls interface ge-0/0/6.0
Configure
on the logical units of the core interfaces, thereby identifying
5.
family mpls
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
100.100.100.100
):
208.208.208.208
Chapter 123: Configuring MPLS
) to send IP packets over
3403

Advertisement

Table of Contents
loading

Table of Contents