Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
• Configure and monitor OSPF with traffic engineering extensions.
| Part 2: Logging in using the CLI |
---|
on student desktop | ./lab1-setup.sh (for cRPD enter the password: lab123 )
[lab@student-desktop ~]$ more ./lab1-setup.sh
#!/bin/bash
echo "Loading lab 1 config on vmx-1"
ssh 172.25.11.1 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on vmx-2"
ssh 172.25.11.2 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on vmx-3"
ssh 172.25.11.3 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on vmx-4"
ssh 172.25.11.4 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on vmx-5"
ssh 172.25.11.5 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on vmx-6"
ssh 172.25.11.6 "configure;load override /var/home/lab/msrn/lab1-start.config;co
mmit and-quit"
echo
echo
echo "*************************"
echo "Loading lab 1 config on cRPD"
ssh -t 172.25.11.100 "sudo docker cp /home/lab/northstar/configs/ crpd:home/"
echo
echo
echo "*************************"
echo "Lab 1 setup complete"
[lab@student-desktop ~]$
ssh lab@vmx-3 Warning |
• Enable admin groups on the network interfaces. | Part 3: Enabling MPLS Forwarding, IGP Routing, and the Traffic Engineering Database (TED) |
---|
|
lab@vmx-1# show interfaces | display set
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
set interfaces ge-0/0/1 unit 0 family inet address 172.22.101.1/24
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces ge-0/0/2 unit 0 family inet address 172.22.102.1/24
set interfaces ge-0/0/2 unit 0 family mpls
set interfaces fxp0 unit 0 family inet address 172.25.11.1/24
set interfaces lo0 unit 0 family inet address 172.20.20.1/32
[edit]
lab@vmx-1# show protocols | display set
set protocols mpls interface ge-0/0/1.0
set protocols mpls interface ge-0/0/2.0
set protocols ospf traffic-engineering
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols rsvp interface all
|
• Configure and monitor MPLS and RSVP. |
|
---|
| |
• Configure and monitor a RSVP LSP signaled for a specific bandwidth and admin group. |
|
---|
|
[edit protocols mpls]
lab@vmx-1# show | display set
set protocols mpls admin-groups gold 1
set protocols mpls admin-groups silver 2
set protocols mpls admin-groups bronze 3
set protocols mpls label-switched-path vmx1-to-vmx2-gold to 172.20.20.2
set protocols mpls label-switched-path vmx1-to-vmx2-gold admin-group include-all gold
set protocols mpls interface ge-0/0/1.0 admin-group gold
set protocols mpls interface ge-0/0/1.0 admin-group bronze
set protocols mpls interface ge-0/0/2.0 admin-group silver
set protocols mpls interface ge-0/0/2.0 admin-group bronze
show mpls lsp extensive
lab@vmx-1# run show mpls lsp extensive
Ingress LSP: 1 sessions
172.20.20.2
From: 172.20.20.1, State: Up, ActiveRoute: 0, LSPname: vmx1-to-vmx2-gold
ActivePath: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Follow destination IGP metric
Encoding type: Packet, Switching type: Packet, GPID: IPv4
LSP Self-ping Status : Enabled
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Include All: gold
Flap Count: 0
MBB Count: 0
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3)
172.22.101.2 S 172.22.105.2 S 172.22.110.1 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
8 Mar 8 14:40:18.696 Self-ping ended successfully
7 Mar 8 14:40:17.688 Selected as active path
6 Mar 8 14:40:17.688 Up
5 Mar 8 14:40:17.686 Self-ping started
4 Mar 8 14:40:17.686 Self-ping enqueued
3 Mar 8 14:40:17.686 Record Route: 172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
2 Mar 8 14:40:17.613 Originate Call
1 Mar 8 14:40:17.613 CSPF: computation result accepted 172.22.101.2 172.22.105.2 172.22.110.1
Created: Mon Mar 8 14:40:17 2021
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
From: 172.20.20.1, State: Up, ActiveRoute: 0, LSPname: vmx1-to-vmx2-gold
ActivePath: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Follow destination IGP metric
Encoding type: Packet, Switching type: Packet, GPID: IPv4
LSP Self-ping Status : Enabled
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Include All: gold
Flap Count: 0
MBB Count: 0
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3)
172.22.101.2 S 172.22.105.2 S 172.22.110.1 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
8 Mar 8 14:40:18.696 Self-ping ended successfully
7 Mar 8 14:40:17.688 Selected as active path
6 Mar 8 14:40:17.688 Up
5 Mar 8 14:40:17.686 Self-ping started
4 Mar 8 14:40:17.686 Self-ping enqueued
3 Mar 8 14:40:17.686 Record Route: 172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
2 Mar 8 14:40:17.613 Originate Call
1 Mar 8 14:40:17.613 CSPF: computation result accepted 172.22.101.2 172.22.105.2 172.22.110.1
Created: Mon Mar 8 14:40:17 2021
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
From: 172.20.20.1, State: Up, ActiveRoute: 0, LSPname: vmx1-to-vmx2-gold
ActivePath: (primary)
LSPtype: Static Configured, Penultimate hop popping
LoadBalance: Random
Follow destination IGP metric
Encoding type: Packet, Switching type: Packet, GPID: IPv4
LSP Self-ping Status : Enabled
*Primary State: Up
Priorities: 7 0
SmartOptimizeTimer: 180
Include All: gold
Flap Count: 0
MBB Count: 0
Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3)
172.22.101.2 S 172.22.105.2 S 172.22.110.1 S
Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
8 Mar 8 14:40:18.696 Self-ping ended successfully
7 Mar 8 14:40:17.688 Selected as active path
6 Mar 8 14:40:17.688 Up
5 Mar 8 14:40:17.686 Self-ping started
4 Mar 8 14:40:17.686 Self-ping enqueued
3 Mar 8 14:40:17.686 Record Route: 172.22.101.2(Label=16) 172.22.105.2(Label=16) 172.22.110.1(Label=3)
2 Mar 8 14:40:17.613 Originate Call
1 Mar 8 14:40:17.613 CSPF: computation result accepted 172.22.101.2 172.22.105.2 172.22.110.1
Created: Mon Mar 8 14:40:17 2021
Total 1 displayed, Up 1, Down 0
Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0
vmx-2: lsp color: bronze
lab@vmx-2# show protocols mpls | display set
set protocols mpls admin-groups gold 1
set protocols mpls admin-groups silver 2
set protocols mpls admin-groups bronze 3
set protocols mpls label-switched-path vmx2-to-vmx1-bronze to 172.20.20.1
set protocols mpls label-switched-path vmx2-to-vmx1-bronze admin-group include-all bronze
set protocols mpls interface ge-0/0/1.0 admin-group gold
set protocols mpls interface ge-0/0/1.0 admin-group bronze
set protocols mpls interface ge-0/0/2.0 admin-group silver
set protocols mpls interface ge-0/0/2.0 admin-group bronze
|
• Configure and monitor PCEP. |
|
---|
|
|
• Verify initial settings on the NorthStar Controller. |
|
---|
|
|