MPLS Protection and Restoration – Part 11 (Juniper Configuration Samples)

Juniper Configuration Samples for Protection

One-to-one (fast reroute) backup Configuratio

To enter edit mode…

[edit]
user@R1# edit protocols mpls

To configure the LSP…

[edit protocols mpls]
user@R1# set label-switched-path lsp-path-name to address
[edit protocols mpls]
user@R1# set label-switched-path A-to-B to 1.1.1.1

To configure one-to-one(fast rerote) backup…

[edit protocols mpls]
user@R1# set label-switched-path lsp-path-name fast-reroute
[edit protocols mpls]
user@R1# set label-switched-path A-to-B fast-reroute

To configure primary path…

[edit protocols mpls]
user@R1# set label-switched-path lsp-path-name primary primary-name
[edit protocols mpls]
user@R1# set label-switched-path A-to-B primary via-C

To configure the primary ERO list…

[edit protocols mpls]
user@R1# set path path-name address loose
[edit protocols mpls]
user@R1# set path via-C 5.5.5.5 loose

To verify…

user@R1# show

To commit…

user@R1# commit
[edit protocols mpls]
user@R1# show  
label-switched-path A-to-B {
    to 1.1.1.1;
    fast-reroute;
    primary via-C;
    bandwidth  bps; # Bandwidth for the LSP
    hop-limit  number; # Maximum number of routers the LSP can traverse
}
path via-r2 {
    5.5.5.5 loose;
}

You can check the other parts of these MPLS Protection and Restoration Article series below.

MPLS Protection and Restoration – Part 1
MPLS Protection and Restoration – Part 2 (End-to-End Protection, Secondary Paths)
MPLS Protection and Restoration – Part 3 (Path Diversity in Secondary Paths)
MPLS Protection and Restoration – Part 4 (Local Protection, Fast Reroute)
MPLS Protection and Restoration – Part 5 (Fast Reroute Protection Types)
MPLS Protection and Restoration – Part 6 (RSVP Objects Used for MPLS Fast Reroute)
MPLS Protection and Restoration – Part 7 (Verification Commands on Alcatel-Lucent Routers)
MPLS Protection and Restoration – Part 8 (Actions After the Failure)
MPLS Protection and Restoration – Part 9 (Convergence Factors)
MPLS Protection and Restoration – Part 10 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 11 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 12 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 13 (Juniper Configuration Samples)


…YOU CAN REACH ALL THE “MPLS” ARTICLES AND CONFIGURATIONS BELOW…

MPLS Basics
What is MPLS?
Enabling MPLS on Cisco Router

MPLS Label Distribution Protocol, LDP
MPLS Label Distribution Protocol, LDP – Part 1
MPLS Label Distribution Protocol, LDP – Part 2
MPLS Label Distribution Protocol, LDP – Part 3 (Configuration on ALU)
MPLS Label Distribution Protocol, LDP – Part 4 (ECMP)
MPLS Label Distribution Protocol, LDP – Part 5 (Export and Import Policy, Prefix Aggregation)
MPLS Label Distribution Protocol, LDP – Part 6 (T-LDP)
MPLS Label Distribution Protocol, LDP – Part 7 (CR-LDP)

MPLS, RSVP-TE
MPLS, RSVP-TE – Part 1
MPLS, RSVP-TE – Part 2(Alcatel-Lucent Configuration)

MPLS Protection And Restoration
MPLS Protection and Restoration – Part 1
MPLS Protection and Restoration – Part 2 (End-to-End Protection, Secondary Paths)
MPLS Protection and Restoration – Part 3 (Path Diversity in Secondary Paths)
MPLS Protection and Restoration – Part 4 (Local Protection, Fast Reroute)
MPLS Protection and Restoration – Part 5 (Fast Reroute Protection Types)
MPLS Protection and Restoration – Part 6 (RSVP Objects Used for MPLS Fast Reroute)
MPLS Protection and Restoration – Part 7 (Verification Commands on Alcatel-Lucent Routers)
MPLS Protection and Restoration – Part 8 (Actions After the Failure)
MPLS Protection and Restoration – Part 9 (Convergence Factors)
MPLS Protection and Restoration – Part 10 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 11 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 12 (Juniper Configuration Samples)
MPLS Protection and Restoration – Part 13 (Juniper Configuration Samples)

Leave a Reply