The display segment-routing ipv6 local-sid forwarding command displays information about local SRv6 SID tables.
Parameter | Description | Value |
---|---|---|
end-dt2u |
Specifies the End.DT2U SID type. |
- |
end-dt2ul |
Specifies the End.DT2UL SID type. |
- |
end-dt2m |
Specifies the End.DT2M SID type. |
- |
sid-value |
Specifies an IPv6 SID value. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
bridge-domain bd-id |
Specifies a BD ID. |
The value is an integer that ranges from 1 to 16777215. |
Usage Scenario
End.DT2U SID is a layer-2 cross-connect endpoint SID to which unicast MAC table lookup is bound. It also identifies an endpoint. The instruction bound to the End.DT2U SID is to pop the IPv6 header and its extension headers, search the MAC address table based on the exposed destination MAC address, and forward the remaining packet content to the outbound interface bound to the SID. The End.DT2U SID is used in EVPN VPLS unicast scenarios.
If a bypass tunnel exists on the network, an End.DT2UL SID is generated automatically and used to send unicast traffic over the bypass tunnel when a CE is dual-homed to two PEs. End.DT2M SID is a layer-2 cross-connect endpoint SID to which broadcast-based flooding is bound. It also identifies an endpoint. The instruction bound to the End.DT2M SID is to pop the IPv6 header and its extension headers and then broadcast the remaining packet content in the bridge domain (BD). The End.DT2M SID is used in EVPN VPLS broadcast, unknown-unicast, multicast (BUM) scenarios. This command is used to view information about local SRv6 SID tables of a specific SID or all SIDs.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-dt2m forwarding
My Local-SID End.DT2M Forwarding Table
---------------------------------------
SID : 2001:DB8:1::3/128 FuncType : End.DT2M
Bridge-domain ID : 20
LocatorName : 2 LocatorID: 1
Total SID(s): 1
<HUAWEI> display segment-routing ipv6 local-sid end-dt2ul forwarding
My Local-SID End.DT2UL Forwarding Table
--------------------------------------
SID : 2001:DB8:1::5/128 FuncType : End.DT2UL
Bridge-domain ID : 30
LocatorName : 2 LocatorID: 1
Total SID(s): 1
<HUAWEI> display segment-routing ipv6 local-sid end-dt2u forwarding
My Local-SID End.DT2U Forwarding Table
---------------------------------------
SID : 2001:DB8:1::8/128 FuncType : End.DT2U
Bridge-domain ID : 10
LocatorName : 2 LocatorID : 1
Total SID(s): 1
Item | Description |
---|---|
SID | SID value. |
FuncType | Function type. |
Bridge-domain ID | ID of the BD corresponding to the SID. |
LocatorName | Locator name corresponding to the SID. |
Total SID(s) | Total number of SIDs. |
LocatorID | Locator ID corresponding to the SID. |