- play_arrow Common Configuration for All VPNs
- play_arrow VPNs Overview
- play_arrow Assigning Routing Instances to VPNs
- play_arrow Distributing Routes in VPNs
- play_arrow Distributing VPN Routes with Target Filtering
- Configuring BGP Route Target Filtering for VPNs
- Example: BGP Route Target Filtering for VPNs
- Example: Configuring BGP Route Target Filtering for VPNs
- Configuring Static Route Target Filtering for VPNs
- Understanding Proxy BGP Route Target Filtering for VPNs
- Example: Configuring Proxy BGP Route Target Filtering for VPNs
- Example: Configuring an Export Policy for BGP Route Target Filtering for VPNs
- Reducing Network Resource Use with Static Route Target Filtering for VPNs
- play_arrow Configuring Forwarding Options for VPNs
- play_arrow Configuring Graceful Restart for VPNs
- play_arrow Configuring Class of Service for VPNs
- play_arrow Pinging VPNs
-
- play_arrow Common Configuration for Layer 2 VPNs and VPLS
- play_arrow Overview
- play_arrow Layer 2 VPNs Configuration Overview
- play_arrow Configuring Layer 2 Interfaces
- play_arrow Configuring Path Selection for Layer 2 VPNs and VPLS
- play_arrow Creating Backup Connections with Redundant Pseudowires
- play_arrow Configuring Class of Service for Layer 2 VPNs
- play_arrow Monitoring Layer 2 VPNs
- Configuring BFD for Layer 2 VPN and VPLS
- BFD Support for VCCV for Layer 2 VPNs, Layer 2 Circuits, and VPLS
- Configuring BFD for VCCV for Layer 2 VPNs, Layer 2 Circuits, and VPLS
- Connectivity Fault Management Support for EVPN and Layer 2 VPN Overview
- Configure a MEP to Generate and Respond to CFM Protocol Messages
-
- play_arrow Configuring Group VPNs
- play_arrow Configuring Public Key Infrastructure
- play_arrow Configuring Digital Certificate Validation
- play_arrow Configuring a Device for Certificate Chains
- play_arrow Managing Certificate Revocation
-
- play_arrow Configuring VPWS VPNs
- play_arrow Overview
- play_arrow Configuring VPWS VPNs
- Understanding FEC 129 BGP Autodiscovery for VPWS
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS
- Example: Configuring MPLS Egress Protection Service Mirroring for BGP Signaled Layer 2 Services
- Understanding Multisegment Pseudowire for FEC 129
- Example: Configuring a Multisegment Pseudowire
- Configuring the FAT Flow Label for FEC 128 VPWS Pseudowires for Load-Balancing MPLS Traffic
- Configuring the FAT Flow Label for FEC 129 VPWS Pseudowires for Load-Balancing MPLS Traffic
-
- play_arrow Configuring VPLS
- play_arrow Overview
- play_arrow VPLS Configuration Overview
- play_arrow Configuring Signaling Protocols for VPLS
- VPLS Routing and Virtual Ports
- BGP Signaling for VPLS PE Routers Overview
- Control Word for BGP VPLS Overview
- Configuring a Control Word for BGP VPLS
- BGP Route Reflectors for VPLS
- Interoperability Between BGP Signaling and LDP Signaling in VPLS
- Configuring Interoperability Between BGP Signaling and LDP Signaling in VPLS
- Example: VPLS Configuration (BGP Signaling)
- Example: VPLS Configuration (BGP and LDP Interworking)
- play_arrow Assigning Routing Instances to VPLS
- Configuring VPLS Routing Instances
- Configuring a VPLS Routing Instance
- Support of Inner VLAN List and Inner VLAN Range for Qualified BUM Pruning on a Dual-Tagged Interface for a VPLS Routing Instance Overview
- Configuring Qualified BUM Pruning for a Dual-Tagged Interface with Inner VLAN list and InnerVLAN range for a VPLS Routing Instance
- Configuring a Layer 2 Control Protocol Routing Instance
- PE Router Mesh Groups for VPLS Routing Instances
- Configuring VPLS Fast Reroute Priority
- Specifying the VT Interfaces Used by VPLS Routing Instances
- Understanding PIM Snooping for VPLS
- Example: Configuring PIM Snooping for VPLS
- VPLS Label Blocks Operation
- Configuring the Label Block Size for VPLS
- Example: Building a VPLS From Router 1 to Router 3 to Validate Label Blocks
- play_arrow Associating Interfaces with VPLS
- play_arrow Configuring Pseudowires
- Configuring Static Pseudowires for VPLS
- VPLS Path Selection Process for PE Routers
- BGP and VPLS Path Selection for Multihomed PE Routers
- Dynamic Profiles for VPLS Pseudowires
- Use Cases for Dynamic Profiles for VPLS Pseudowires
- Example: Configuring VPLS Pseudowires with Dynamic Profiles—Basic Solutions
- Example: Configuring VPLS Pseudowires with Dynamic Profiles—Complex Solutions
- Configuring the FAT Flow Label for FEC 128 VPLS Pseudowires for Load-Balancing MPLS Traffic
- Configuring the FAT Flow Label for FEC 129 VPLS Pseudowires for Load-Balancing MPLS Traffic
- Example: Configuring H-VPLS BGP-Based and LDP-Based VPLS Interoperation
- Example: Configuring BGP-Based H-VPLS Using Different Mesh Groups for Each Spoke Router
- Example: Configuring LDP-Based H-VPLS Using a Single Mesh Group to Terminate the Layer 2 Circuits
- Example: Configuring H-VPLS With VLANs
- Example: Configuring H-VPLS Without VLANs
- Configure Hot-Standby Pseudowire Redundancy in H-VPLS
- Sample Scenario of H-VPLS on ACX Series Routers for IPTV Services
- play_arrow Configuring Multihoming
- VPLS Multihoming Overview
- Advantages of Using Autodiscovery for VPLS Multihoming
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS
- Example: Configuring BGP Autodiscovery for LDP VPLS
- Example: Configuring BGP Autodiscovery for LDP VPLS with User-Defined Mesh Groups
- VPLS Multihoming Reactions to Network Failures
- Configuring VPLS Multihoming
- Example: VPLS Multihoming, Improved Convergence Time
- Example: Configuring VPLS Multihoming (FEC 129)
- Next-Generation VPLS for Multicast with Multihoming Overview
- Example: Next-Generation VPLS for Multicast with Multihoming
- play_arrow Configuring Point-to-Multipoint LSPs
- play_arrow Configuring Inter-AS VPLS and IRB VPLS
- play_arrow Configuring Load Balancing and Performance
- Configuring VPLS Load Balancing
- Configuring VPLS Load Balancing Based on IP and MPLS Information
- Configuring VPLS Load Balancing on MX Series 5G Universal Routing Platforms
- Example: Configuring Loop Prevention in VPLS Network Due to MAC Moves
- Understanding MAC Pinning
- Configuring MAC Pinning on Access Interfaces for Bridge Domains
- Configuring MAC Pinning on Trunk Interfaces for Bridge Domains
- Configuring MAC Pinning on Access Interfaces for Bridge Domains in a Virtual Switch
- Configuring MAC Pinning on Trunk Interfaces for Bridge Domains in a Virtual Switch
- Configuring MAC Pinning for All Pseudowires of the VPLS Routing Instance (LDP and BGP)
- Configuring MAC Pinning on VPLS CE Interface
- Configuring MAC Pinning for All Pseudowires of the VPLS Site in a BGP-Based VPLS Routing Instance
- Configuring MAC Pinning on All Pseudowires of a Specific Neighbor of LDP-Based VPLS Routing Instance
- Configuring MAC Pinning on Access Interfaces for Logical Systems
- Configuring MAC Pinning on Trunk Interfaces for Logical Systems
- Configuring MAC Pinning on Access Interfaces in Virtual Switches for Logical Systems
- Configuring MAC Pinning on Trunk Interfaces in Virtual Switches for Logical Systems
- Configuring MAC Pinning for All Pseudowires of the VPLS Routing Instance (LDP and BGP) for Logical Systems
- Configuring MAC Pinning on VPLS CE Interface for Logical Systems
- Configuring MAC Pinning for All Pseudowires of the VPLS Site in a BGP-Based VPLS Routing Instance for Logical Systems
- Configuring MAC Pinning on All Pseudowires of a Specific Neighbor of LDP-Based VPLS Routing Instance for Logical Systems
- Example: Prevention of Loops in Bridge Domains by Enabling the MAC Pinnning Feature on Access Interfaces
- Example: Prevention of Loops in Bridge Domains by Enabling the MAC Pinnning Feature on Trunk Interfaces
- Configuring Improved VPLS MAC Address Learning on T4000 Routers with Type 5 FPCs
- Understanding Qualified MAC Learning
- Qualified Learning VPLS Routing Instance Behavior
- Configuring Qualified MAC Learning
- play_arrow Configuring Class of Service and Firewall Filters in VPLS
- play_arrow Monitoring and Tracing VPLS
-
- play_arrow Connecting Layer 2 VPNs and Circuits to Other VPNs
- play_arrow Connecting Layer 2 VPNs to Other VPNs
- play_arrow Connecting Layer 2 Circuits to Other VPNs
- Using the Layer 2 Interworking Interface to Interconnect a Layer 2 Circuit to a Layer 2 VPN
- Applications for Interconnecting a Layer 2 Circuit with a Layer 2 Circuit
- Example: Interconnecting a Layer 2 Circuit with a Layer 2 VPN
- Example: Interconnecting a Layer 2 Circuit with a Layer 2 Circuit
- Applications for Interconnecting a Layer 2 Circuit with a Layer 3 VPN
- Example: Interconnecting a Layer 2 Circuit with a Layer 3 VPN
-
- play_arrow Configuration Statements and Operational Commands
Example: Configuring an Egress Protection LSP for a Layer 2 Circuit
This example shows how to configure an egress protection LSP.
Requirements
Egress protection LSPs are supported on Juniper Networks MX Series routers only. This requirement applies to the PE routers facilitating the egress protection LSP.
Egress Protection LSP Overview
If there is a link or node failure in the core network, a protection mechanism such as MPLS fast reroute can be triggered on the transport LSPs between the PE routers to repair the connection within tens of milliseconds. An egress protection LSP addresses the problem of when a link failure occurs at the edge of the network (for example, a link failure between a PE router and a CE device). Egress protection LSPs do not address the problem of a node failure at the edge of the network (for example, a failure of a PE router). An egress protection LSP is an RSVP-signaled ultimate hop popping LSP.
This example includes the following configuration concepts and statements that are unique to the configuration of an egress protection LSP:
context-identifier
—Specifies an IPV4 address used to define the pair of PE routers participating in the egress protection LSP. The context identifier is used to assign an identifier to the protector PE router. The identifier is propagated to the other PE routers participating in the network, making it possible for the protected egress PE router to signal the egress protection LSP to the protector PE router.egress-protection
—Configures the protector information for the protected Layer 2 circuit and configures the protector Layer 2 circuit at the[edit protocols l2circuit]
hierarchy level. Configures an LSP as an egress protection LSP at the[edit protocols mpls label-switched-path lsp-name]
hierarchy level. It also configures the context identifier at the[edit protocols mpls]
hierarchy level.protected-l2circuit
—Specifies which Layer 2 circuit is to be protected by the egress protect LSP. This statement includes the following sub-statements:ingress-pe
,egress-pe
, andvirtual-circuit-id
. These sub-statements specify the address of the PE router at the ingress of the Layer 2 circuit, the address of the PE router at the egress of the Layer 2 circuit, and the Layer 2 circuit’s identifier respectively.protector-interface
—Specify the interface used by the egress protection LSP. In the event of a local link failure to a CE device, the egress protect LSP uses the interface specified to communicate with the protector PE router.protector-pe
—Specify the IPv4 address of the protector PE router. The protector PE router must have a connection to the same CE device as the protected PE router for the egress protect LSP to function. This statement includes the following sub-statements:context-identifier
andlsp
. Thelsp
statement specifies the LSP to be used as the actual egress protection LSP.
Topology

Pseudowires are configured along two paths, one from router PE1 to router PE2 (pseudowire 12) and one from router PE1 to router PE3 (pseudowire 13). In the event of a failure on the link between router PE2 and device CE2, traffic is switched to the egress protection LSP configured between router PE2 and router PE3 (the protector PE router):
Device CE1—Traffic origin
Router PE1—Ingress PE router
Router PE2—Egress PE router
Router PE3—Protector PE router
Device CE2—Traffic destintation
This example shows how to configure routers PE1, PE2, and PE3.
Egress Protection LSP Configuration
CLI Quick Configuration
To quickly configure an egress protection LSP, copy the following commands into a text file, modify the interface configurations to match your equipment, remove any line breaks, and then paste the commands into the CLI. This group of set commands is for router PE1.
set protocols rsvp interface ge-3/1/0.1 set protocols rsvp interface ge-3/1/3.2 set protocols mpls interface ge-3/1/0.1 set protocols mpls interface ge-3/1/3.2 set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface ge-3/1/0.1 set protocols ospf area 0.0.0.0 interface ge-3/1/3.2 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-3/1/0.1 set protocols ldp interface ge-3/1/3.2 set protocols ldp interface lo0.0 set protocols l2circuit neighbor 192.0.2.3 interface fe-3/3/0.1 virtual-circuit-id 32 set protocols l2circuit neighbor 192.0.2.3 interface fe-3/3/0.1 egress-protection protector-interface ge-3/1/2.2 set protocols l2circuit neighbor 192.0.2.4 interface ge-3/1/2.2 virtual-circuit-id 33 set policy-options policy-statement load-balance-example then load-balance per-packet set routing-options router-id 192.0.2.2 set routing-options forwarding-table export load-balance-example
To quickly configure an egress protection LSP, copy the following commands into a text file, modify the interface configurations to match your equipment, remove any line breaks, and then paste the commands into the CLI. This group of set commands is for router PE2.
[edit] set protocols rsvp tunnel-services set protocols rsvp interface ge-2/3/0.3 set protocols rsvp interface ge-2/3/1.4 link-protection set protocols ldp interface ge-2/3/0.3 set protocols ldp interface ge-2/3/1.4 set protocols ldp interface lo0.0 set protocols ldp upstream-label-assignment set protocols mpls label-switched-path protected-lsp to 192.0.2.5 set protocols mpls label-switched-path protected-lsp egress-protection set protocols mpls interface ge-2/3/0.3 set protocols mpls interface ge-2/3/1.4 set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface ge-2/3/0.3 set protocols ospf area 0.0.0.0 interface ge-2/3/1.4 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/2.5 virtual-circuit-id 23 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/2.5 egress-protection protector-pe 192.0.2.4 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/2.5 egress-protection protector-pe context-identifier 192.0.2.5 set policy-options policy-statement load-balance-example then load-balance per-packet set routing-options router-id 192.0.2.3 set routing-options forwarding-table export load-balance-example
To quickly configure an egress protection LSP, copy the following commands into a text file, modify the interface configurations to match your equipment, remove any line breaks, and then paste the commands into the CLI. This group of set commands is for router PE3.
set protocols rsvp tunnel-services set protocols rsvp interface ge-2/0/0.6 set protocols rsvp interface ge-2/0/1.7 set protocols mpls interface ge-2/0/0.6 set protocols mpls interface ge-2/0/1.7 set protocols mpls egress-protection context-identifier 192.0.2.5 protector set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface ge-2/0/0.6 set protocols ospf area 0.0.0.0 interface ge-2/0/1.7 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-2/0/0.6 set protocols ldp interface ge-2/0/1.7 set protocols ldp interface lo0.0 set protocols ldp upstream-label-assignment set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/3.21 virtual-circuit-id 42 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/3.21 egress-protection protected-l2circuit PW1 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/3.21 egress-protection protected-l2circuit ingress-pe 192.0.2.2 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/3.21 egress-protection protected-l2circuit egress-pe 192.0.2.3 set protocols l2circuit neighbor 192.0.2.2 interface ge-2/0/3.21 egress-protection protected-l2circuit virtual-circuit-id 31
Step-by-Step Procedure
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode.
To configure an egress protection LSP, complete the following steps for router PE1:
Configure RSVP. Include the interface linked to router PE2 and the interface linked to router PE3.
content_copy zoom_out_map[edit] user@PE1# edit protocols rsvp [edit protocols rsvp] user@PE1# set interface ge-3/1/0.1 [edit protocols rsvp] user@PE1# set interface ge-3/1/3.2
Configure LDP. Include the interface linked to router PE2, the interface linked to router PE3, and the loopback interface.
content_copy zoom_out_map[edit] user@PE1# edit protocols ldp [edit protocols ldp] user@PE1# set interface ge-3/1/0.1 [edit protocols ldp] user@PE1# set interface ge-3/1/3.2 [edit protocols ldp] user@PE1# set interface lo0.0
Configure MPLS. Include the interface linked to router PE2 and the interface linked to router PE3.
content_copy zoom_out_map[edit] user@PE1# edit protocols mpls [edit protocols mpls] user@PE1# set interface ge-3/1/0.1 [edit protocols mpls] user@PE1# set interface ge-3/1/3.2
Configure OSPF. Include the interface linked to router PE2, the interface linked to router PE3, and the loopback interface in the configuration for the OSPF area.
content_copy zoom_out_map[edit] user@PE1# edit protocols ospf [edit protocols ospf] user@PE1# set interface traffic-engineering [edit protocols ospf] user@PE1# set area 0.0.0.0 interface ge-3/1/0.1 [edit protocols ospf] user@PE1# set area 0.0.0.0 interface ge-3/1/3.2 [edit protocols ospf] user@PE1# set area 0.0.0.0 interface lo0.0 passive
Configure Layer 2 circuits to use the egress protection LSP to protect against a link failure to device CE1.
content_copy zoom_out_map[edit] user@PE1# edit protocols l2circuit [edit protocols l2circuit] user@PE1# set neighbor 192.0.2.3 interface fe-3/3/0.1 virtual-circuit-id 32 [edit protocols l2circuit] user@PE1# edit neighbor 192.0.2.3 [edit protocols l2circuit neighbor 192.0.2.3] user@PE1# set interface fe-3/3/0.1 egress-protection protector-interface ge-3/1/2.2 [edit protocols l2circuit] user@PE1# set neighbor 192.0.2.4 interface ge-3/1/2.2 virtual-circuit-id 33
Configure a load balancing policy.
content_copy zoom_out_map[edit] user@PE1# set policy-options policy-statement load-balance-example then load-balance per-packet
Configure the routing options to export routes based on the load balancing policy.
content_copy zoom_out_map[edit] user@PE1# set routing-options router-id 192.0.2.2 [edit] user@PE1# set routing-options forwarding-table export load-balance-example
If you are done configuring the device, commit the configuration.
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode.
To configure an egress protection LSP, complete the following steps for router PE2:
Configure RSVP. Include the interface linked to the ingress PE router and the interface linked to the CE device.
content_copy zoom_out_map[edit] user@PE2# edit protocols rsvp [edit protocols rsvp] user@PE2# set tunnel-services [edit protocols rsvp] user@PE2# set interface ge-2/3/0.3 [edit protocols rsvp] user@PE2# set interface ge-2/3/1.4 link-protection
Configure LDP. Include the interface linked to the ingress PE router and the interface linked to the CE device.
content_copy zoom_out_map[edit] user@PE2# edit protocols ldp [edit protocols ldp] user@PE2# set interface ge-2/3/0.3 [edit protocols ldp] user@PE2# set interface ge-2/3/1.4 [edit protocols ldp] user@PE2# set interface lo0.0 [edit protocols ldp] user@PE2# set upstream-label-assignment
Configure MPLS and the LSP which acts as the egress protection LSP.
content_copy zoom_out_map[edit] user@PE2# edit protocols mpls [edit protocols mpls] user@PE2# set interface ge-2/3/0.3 [edit protocols mpls] user@PE2# set interface ge-2/3/1.4 [edit protocols mpls] user@PE2# set label-switched-path protected-lsp to 192.0.2.5 [edit protocols mpls] user@PE2# set label-switched-path protected-lsp egress-protection
Configure OSPF.
content_copy zoom_out_map[edit] user@PE2# edit protocols ospf [edit protocols ospf] user@PE2# set interface traffic-engineering [edit protocols ospf] user@PE2# set interface area 0.0.0.0 interface ge-2/3/0.3 [edit protocols ospf] user@PE2# set interface area 0.0.0.0 interface ge-2/3/1.4 [edit protocols ospf] user@PE2# set interface area 0.0.0.0 interface lo0.0 passive
Configure the Layer 2 circuit to use the egress protection LSP.
content_copy zoom_out_map[edit] user@PE2# edit protocols l2circuit [edit protocols l2circuit] user@PE2# set neighbor 192.0.2.2 interface ge-2/0/2.5 virtual-circuit-id 23 [edit protocols l2circuit] user@PE2# edit neighbor 192.0.2.2 [edit protocols l2circuit neighbor 192.0.2.2] user@PE2# set interface ge-2/0/2.5 egress-protectionprotector-pe 192.0.2.4 [edit protocols l2circuit neighbor 192.0.2.2] user@PE2# set interface ge-2/0/2.5 egress-protection protector-pe context-identifier 192.0.2.5
Configure a load balancing policy.
content_copy zoom_out_map[edit] user@PE1# set policy-options policy-statement load-balance-example then load-balance per-packet
Configure the routing options to export routes based on the load balancing policy.
content_copy zoom_out_map[edit] user@PE2# set routing-options router-id 192.0.2.3 [edit] user@PE2# set routing-options forwarding-table export load-balance-example
If you are done configuring the device, commit the configuration.
Step-by-Step Procedure
To configure an egress protection LSP, complete the following steps for router PE3:
Configure RSVP. Include the interface linked to the ingress PE router and the interface linked to the CE device.
content_copy zoom_out_map[edit] user@PE3# edit protocols rsvp [edit protocols rsvp] user@PE3# set tunnel-services [edit protocols rsvp] user@PE3# set interface ge-2/0/0.6 [edit protocols rsvp] user@PE3# set interface ge-2/0/1.7
Configure LDP. Include the interface linked to the ingress PE router and the interface linked to the CE device.
content_copy zoom_out_map[edit] user@PE3# edit protocols ldp [edit protocols ldp] user@PE3# set interface ge-2/0/0.6 [edit protocols ldp] user@PE3# set interface ge-2/0/1.7 [edit protocols ldp] user@PE3# set interface lo0.0 [edit protocols ldp] user@PE3# set upstream-label-assignment
Configure MPLS and the LSP which acts as the egress protection LSP.
content_copy zoom_out_map[edit] user@PE3# edit protocols mpls [edit protocols mpls] user@PE3# set interface ge-2/0/0.6 [edit protocols mpls] user@PE3# set interface ge-2/0/1.7 [edit protocols mpls] user@PE3# set egress-protection context-identifier 192.0.2.5 protector
Configure OSPF.
content_copy zoom_out_map[edit] user@PE3# edit protocols ospf [edit protocols ospf] user@PE3# set interface traffic-engineering [edit protocols ospf] user@PE3# set area 0.0.0.0 interface ge-2/0/0.6 [edit protocols ospf] user@PE3# set area 0.0.0.0 interface ge-2/0/1.7 [edit protocols ospf] user@PE3# set area 0.0.0.0 interface lo0.0 passive
Configure the Layer 2 circuit to use the egress protection LSP.
content_copy zoom_out_map[edit] user@PE3# edit protocols l2circuit [edit protocols l2circuit] user@PE3# set neighbor 192.0.2.2 interface ge-2/0/3.21 virtual-circuit-id 42 [edit protocols l2circuit] user@PE3# edit neighbor 192.0.2.2 [edit protocols l2circuit neighbor 192.0.2.2] user@PE3# set interface ge-2/0/3.21 egress-protection protected-l2circuit ingress-pe 192.0.2.2 [edit protocols l2circuit neighbor 192.0.2.2] user@PE3# set interface ge-2/0/3.21 egress-protection protected-l2circuit egress-pe 192.0.2.3 [edit protocols l2circuit neighbor 192.0.2.2] user@PE3# set interface ge-2/0/3.21 egress-protection protected-l2circuitvirtual-circuit-id 31
If you are done configuring the device, commit the configuration.
Results
From configuration mode, confirm your configuration on router PE1 by entering the show protocols, show policy-options, and show routing-options commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit] user@PE1# show protocols rsvp { interface ge-3/1/0.1; interface ge-3/1/3.2; } mpls { interface ge-3/1/0.1; interface ge-3/1/3.2; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-3/1/0.1; interface ge-3/1/3.2; interface lo0.0 { passive; } } } ldp { interface ge-3/1/0.1; interface ge-3/1/3.2; interface lo0.0; } l2circuit { neighbor 192.0.2.3 { interface fe-3/3/0.1 { virtual-circuit-id 32; egress-protection { protector-interface ge-3/1/2.2; } } } neighbor 192.0.2.4 { interface ge-3/1/2.2 { virtual-circuit-id 33; } } } [edit] user@PE1# show policy-options policy-statement load-balance-example { then { load-balance per-packet; } } [edit] user@PE1# show routing-options router-id 192.0.2.2; forwarding-table { export load-balance-example; }
From configuration mode, confirm your configuration on router PE2 by entering the show protocols, show policy-options, and show routing-options commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit] user@PE2# show protocols rsvp { tunnel-services; interface ge-2/3/0.3; interface ge-2/3/1.4 { link-protection; } } mpls { label-switched-path protected-lsp { to 192.0.2.5; egress-protection; } interface ge-2/3/0.3; interface ge-2/3/1.4; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/3/0.3; interface ge-2/3/1.4; interface lo0.0 { passive; } } } ldp { interface ge-2/3/0.3; interface ge-2/3/1.4; interface lo0.0; upstream-label-assignment; } l2circuit { neighbor 192.0.2.2{ interface ge-2/0/2.5 { virtual-circuit-id 23; egress-protection { protector-pe 192.0.2.4 context-identifier 192.0.2.5; } } } }
[edit] user@PE2# show policy-options policy-options { policy-statement load-balance-example { then { load-balance per-packet; } } }
[edit] user@PE2# show routing-options routing-options { router-id 192.0.2.3; forwarding-table { export load-balance-example; } }
From configuration mode, confirm your configuration on router PE3 by entering the show protocols command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
[edit] user@PE3# show protocols rsvp { tunnel-services; interface ge-2/0/0.6; interface ge-2/0/1.7; } mpls { interface ge-2/0/0.6; interface ge-2/0/1.7; egress-protection { context-identifier 192.0.2.5 { protector; } } } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/0/0.6; interface ge-2/0/1.7; interface lo0.0 { passive; } } } ldp { interface ge-2/0/0.6; interface ge-2/0/1.7; interface lo0.0; upstream-label-assignment; } l2circuit { neighbor 192.0.2.2 { interface ge-2/0/3.21 { virtual-circuit-id 42; egress-protection { protected-l2circuit PW1 ingress-pe 192.0.2.2 egress-pe 192.0.2.3 virtual-circuit-id 31; } } } }