8.
If you are configuring a CCC on a tagged VLAN interface, enable VLAN tagging on the
customer-edge interface
ge-0/0/2
of the local PE switch:
[edit interfaces ge-0/0/2]
user@switch#
set
vlan-tagging
If you are configuring a CCC on a simple interface (
ge-0/0/1
), omit this step.
9.
If you are configuring a CCC on a tagged VLAN interface, configure the logical unit of
the customer-edge interface with a VLAN ID:
[edit interfaces ge-0/0/2 unit 1]
user@switch#
set
vlan-id
100
If you are configuring a CCC on a simple interface (
ge-0/0/1
), omit this step.
10.
Configure the logical unit of the customer-edge interface to belong to
family ccc
:
[edit interfaces ge-0/0/1 unit 0]
user@switch#
set family ccc
[edit interfaces ge-0/0/2 unit 1]
user@switch#
set family ccc
11.
Associate the CCC interface with two LSPs, one for transmitting MPLS packets and
the other for receiving MPLS packets:
[edit protocols]
user@switch#
set
connections remote-interface-switch
ge-1–to-pe2 interface ge-0/0/1.0
user@switch#
set connections remote-interface-switch ge-1–to-pe2 transmit-lsp
lsp_to_pe2_ge1
user@switch#
set connections remote-interface-switch ge-1–to-pe2 receive-lsp
lsp_to_pe1_ge1
[edit protocols]
user@switch#
set connections remote-interface-switch ge-1–to-pe2 interface
ge-0/0/2.1
user@switch#
set connections remote-interface-switch ge-1–to-pe2 transmit-lsp
lsp_to_pe2_ge1
user@switch#
set connections remote-interface-switch ge-1–to-pe2 receive-lsp
lsp_to_pe1_ge1
TIP:
The transmit-lsp option specifies the LSP name that was configured
on PE-1 (the local PE switch) by the label-switched-path statement within
the protocols mpls stanza.
The receive-lsp option specifies the LSP name that was configured on
PE-2 (the remote PE switch) by the label-switched-path statement within
the protocols mpls stanza.
When you have completed configuring one PE switch, follow the same procedures to
configure the other PE switch.
Related
Documentation
•
Example: Configuring MPLS on EX Series Switches on page 3365
•
Configuring MPLS on Provider Switches (CLI Procedure) on page 3396
3407
Copyright © 2010, Juniper Networks, Inc.
Chapter 123: Configuring MPLS
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 ...