The path-mtu reserved command configures a global path MTU reserved value for SRv6 TE Policy and SRv6 BE. If no reserved value is specified, the default value 72 bytes is delivered.
The undo path-mtu reserved command deletes the configured global path MTU reserved value.
By default, the global path MTU reserved value for SRv6 TE Policy and SRv6 BE is not delivered.
Usage Scenario
The path-mtu reserved command is used to set the path MTU reserved value for all SRv6 TE Policy and SRv6 BE.
IPv6 packets cannot be fragmented on transit nodes for forwarding. If the size of an IPv6 packet entering a transit node exceeds the IPv6 MTU of the specified outbound interface, the node discards the packet. Conversely, if the size of an IPv6 packet is smaller than the MTU configured for an SRv6 BE path or an SRv6 TE Policy, the bandwidth of the associated link is not fully utilized. Therefore, an appropriate SRv6 path MTU needs to be configured to prevent packet loss and maximize link bandwidth utilization. In TI-LFA protection or binding SID scenarios, an SRH that has segment lists associated with TI-LFA or the binding SID needs to be inserted into IPv6 packets. This increases the packet size and must be taken into account when an SRv6 path MTU is configured. To allow for this additional length, configure a path MTU reserved value on the SRv6 ingress. The configured SRv6 path MTU minus the reserved value is called the active MTU. The smaller of either the active MTU or the IPv6 MTU of physical interfaces takes effect on SRv6 packets. SRv6 path MTU configuration takes effect for packets forwarded through either an SRv6 BE path or an SRv6 TE Policy. You need to configure a proper SRv6 path MTU according to the size of SRv6-encapsulated packets. Both SRv6 TE Policies and SRv6 BE paths support the global configuration of an SRv6 path MTU and reserved value. For example, if an SRv6 path MTU is set to 1600 bytes and the reserved value is set to 100 bytes globally, the active MTU is 1500 bytes. In this case, if the IPv6 MTU of physical interfaces is greater than or equal to 1500 bytes, the MTU used by the SRv6 ingress is 1500 bytes. However, if the IPv6 MTU of physical interfaces is less than 1500 bytes, the ingress uses this IPv6 MTU. SRv6 TE Policies also support the configuration of SRv6 path MTUs on a per segment list basis. An SRv6 path MTU configured for a segment list overrides the global SRv6 path MTU. For example, if an SRv6 path MTU is set to 1600 bytes globally, the SRv6 path MTU of all segment lists is 1600 bytes by default. If an SRv6 path MTU is set to a value other than 1600 bytes for a segment list, this segment list uses the newly configured value. The SRv6 path MTU of the segment list minus the globally configured reserved value is the active MTU of the segment list. This active MTU is then compared with the IPv6 MTU of physical interfaces. The smaller value between them is the MTU that the SRv6 ingress actually uses.Precautions
The path MTU value minus the reserved path MTU value must be greater than or equal to 1280.