display segment-routing ipv6 local-sid forwarding (Public)

Function

The display segment-routing ipv6 local-sid forwarding command displays information about an SRv6 local SID table.

Format

display segment-routing ipv6 local-sid { end-x | end-op | end | end-m | end-swm } [ sid ] forwarding

display segment-routing ipv6 local-sid end-x interface { interface-name | interface-type interface-number } [ nexthop nexthop-address ] forwarding

Parameters

Parameter Description Value
end-x

Indicates End.X SIDs.

-

end-op

Indicates End.OP SIDs.

-

end

Indicates End SIDs.

-

end-m

Indicates End.M SIDs.

-

end-swm

Indicates End.SWM SIDs.

-

sid

Specifies an IPv6 SID.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

interface interface-name

Specifies an interface name.

-

interface-type

Specifies the type of an interface.

-

interface-number

Specifies an interface number.

-

nexthop nexthop-address

Specifies the next-hop address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
segr read

Usage Guidelines

Usage Scenario

The display segment-routing ipv6 local-sid forwarding command displays information about an SRv6 local SID table, which includes End, End.X, End.OP, and End.M SIDs.

Example

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

# Display information about the SRv6 local SID table with End.M SIDs.
<HUAWEI> display segment-routing ipv6 local-sid end-m forwarding

                    My Local-SID End.M Forwarding Table
                    ---------------------------------

SID        : 2001:DB8:222::40/128                         FuncType : End.M
Flavor     : --
LocatorName: normal                                       LocatorID: 2
MirrorLocatorNumber: 1
MirrorLocator: 2001:DB8:111::1/96

Total SID(s): 1
# Display information about the SRv6 local SID table with End.OP SIDs.
<HUAWEI> display segment-routing ipv6 local-sid end-op forwarding

                    My Local-SID End.OP Forwarding Table
                    -------------------------------------

SID        : 2001:DB8:222::30/128                         FuncType : End.OP
LocatorName: normal                                       LocatorID: 2

Total SID(s): 1
# Display information about the SRv6 local SID table with End.X SIDs.
<HUAWEI> display segment-routing ipv6 local-sid end-x forwarding

                            My Local-SID End.X Forwarding Table
                            -----------------------------------

SID         : 2001:DB8:3333::403/128                                                    FuncType    : End.X
Flavor      : NO-FLAVOR                                                        
LocatorName : aa                                                               LocatorID   : 1
ProtocolType: ISIS                                                           ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.217
NextHop     :                              Interface :                         ExitIndex:
FE80::3AD5:E4FF:FE21:300                  GE0/1/1                           0x00000009

SID         : 2001:DB8:3333::404/128                                                    FuncType    : End.X
Flavor      : PSP                                                              
LocatorName : aa                                                               LocatorID   : 1
ProtocolType: ISIS                                                           ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.217
NextHop     :                              Interface :                         ExitIndex:
FE80::3AD5:E4FF:FE21:300                  GE0/1/1                          0x00000009

SID         : 2001:DB8:3333::405/128                                                    FuncType    : End.X
Flavor      : PSP USP USD                                                      
LocatorName : aa                                                               LocatorID   : 1
ProtocolType: ISIS                                                           ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.217
NextHop     :                              Interface :                         ExitIndex:
FE80::3AD5:E4FF:FE21:300                  GE0/1/1                            0x00000009

Total SID(s): 3
# Display information about the SRv6 local SID table with End SIDs.
<HUAWEI> display segment-routing ipv6 local-sid end forwarding

                    My Local-SID End Forwarding Table
                    ---------------------------------

SID         : 2001:DB8:3333::400/128                       FuncType    : End
Flavor      : NO-FLAVOR                                   
LocatorName : aa                                           LocatorID   : 1
ProtocolType: ISIS                                         ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.216

SID         : 2001:DB8:3333::401/128                       FuncType    : End
Flavor      : PSP                                         
LocatorName : aa                                           LocatorID   : 1
ProtocolType: ISIS                                         ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.216

SID         : 2001:DB8:3333::402/128                       FuncType    : End
Flavor      : PSP USP USD                                 
LocatorName : aa                                           LocatorID   : 1
ProtocolType: ISIS                                         ProcessID   : 1
UpdateTime  : 2021-02-26 10:42:24.217

Total SID(s): 3
Table 1 Description of the display segment-routing ipv6 local-sid forwarding (Public) command output
Item Description
SID

SID value.

FuncType

Function type.

Flavor

Function feature. Available options:

  • NO-FLAVOR.
  • PSP.
  • PSP-USP-USD.
  • PSP-USP-USD-COC.
Total SID(s)

Total number of SIDs.

LocatorName

Locator name.

LocatorID

Locator ID.

ProcessID

Protocol process ID.

UpdateTime

Update time.

NextHop

Next-hop address.

Interface

Outbound interface.

ExitIndex

Outbound interface index.

MirrorLocatorNumber

Number of locators protected using a mirror SID.

MirrorLocator

Locators protected using a mirror SID.

ProtocolType

Protocol type.

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