display segment-routing ipv6 local-sid end-as forwarding

Function

The display segment-routing ipv6 local-sid end-as forwarding command display the End.AS SID.

Format

display segment-routing ipv6 local-sid end-as [ sid-value ] forwarding

Parameters

Parameter Description Value
sid-value

Indicates the value of the IPv6 SID.

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

This command is used to view information about local SRv6 SID tables of a specific End.AS SID or all End.AS SIDs.

Example

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

# Display the local SID table of the SRv6 End.AS type in the Layer 3 encapsulation scenario.
<HUAWEI> display segment-routing ipv6 local-sid end-as forwarding

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

SID            : 2001:DB8:1::1/128                            FuncType     : End.AS
LocatorName    : test                                         LocatorID    : 1
InnerType      : IPv4                                         SourceIpv6   : 2001:DB8:2::60
BackupSid      : 2001:DB8:1::AA                               PeerSid      : 2001:DB8:300::3
BypassEnable   : true                                         BypassSid    : 2001:DB8:5::9
TTL-mode       : Uniform                                      IP-TTL       : -
Diffserv-mode  : Uniform                                      ServiceClass : -
Color          : -                                            Cache-sl     : 2
Cache-list     :
  2001:DB8:4::3
  2001:DB8:7::8
  2001:DB8:8::9
  2001:DB8:1::1
  2001:DB8:6::9
PeerSidState   : Inactive
ForwardType    : IPv4
NextHop        : 10.1.1.2
Out-interface  : Vbdif101
In-interface   : Vbdif101
Symmetric-index: 1
                
Total SID(s)   : 1
# Display the local SID table of the SRv6 End.AS type in the Layer 2 encapsulation scenario.
<HUAWEI> display segment-routing ipv6 local-sid end-as forwarding

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

SID            : 2001:DB8:1::1/128                            FuncType     : End.AS
LocatorName    : test                                         LocatorID    : 1
InnerType      : IPv4                                         SourceIpv6   : 2001:DB8:2::60
BackupSid      : 2001:DB8:1::AA                               PeerSid      : 2001:DB8:300::3
BypassEnable   : true                                         BypassSid    : 2001:DB8:5::9
TTL-mode       : Uniform                                      IP-TTL       : -
Diffserv-mode  : Uniform                                      ServiceClass : -
Color          : -                                            Cache-sl     : 2
Cache-list     :
  2001:DB8:4::3
  2001:DB8:7::8
  2001:DB8:8::9
  2001:DB8:1::1
  2001:DB8:6::9
PeerSidState   : Active
ForwardType    : Eth
Out-interface  : GigabitEthernet0/1/0.2                       In-interface : GigabitEthernet0/1/0.2
Out-vlan       : 100                                          Out-cevid    : -
In-vlan        : 200                                          In-cevid     : -
Dest-mac       : 00e0-fc00-0001
                
Total SID(s)   : 1
Table 1 Description of the display segment-routing ipv6 local-sid end-as forwarding command output
Item Description
SID

SID value.

FuncType

Function type.

LocatorName

locator name.

LocatorID

locator ID.

InnerType

Types of original packet for SFF sent to SF.

SourceIpv6

After receiving a packet from the SF, the SFF encapsulates the source IPv6 address of the packet.

BackupSid

Backup proxy SID.

PeerSid

SID of the backup SFF that should be END SID.

BypassEnable

Bypass function enable.

BypassSid

Bypass SID for the backup path. The SID is the valid End.AS SID of other protection devices in the SF group.

TTL-mode

TTL processing mode.

  • Uniform: On the egress node, the TTL value of inner packets is subtracted by 1 and mapped to the IPv6 TTL field.
  • Pipe: On the egress node, the TTL value of inner packets is not mapped to the IPv6 TTL field. Instead, the value of IP TTL minus 1 is directly assigned to the IPv6 TTL field.
IP-TTL

TTL value. In Pipe mode, the TTL value of inner packets is not mapped to the IPv6 TTL field in the egress node. Instead, the value of IP TTL minus 1 is directly assigned to the IPv6 TTL field.

Diffserv-mode

Indicates the DiffServ mode of the service chain.

  • Uniform: Copies the DiffServ information of the inner packet to the outer packet.
  • Pipe: Packets are copied to the outer packets using the specified ServiceClass and Color. The packets and forwarding behaviors of different packets are controlled differently.
ServiceClass

Indicates the service chain differentiated service type.

Color

Specifies the color of the packet when it enters the public network from the private network.

Cache-sl

Segment left value, indicating the number of explicitly listed intermediate nodes still to be visited before reaching the final destination.

Cache-list

After receiving a packet from the SF, the SFF needs to encapsulate the segment list to be encapsulated in the original packet of the service chain.

PeerSidState

The route state of the backup SFF SID.

  • Waiting: Indicates that the route status is to be obtained.
  • Active: The SID route is reachable.
  • Inactive: The SID route is unreachable.
ForwardType

Indicates the forwarding type from the SFF to the SF.

  • Eth: Ethernet type.
  • IPv4: IPv4 type.
NextHop

Next hop address for Layer 3 forwarding from the SFF to the SF.

Out-interface

Outbound interface that the SFF forwards to the SF.

In-interface

Inbound interface for the SFF to receive SF return packets.

Total SID(s)

The number of SIDs.

Out-vlan

Outer VLAN ID of the outbound interface that the SFF forwards to the SF.

Out-cevid

Inner VLAN ID of the outbound interface that the SFF forwards to the SF.

In-vlan

Outer VLAN ID of the inbound interface for the SFF to receive SF return packets.

In-cevid

Inner VLAN ID of the inbound interface for the SFF to receive SF return packets.

Dest-mac

Destination MAC address encapsulated in Layer 2 forwarding of SFF packets to SF.

Symmetric-index

Symmetric index that ensure the forward and reverse traffic transmitted to the same SF in the service chain.

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