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 12
Next »
|
|
---|
|
|
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
lab@vmx-2> show ted database 172.20.20.1
TED database: 0 ISIS nodes 6 INET nodes
ID Type Age(s) LnkIn LnkOut Protocol
172.20.20.1 Rtr 145447 2 2 OSPF(0.0.0.0)
To: 172.20.20.3, Local: 172.22.101.1, Remote: 172.22.101.2
Local interface index: 339, Remote interface index: 0
To: 172.20.20.4, Local: 172.22.102.1, Remote: 172.22.102.2
Local interface index: 340, Remote interface index: 0
lab@vmx-2> show ted database 172.20.20.1 extensive
TED database: 0 ISIS nodes 6 INET nodes
NodeID: 172.20.20.1
Type: Rtr, Age: 145495 secs, LinkIn: 2, LinkOut: 2
Protocol: OSPF(0.0.0.0)
To: 172.20.20.3, Local: 172.22.101.1, Remote: 172.22.101.2
Local interface index: 339, Remote interface index: 0
Color: 0xa bronze gold
Metric: 1
Static BW: 1000Mbps
Reservable BW: 1000Mbps
Available BW [priority] bps:
[0] 900Mbps [1] 900Mbps [2] 900Mbps [3] 900Mbps
[4] 900Mbps [5] 900Mbps [6] 900Mbps [7] 900Mbps
Interface Switching Capability Descriptor(1):
Switching type: Packet
Encoding type: Packet
Maximum LSP BW [priority] bps:
[0] 900Mbps [1] 900Mbps [2] 900Mbps [3] 900Mbps
[4] 900Mbps [5] 900Mbps [6] 900Mbps [7] 900Mbps
P2P Adjacency-SID:
IPV4, SID: 1012, Flags: 0x34, Weight: 0
To: 172.20.20.4, Local: 172.22.102.1, Remote: 172.22.102.2
Local interface index: 340, Remote interface index: 0
Color: 0xc bronze silver
Metric: 1
Static BW: 1000Mbps
Reservable BW: 1000Mbps
Available BW [priority] bps:
[0] 1000Mbps [1] 1000Mbps [2] 1000Mbps [3] 1000Mbps
[4] 1000Mbps [5] 1000Mbps [6] 1000Mbps [7] 1000Mbps
Interface Switching Capability Descriptor(1):
Switching type: Packet
Encoding type: Packet
Maximum LSP BW [priority] bps:
[0] 1000Mbps [1] 1000Mbps [2] 1000Mbps [3] 1000Mbps
[4] 1000Mbps [5] 1000Mbps [6] 1000Mbps [7] 1000Mbps
P2P Adjacency-SID:
IPV4, SID: 1022, Flags: 0x34, Weight: 0
Prefixes:
172.20.20.1/32
Flags: 0x60
Prefix-SID:
SID: 101, Flags: 0x00, Algo: 0
SPRING-Capabilities:
SRGB block [Start: 800000, Range: 4000, Flags: 0x00]
SPRING-Algorithms:
Algo: 0
lab@vmx-2>
|
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
lab@vmx-2> show ospf database summary
Area 0.0.0.0:
6 Router LSAs
56 OpaqArea LSAs
Externals:
1 Extern LSAs
Interface ge-0/0/1.0:
Area 0.0.0.0:
Interface ge-0/0/2.0:
Area 0.0.0.0:
Interface lo0.0:
Area 0.0.0.0:
lab@vmx-2> show ospf database advertising-router 172.20.20.2
OSPF database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *172.20.20.2 172.20.20.2 0x800000aa 795 0x22 0xf054 84
OpaqArea*1.0.0.1 172.20.20.2 0x80000088 1396 0x22 0xf306 28
OpaqArea*1.0.0.3 172.20.20.2 0x8000008d 1997 0x22 0x3a88 136
OpaqArea*1.0.0.4 172.20.20.2 0x8000008c 198 0x22 0xe1da 136
OpaqArea*4.0.0.0 172.20.20.2 0x80000040 2598 0x22 0x8870 44
OpaqArea*7.0.0.1 172.20.20.2 0x80000045 795 0x22 0xa99b 44
OpaqArea*8.0.0.1 172.20.20.2 0x80000040 2297 0x22 0xce49 48
OpaqArea*8.0.0.2 172.20.20.2 0x80000018 1096 0x22 0x57db 48
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern *192.168.1.0 172.20.20.2 0x80000040 1696 0x22 0x7ab7 36
|
LSA types | Type 1 ( Router ) , Type 4 , Type 7 , and Type 8 OpaqArea*1.0.0.x RtrAddr or Link ( Max rsv BW, unRsvBW , . . .) OpaqArea*4.0.0.0 OpaqArea*7.0.0.1 Extended Link : link type, prefix, Prefix SID ( SID ) OpaqArea*8.0.0.x Extended Link : link type, Link ID ( IF IP@) and Adjacency SID (Label SID )
|
| Traffic-engineering information is advertised in OSPF type-10 LSAs These are opaque LSAs and have area flooding scope, which is why you cannot have TE tunnels running through multiple areas Type 5 ( OSPF ASBR External LSA ) |
| show ospf database advertising-router 172.20.20.2 show ospf database advertising-router 172.20.20.1
lab@vmx-2> show ospf database advertising-router 172.20.20.2
OSPF database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *172.20.20.2 172.20.20.2 0x800000a9 1470 0x22 0xf253 84
OpaqArea*1.0.0.1 172.20.20.2 0x80000087 2071 0x22 0xf505 28
OpaqArea*1.0.0.3 172.20.20.2 0x8000008c 2672 0x22 0x3c87 136
OpaqArea*1.0.0.4 172.20.20.2 0x8000008b 873 0x22 0xe3d9 136
OpaqArea*4.0.0.0 172.20.20.2 0x80000040 573 0x22 0x8870 44
OpaqArea*7.0.0.1 172.20.20.2 0x80000044 1470 0x22 0xab9a 44
OpaqArea*8.0.0.1 172.20.20.2 0x80000040 272 0x22 0xce49 48
OpaqArea*8.0.0.2 172.20.20.2 0x80000017 1770 0x22 0x59da 48
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern *192.168.1.0 172.20.20.2 0x8000003f 2371 0x22 0x7cb6 36
lab@vmx-2> show ospf database advertising-router 172.20.20.2 lsa-id 192.168.1.0 extensive
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern *192.168.1.0 172.20.20.2 0x8000003f 2580 0x22 0x7cb6 36
mask 255.255.255.0
Topology default (ID 0)
Type: 2, Metric: 0, Fwd addr: 0.0.0.0, Tag: 0.0.0.0
Gen timer 00:01:59
Aging timer 00:16:59
Installed 00:43:00 ago, expires in 00:17:00, sent 00:42:58 ago
Last changed 1d 22:53:53 ago, Change count: 1, Ours
lab@vmx-2>
lab@vmx-2> show ospf database advertising-router 172.20.20.1
OSPF database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router 172.20.20.1 172.20.20.1 0x80000045 2370 0x22 0x1bbc 84
OpaqArea 1.0.0.1 172.20.20.1 0x80000041 1869 0x22 0x7ec4 28
OpaqArea 1.0.0.3 172.20.20.1 0x80000041 869 0x22 0xb168 136
OpaqArea 1.0.0.4 172.20.20.1 0x80000041 2867 0x22 0xf727 136
OpaqArea 8.0.0.1 172.20.20.1 0x80000040 1369 0x22 0x4cb2 36
OpaqArea 8.0.0.2 172.20.20.1 0x80000040 370 0x22 0x23dc 36
|
|
lab@vmx-2> show ospf overview
Instance: master
Router ID: 172.20.20.2
Route table index: 0
AS boundary router
LSA refresh time: 50 minutes
Traffic engineering
SPRING: Enabled
SRGB Config Range :
SRGB Start-Label : 800000, SRGB Index-Range : 4000
SRGB Block Allocation: Success
SRGB Start Index : 800000, SRGB Size : 4000, Label-Range: [ 800000, 803999 ]
Node Segments: Enabled
Ipv4 Index : 102
Post Convergence Backup: Disabled
Area: 0.0.0.0
Stub type: Not Stub
Authentication Type: None
Area border routers: 0, AS boundary routers: 0
Neighbors
Up (in full state): 2
Topology: default (ID 0)
Prefix export count: 1
Full SPF runs: 127
SPF delay: 0.200000 sec, SPF holddown: 5 sec, SPF rapid runs: 3
Backup SPF: Not Needed
lab@vmx-2>
|
externalk route on vmx-1 ( from vmx-2) | show ospf route extern extensive
lab@vmx-1> show ospf route extern extensive
Topology default Route Table:
Prefix Path Route NH Metric NextHop Nexthop
Type Type Type Interface Address/LSP
192.168.1.0/24 Ext2 Network IP 0 ge-0/0/1.0 172.22.101.2
ge-0/0/2.0 172.22.102.2
area 0.0.0.0, origin 172.20.20.2, priority medium
|
|
|
Part 3 | NorthStar Provisioning Segment Routed LSPs |
---|
|
|
|
|
|
|
Part 4 | Resetting the Lab Topology In |
---|
|
|
|
|
|
|
|
|
|
|
|
|