The display ospf segment-routing routing command displays routing table information on OSPF segment routing.
| Parameter | Description | Value |
|---|---|---|
| process-id |
Specifies the ID of an OSPF process. If no process ID is set, information about all processes numbered in ascending order is displayed. |
The value is an integer ranging from 1 to 4294967295. |
| ip-address |
Specifies a destination IP address. |
The value is in dotted decimal notation. |
| mask |
Specifies a subnet mask. |
The value is in dotted decimal notation. |
| mask-length |
Specifies a mask length. |
The value is an integer ranging from 0 to 32. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ospf 1 segment-routing routing OSPF Process 1 with Router ID 2.2.2.2 Destination : 10.2.1.1/32 AdverRouter : 1.1.1.1 Area : 0.0.0.0 In-Label : 153871 Out-Label : 170012 Type : Stub Age : 27h11m17s Prefix-sid : 1 Flags : -|N|-|-|-|-|-|- SR-Flags : -|-|-|-|-|-|-|- NextHop : 10.1.1.1 Interface : GE0/1/0 ULoopLsIndex : 2000016385 ULoopStack : {32789, 32789} Backup NextHop : - Backup Interface : - Backup Type : - BakLabelStack : -
| Item | Description |
|---|---|
| Destination | Destination network. |
| AdverRouter | Advertising device. |
| Area | Area to which the advertising device belongs. |
| In-Label | Incoming label value. |
| Out-Label | Outgoing label value. |
| Type | Type of destination network:
|
| Age | Date and time when a route was generated. |
| Prefix-sid | Prefix SID. |
| Flags | Flags field. |
| SR-Flags | SR TLV flags. |
| NextHop | Next hop address. |
| Interface | Outbound interface name carried in a route. |
| ULoopLsIndex | Index of a label stack of SR anti-micro loop. |
| ULoopStack | Label stack of SR anti-micro loop. |
| Backup NextHop | Backup next hop address. |
| Backup Interface | Backup outbound interface in a route. |
| Backup Type | Backup type. |
| BakLabelStack | Backup label stack. |