OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing v6 Commands : show ipv6 ospf database <LSA name>
show ipv6 ospf database <LSA name>
Use this command to display segment routing v6 related LSA information.
Command Syntax
show ipv6 ospf database (opaque|locator|ext-router)
Parameters
opaque
 
locator
 
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
R1#show ipv6 ospf database opaque
 
OSPFv3 Router with ID (1.1.1.1) (Process 1)
 
Opaque-LSA (Area 0.0.0.0)
 
LS age: 752
LS Type: Opaque RI LSA
Link State ID: 0.0.0.3
Advertising Router: 1.1.1.1
LS Seq Number: 0x8000002D
Checksum: 0xF685
Length: 48
 
Router Capability TLV:
Flags:0 Reserve bits:0
 
Algorithm TLV :
Algorithm: 0
 
Maximum SID Depth :
SRH maximum segments left (41) : 4
SRH maximum end pop (42) : 4
SRH maximum H.encaps (44) : 4
SRH maximum decapsulation sids (45) : 4
 
 
LS age: 754
LS Type: Opaque RI LSA
Link State ID: 0.0.0.0
Advertising Router: 2.2.2.2
LS Seq Number: 0x8000070D
Checksum: 0x2272
Length: 48
 
Router Capability TLV:
Flags:0 Reserve bits:0
 
Algorithm TLV :
Algorithm: 0
 
Maximum SID Depth :
SRH maximum segments left (41) : 4
SRH maximum end pop (42) : 4
SRH maximum H.encaps (44) : 4
SRH maximum decapsulation sids (45) : 4
 
R1#show ipv6 ospf database locator
 
OSPFv3 Router with ID (1.1.1.1) (Process 1)
 
Locator-LSA (Area 0.0.0.0)
 
LS age: 765
LS Type: Locator LSA
Link State ID: 0.0.0.3
Advertising Router: 1.1.1.1
LS Seq Number: 0x8000002D
Checksum: 0xD97A
Length: 120
 
Locator-TLV (Length:96):
Route type:0 Algorithm:0
Flags:0 Metric:0
Prefix: 2981:40:a1::/64
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a1:0:2001::
End-point behaviour: End with PSP (2)
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a1:0:1001::
End-point behaviour: End with USP (3)
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a1:0:801::
End-point behaviour: End with USD (28)
 
 
 
LS age: 767
LS Type: Locator LSA
Link State ID: 0.0.0.3
Advertising Router: 2.2.2.2
LS Seq Number: 0x8000070D
Checksum: 0x1697
Length: 120
 
Locator-TLV (Length:24):
Route type:0 Algorithm:0
Flags:0 Metric:0
Prefix: 2981:40:a2::/64
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a2:0:2001::
End-point behaviour: End with PSP (2)
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a2:0:1001::
End-point behaviour: End with USP (3)
 
SRv6 END Sub TLV (Length:20):
Flags:0 Reserved:0
END SID: 2981:40:a2:0:801::
End-point behaviour: End with USD (28)
 
R1#show ipv6 ospf database ext-router
 
OSPFv3 Router with ID (1.1.1.1) (Process 1)
 
Ext-Router-LSA (Area 0.0.0.0)
 
LS age: 774
LS Type: External-Router-LSA
Link State ID: 0.0.0.3
Advertising Router: 1.1.1.1
LS Seq Number: 0x8000002D
Checksum: 0x41A0
Length: 76
Flags: 0x00 (-|-|-|-|-)
Options: 0x000133 (AF|*|*|DC|R|-|-|E|V6)
 
Router-Link TLV (Length:48): a Transit Network
Metric: 1
Interface ID: 3
Neighbor Interface ID: 3
Neighbor Router ID: 2.2.2.2
 
SRv6 LAN End.X SID Sub-TLV (Length: 28):
Neighbor Router ID: 2.2.2.2
SRV6 P2P END.X SID: 2981:40:a1:0:2002::
Algo: 0 flags: 0
End-behaviour: End.X with PSP (6) weight: 0
 
LS age: 776
LS Type: External-Router-LSA
Link State ID: 0.0.0.3
Advertising Router: 2.2.2.2
LS Seq Number: 0x8000070D
Checksum: 0x1CE2
Length: 76
Flags: 0x00 (-|-|-|-|-)
Options: 0x000133 (AF|*|*|DC|R|-|-|E|V6)
 
Router-Link TLV (Length:16): a Transit Network
Metric: 1
Interface ID: 3
Neighbor Interface ID: 3
Neighbor Router ID: 2.2.2.2
 
SRv6 LAN End.X SID Sub-TLV (Length: 28):
Neighbor Router ID: 1.1.1.1
SRV6 P2P END.X SID: 2981:40:a2:0:201d::
Algo: 0 flags: 0
End-behaviour: End.X with PSP (6) weight: 0
 
Last modified date: 10/20/2023