display ospf segment-routing routing

Function

The display ospf segment-routing routing command displays routing table information on OSPF segment routing.

Format

display ospf [ process-id ] segment-routing routing [ ip-address [ mask | mask-length ] ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ospf read

Usage Guidelines

Usage Scenario

In routine SR maintenance, to view OSPF SR routing table information, run the display ospf segment-routing routing command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display OSPF SR routing table information.
<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    : -
Table 1 Description of the display ospf segment-routing routing command output
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:

  • Direct: direct route.
  • Inter-area: inter-area route.
  • Intra-area: intra-area route.
  • Stub: Routes advertised using router LSAs. The routes correspond to the direct routes of non-broadcast and non-NBMA networks.
  • Transit: Routes advertised using network LSAs.
  • Type1: type 1 imported route.
  • Type2: type 2 imported route.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >