The reduce-srh enable command enables reduced SRH function.
The undo reduce-srh enable command disables reduced SRH function.
By default, the reduced SRH function is disabled.
Usage Scenario
An SRH consumes a large number of bits. During SRH encapsulation, the SRv6 source node encapsulates the first SID to be processed into the destination address (DA) field of the IPv6 header. Therefore, the first SID in the SRH is meaningless for forwarding. To reduce the SRH size, the SRv6 source node can encapsulate a reduced SRH that does not contain the first SID to be processed. If an SRH contains only one SID, the SRH does not need to be encapsulated, as defined by relevant standards.
After the reduce-srh enable command is run, the first SID is not encapsulated into the SRH, which reduces the SRH length without affecting service forwarding.