Part 1 | Analyzing the Topology | |||||||
---|---|---|---|---|---|---|---|---|
show ospf neighbor show ospf database router | ||||||||
show ted database | ||||||||
show ted database 172.20.20.1 show ted database 172.20.20.1 extensive >> >2 Interfaces; To: 172.20.20.3 and To: 172.20.20.4
| ||||||||
Part 2 | Loading The Configuration In | |||||||
crpd | ssh lab@northstar sudo docker exec -it crpd cli load override /home/configs/reset.config | |||||||
show ospf database summary show ospf database advertising-router 172.20.20.2
| ||||||||
LSA types | Type 1 ( Router ) , Type 4 , Type 7 , and Type 8 OpaqArea*1.0.0.x RtrAddr or Link ( Max rsv BW, unRsvBW , . . .) The Type-1 used to communicate link characteristics for traffic engineering purposes. OpaqArea*4.0.0.0 The Type-4 uses to calculate forwarding labels OpaqArea*7.0.0.1 Extended Link : link type, prefix, Prefix SID ( SID ) the Type-7 advertises the node segment ID for router vmx-5, and the IP address of the node OpaqArea*8.0.0.x Extended Link : link type, Link ID ( IF IP@) and Adjacency SID (Label SID ) the Type-8 advertises the node segment ID for router vmx-5, and the IP address of the node | |||||||
Traffic-engineering information is advertised in OSPF type-10 LSAs Type 5 ( OSPF ASBR External LSA ) | ||||||||
show ospf database advertising-router 172.20.20.2 show ospf database advertising-router 172.20.20.1
| ||||||||
| ||||||||
external route on vmx-1 ( from vmx-2) | show ospf route extern extensive
| |||||||
vmx-1 config | ||||||||
set label-range static-label-range 1000 2000 set protocols ospf source-packet-routing srgb start-label 800000 set protocols ospf source-packet-routing srgb index-range 4000 set protocols ospf source-packet-routing node-segment ipv4-index 101 set protocols ospf area 0 interface ge-0/0/1.0 ipv4-adjacency-segment unprotected label 1012 set protocols ospf area 0 interface ge-0/0/2.0 ipv4-adjacency-segment unprotected label 1022 | ||||||||
set protocols pcep pce northstar spring-capability | ||||||||
set protocols source-packet-routing lsp-external-controller pccd | ||||||||
show vmx-1 | ||||||||
Part 3 | NorthStar Provisioning Segment Routed LSPs | |||||||
show spring-traffic-engineering overview
| ||||||||
show ospf neighbor extensive
| ||||||||
show route table inet.3
| ||||||||
collapse | true |
| |
lab@vmx-1# run show route table inet.3
inet.3: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.20.20.2/32 *[L-OSPF/10/5] 00:03:05, metric 3
to 172.22.101.2 via ge-0/0/1.0, Push 800102
> to 172.22.102.2 via ge-0/0/2.0, Push 800102
172.20.20.3/32 *[L-OSPF/10/5] 00:03:05, metric 1
> to 172.22.101.2 via ge-0/0/1.0
172.20.20.4/32 *[L-OSPF/10/5] 00:03:05, metric 1
> to 172.22.102.2 via ge-0/0/2.0
172.20.20.5/32 *[L-OSPF/10/5] 00:03:05, metric 2
to 172.22.101.2 via ge-0/0/1.0, Push 800105
> to 172.22.102.2 via ge-0/0/2.0, Push 800105
172.20.20.6/32 *[L-OSPF/10/5] 00:03:05, metric 2
to 172.22.101.2 via ge-0/0/1.0, Push 800106
> to 172.22.102.2 via ge-0/0/2.0, Push 800106
[edit]
lab@vmx-1# |
show route table inet.3 172.20.20.2 detail
Code Block | ||||
---|---|---|---|---|
| ||||
lab@vmx-1> show route table inet.3 172.20.20.2 detail
inet.3: 5 destinations, 6 routes (5 active, 0 holddown, 0 hidden)
172.20.20.2/32 (2 entries, 1 announced)
*SPRING-TE Preference: 8
Next hop type: Router, Next hop index: 0
Address: 0xc749018
Next-hop reference count: 1
Next hop: 172.22.101.2 via ge-0/0/1.0 weight 0x1, selected
Label operation: Push 1111, Push 1092, Push 1082, Push 1032(top)
Label TTL action: prop-ttl,prop-ttl,prop-ttl,prop-ttl
Load balance label: Label 1111: None; Label 1092: None; Label 1082: None; Label 1032: None;
Label element ptr: 0xcbd4168
Label parent element ptr: 0x0
Label element references: 1
Label element child references: 0
Label element lsp id: 268435458
Session Id: 0x0
State: <Active Int>
Age: 41 Metric: 1 Metric2: 3
Validation State: unverified
Task: SPRING-TE
Announcement bits (1): 1-Resolve tree 1
AS path: I
SRTE Policy State:
SR Preference/Override: 100/100
Tunnel Source: Path computation element
L-OSPF Preference: 10/5
Next hop type: Router, Next hop index: 0
Address: 0xd3953e8
Next-hop reference count: 1
Next hop: 172.22.101.2 via ge-0/0/1.0
Label operation: Push 800102
Label TTL action: prop-ttl
Load balance label: Label 800102: None;
Label element ptr: 0xcbd60a8
Label parent element ptr: 0x0
Label element references: 2
Label element child references: 0
Label element lsp id: 0
Session Id: 0x0
Next hop: 172.22.102.2 via ge-0/0/2.0, selected
Label operation: Push 800102
Label TTL action: prop-ttl
Load balance label: Label 800102: None;
Label element ptr: 0xcbd60a8
Label parent element ptr: 0x0
Label element references: 2
Label element child references: 0
Label element lsp id: 0
Session Id: 0x0
State: <Int>
Inactive reason: Route Preference
Age: 11:34 Metric: 3
Validation State: unverified
Area: 0.0.0.0
Task: OSPF
AS path: I
lab@vmx-1> |
show spring-traffic-engineering lsp detail
Code Block | ||||
---|---|---|---|---|
| ||||
lab@vmx-1> show spring-traffic-engineering lsp detail
Name: vmx1-to-vmx2-SR
Tunnel-source: Path computation element protocol(PCEP)
To: 172.20.20.2
State: Up
Outgoing interface: ge-0/0/1.0
Auto-translate status: Disabled Auto-translate result: N/A
BFD status: N/A BFD name: N/A
ERO Valid: true
SR-ERO hop count: 5
Hop 1 (Strict):
NAI: IPv4 Adjacency ID, 172.22.101.1 -> 172.22.101.2
SID type: 20-bit label, Value: 1012
Hop 2 (Strict):
NAI: IPv4 Adjacency ID, 172.22.103.1 -> 172.22.103.2
SID type: 20-bit label, Value: 1032
Hop 3 (Strict):
NAI: IPv4 Adjacency ID, 172.22.108.1 -> 172.22.108.2
SID type: 20-bit label, Value: 1082
Hop 4 (Strict):
NAI: IPv4 Adjacency ID, 172.22.109.1 -> 172.22.109.2
SID type: 20-bit label, Value: 1092
Hop 5 (Strict):
NAI: IPv4 Adjacency ID, 172.22.111.2 -> 172.22.111.1
SID type: 20-bit label, Value: 1111
Total displayed LSPs: 1 (Up: 1, Down: 0)
lab@vmx-1> |
show rsvp session
show mpls lsp
show route table mpls.0
Code Block | ||||
---|---|---|---|---|
| ||||
lab@vmx-1> show route table mpls.0
mpls.0: 17 destinations, 17 routes (17 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 1d 23:31:08, metric 1
to table inet.0
0(S=0) *[MPLS/0] 1d 23:31:08, metric 1
to table mpls.0
1 *[MPLS/0] 1d 23:31:08, metric 1
Receive
2 *[MPLS/0] 1d 23:31:08, metric 1
to table inet6.0
2(S=0) *[MPLS/0] 1d 23:31:08, metric 1
to table mpls.0
13 *[MPLS/0] 1d 23:31:08, metric 1
Receive
1012 *[L-OSPF/10/5] 00:18:45, metric 0
> to 172.22.101.2 via ge-0/0/1.0, Pop
1012(S=0) *[L-OSPF/10/5] 00:18:45, metric 0
> to 172.22.101.2 via ge-0/0/1.0, Pop
1022 *[L-OSPF/10/5] 00:18:45, metric 0
> to 172.22.102.2 via ge-0/0/2.0, Pop
1022(S=0) *[L-OSPF/10/5] 00:18:45, metric 0
> to 172.22.102.2 via ge-0/0/2.0, Pop
800102 *[L-OSPF/10/5] 00:18:45, metric 3
> to 172.22.101.2 via ge-0/0/1.0, Swap 800102
to 172.22.102.2 via ge-0/0/2.0, Swap 800102
800103 *[L-OSPF/10/5] 00:18:45, metric 1
> to 172.22.101.2 via ge-0/0/1.0, Pop
800103(S=0) *[L-OSPF/10/5] 00:18:45, metric 1
> to 172.22.101.2 via ge-0/0/1.0, Pop
800104 *[L-OSPF/10/5] 00:18:45, metric 1
> to 172.22.102.2 via ge-0/0/2.0, Pop
800104(S=0) *[L-OSPF/10/5] 00:18:45, metric 1
> to 172.22.102.2 via ge-0/0/2.0, Pop
800105 *[L-OSPF/10/5] 00:18:45, metric 2
> to 172.22.101.2 via ge-0/0/1.0, Swap 800105
to 172.22.102.2 via ge-0/0/2.0, Swap 800105
800106 *[L-OSPF/10/5] 00:18:45, metric 2
> to 172.22.101.2 via ge-0/0/1.0, Swap 800106
to 172.22.102.2 via ge-0/0/2.0, Swap 800106
lab@vmx-1> |
...