Professional Documents
Culture Documents
RSVP - Dynamic Label Switch Path Ver - 1
RSVP - Dynamic Label Switch Path Ver - 1
PNETLAB Store
PNETLab.com
Lab Topology:
The lab network topology is illustrated below:
Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure Dynamic
Label Switch Path for RSVP on Junos devices.
Login with the account: root/pnetlab@123
Task:
Each Router (R3, R4, R5) configure 02 Label Switch Path to Loopback 0 of R1, R2.
From R1, R2 configure Label Switch Path to these Loopback 0 of Routers (R3, R4, R5).
Make sure in inet.3 table of R3, R4, R5 has Loopback of R1, R2 base on RSVP Protocol, and vice
versa.
1
Download PNETLab Platform
PNETLAB Store
PNETLab.com
Solution
R2:
set system host-name R2
set interfaces ge-0/0/0 description To_R2-ge-0/0/0
set interfaces ge-0/0/0 unit 0 family inet address 10.1.2.2/24
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 description To_R5-ge-0/0/1
set interfaces ge-0/0/1 unit 0 family inet address 10.2.5.2/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 2.2.2.2/32
set interfaces lo0 unit 0 family iso address 49.0001.0000.0000.0002.00
set protocols isis level 2 disable
set protocols isis level 1 wide-metrics-only
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface lo0.0 passive
R3:
set system host-name R3
set interfaces ge-0/0/0 description To_R4-ge-0/0/0
set interfaces ge-0/0/0 unit 0 family inet address 10.3.4.3/24
set interfaces ge-0/0/0 unit 0 family iso
2
Download PNETLab Platform
PNETLAB Store
PNETLab.com
R4:
set system host-name R4
set interfaces ge-0/0/0 description To_R3-ge-0/0/0
set interfaces ge-0/0/0 unit 0 family inet address 10.3.4.4/24
set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/2 description To_R5-ge-0/0/2
set interfaces ge-0/0/2 unit 0 family inet address 10.4.5.4/24
set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 4.4.4.4/32
set interfaces lo0 unit 0 family iso address 49.0001.0000.0000.0004.00
set protocols isis level 2 disable
set protocols isis level 1 wide-metrics-only
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols isis interface ge-0/0/2.0 point-to-point
set protocols isis interface lo0.0 passive
R5:
set system host-name R5
set interfaces ge-0/0/1 description To_R2-ge-0/0/1
set interfaces ge-0/0/1 unit 0 family inet address 10.2.5.5/24
set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces ge-0/0/2 description To_R4-ge-0/0/2
set interfaces ge-0/0/2 unit 0 family inet address 10.4.5.5/24
set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 5.5.5.5/32
set interfaces lo0 unit 0 family iso address 49.0001.0000.0000.0005.00
set protocols isis level 2 disable
set protocols isis level 1 wide-metrics-only
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols isis interface ge-0/0/2.0 point-to-point
set protocols isis interface lo0.0 passive
3
Download PNETLab Platform
PNETLAB Store
PNETLab.com
Router Configuration
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
R1 set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface ge-0/0/1.0
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
R2 set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface ge-0/0/1.0
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/1.0
R3 set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface ge-0/0/1.0
set protocols mpls interface ge-0/0/0.0
set protocols mpls interface ge-0/0/2.0
R4 set protocols rsvp interface ge-0/0/0.0
set protocols rsvp interface ge-0/0/2.0
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface ge-0/0/2.0
R5 set protocols rsvp interface ge-0/0/1.0
set protocols rsvp interface ge-0/0/2.0
Task 3: Configure Label Switch Path to Loopback 0 of R1, R2 from R3, R4, R5. And vice versa
Router Configuration
set protocols mpls label-switched-path lsp_R3_TO_R1 to 1.1.1.1
R3 set protocols mpls label-switched-path lsp_R3_TO_R2 to 2.2.2.2
set protocols mpls label-switched-path lsp_R4_TO_R1 to 1.1.1.1
R4 set protocols mpls label-switched-path lsp_R4_TO_R2 to 2.2.2.2
set protocols mpls label-switched-path lsp_R5_TO_R1 to 1.1.1.1
R5 set protocols mpls label-switched-path lsp_R5_TO_R2 to 2.2.2.2
set protocols mpls label-switched-path lsp_R1_TO_R3 to 3.3.3.3
R1 set protocols mpls label-switched-path lsp_R1_TO_R4 to 4.4.4.4
set protocols mpls label-switched-path lsp_R1_TO_R5 to 5.5.5.5
set protocols mpls label-switched-path lsp_R2_TO_R3 to 3.3.3.3
R2 set protocols mpls label-switched-path lsp_R2_TO_R4 to 4.4.4.4
set protocols mpls label-switched-path lsp_R2_TO_R5 to 5.5.5.5
4
Download PNETLab Platform
PNETLAB Store
PNETLab.com
root@R1>
R5:
root@R5> show mpls interface
Interface State Administrative groups (x: extended)
ge-0/0/1.0 Up <none>
ge-0/0/2.0 Up <none>
root@R5>
- Verify: Make sure in inet.3 table of R5 has Loopback of R1, R2 base on RSVP Protocol,
and vice versa.
R1:
root@R1> show route table inet.3 protocol rsvp
root@R1>
R5:
root@R5> show route table inet.3 protocol rsvp
6
Download PNETLab Platform
PNETLAB Store
PNETLab.com
root@R5>
Now, Let’s start to analyst one Label Switch Path from R1 to R5 to clarify some thing:
5.5.5.5
From: 1.1.1.1, State: Up, ActiveRoute: 0, LSPname: lsp_R1_TO_R5
ActivePath: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Encoding type: Packet, Switching type: Packet, GPID: IPv4
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)
10.1.2.2 S 10.2.5.5 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
10.1.2.2 10.2.5.5
Total 1 displayed, Up 1, Down 0
root@R1>
With ERO, RRO above, we understood that Label Switch Path was created dynamically with IGP
best path (from Loopback 0 of R1 to Loopback 0 of R5 via R2)
- Computed ERO: 10.1.2.2 S 10.2.5.5 S
- Received RRO: 10.1.2.2 10.2.5.5
Finish this LAB!