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 11
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. | Part 4: Enabling PCEP on the PCCs In |
---|
| on vmx2
Enable RPD to listen to IPC messages from PCCD by configuring the: set protocols mpls lsp-external-controller pccd
[edit]
lab@vmx-2# show protocols pcep
pce northstar {
local-address 192.168.1.2;
destination-ipv4-address 192.168.1.100;
destination-port 4189;
pce-type active stateful;
lsp-provisioning;
}
[edit]
lab@vmx-2# show protocols pcep | display set
set protocols pcep pce northstar local-address 192.168.1.2
set protocols pcep pce northstar destination-ipv4-address 192.168.1.100
set protocols pcep pce northstar destination-port 4189
set protocols pcep pce northstar pce-type active
set protocols pcep pce northstar pce-type stateful
set protocols pcep pce northstar lsp-provisioning
show path-computation-client status Confif on all PE ( or PCC )
[edit]
lab@vmx-2# run show path-computation-client status
Session Type Provisioning Status Uptime
northstar Stateful Active On Up 58
LSP Summary
Total number of LSPs : 1
Static LSPs : 1
Externally controlled LSPs : 0
Externally provisioned LSPs : 0/16000 (current/limit)
Orphaned LSPs : 0
northstar (main)
Delegated : 0
Externally provisioned : 0
[edit]
lab@vmx-2#
show path-computation-client active-pce
lab@vmx-1> show path-computation-client active-pce
PCE northstar
--------------------------------------------
General
PCE IP address : 192.168.1.100
Local IP address : 192.168.1.1
Priority : 0
PCE status : PCE_STATE_UP
Session type : PCE_TYPE_STATEFULACTIVE
LSP provisioning allowed : On
P2MP LSP report allowed : Off
P2MP LSP update allowed : Off
P2MP LSP init allowed : Off
PCE-mastership : main
PCE Traffic Steering : Off
Counters
PCReqs Total: 0 last 5min: 0 last hour: 0
PCReps Total: 0 last 5min: 0 last hour: 0
PCRpts Total: 2 last 5min: 2 last hour: 2
PCUpdates Total: 0 last 5min: 0 last hour: 0
PCCreates Total: 0 last 5min: 0 last hour: 0
Timers
Local Keepalive timer: 30 [s] Dead timer: 120 [s] LSP cleanup timer: 60 [s]
Remote Keepalive timer: 30 [s] Dead timer: 120 [s] LSP cleanup timer: 0 [s]
Errors
PCErr-recv
PCErr-sent
PCE-PCC-NTFS
PCC-PCE-NTFS
Pcupdate empty ero action counters
Send-err : 0
Tear down path : 0
Routing decision : 0
Routing decision failed: 0
lab@vmx-1>
|
• Verify initial settings on the NorthStar Controller. |
|
---|
| Verify that the PCE Server is running: ps -ef | grep pce_server
netstat -an | grep 4189
[lab@northstar-app ~]$ netstat -an | grep 4189
tcp 0 0 0.0.0.0:4189 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.100:4189 192.168.1.1:52381 ESTABLISHED
tcp 0 0 192.168.1.100:4189 192.168.1.2:60058 ESTABLISHED
|