The display segment-routing ipv6 local-sid forwarding command displays information about local SRv6 SID tables.
Parameter | Description | Value |
---|---|---|
end-dx2 |
Specifies the End.DX2 SID type. |
- |
end-dx2l |
Specifies the End.DX2L SID type. |
- |
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. |
evpl-instance evpl-instance-id |
Specifies the ID of an EVPL instance. |
For details about the value range, see the evpl instance (System view) command. |
Usage Scenario
End.DX2 SID is a layer-2 cross-connect endpoint SID that identifies an endpoint. The instruction bound to the End.DX2 SID is to pop the IPv6 header and its extension headers and then forward the remaining packet content to the outbound interface bound to the SID. The End.DX2 SID is used in L2VPN/EVPN VPWS scenarios.
If a bypass tunnel exists on the network, an End.DX2L SID is generated automatically. This command is used to view information about local SRv6 SID tables of a specific SID or all SIDs. The display segment-routing ipv6 local-sid end-dx2 forwarding command displays the End.DX2 SID information. The display segment-routing ipv6 local-sid end-dx2l forwarding command displays the End.DX2L SID information. The specified End.DX2 type SID can also be queried according to the EVPL instance, for example: display segment-routing ipv6 local-sid end-dx2 evpl-instance evpl-instance-id forwarding. According to the EVPL instance, the specified End.DX2L type SID can also be queried, for example: display segment-routing ipv6 local-sid end-dx2l evpl-instance evpl-instance-id forwarding.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display segment-routing ipv6 local-sid end-dx2l forwarding
My Local-SID End.DX2L Forwarding Table
-------------------------------------
SID : 2001:DB8:1::1/128 FuncType : End.DX2L
EVPL ID : 3
LocatorName: sdd LocatorID: 2
Total SID(s): 1
<HUAWEI> display segment-routing ipv6 local-sid end-dx2 forwarding
My Local-SID End.DX2 Forwarding Table
-------------------------------------
SID : 2001:DB8:1::1/128 FuncType : End.DX2
EVPL ID : 1
LocatorName: l1 LocatorID: 1
Total SID(s): 1
Item | Description |
---|---|
SID | SID value. |
FuncType | Function type. |
EVPL ID | EVPL ID corresponding to the SID. |
Total SID(s) | Total number of SIDs. |
LocatorName | Locator name corresponding to the SID. |
LocatorID | Locator ID corresponding to the SID. |