The ipv6 mtu command sets the maximum transfer unit (MTU) value for an interface to send IPv6 packets.
The undo ipv6 mtu command restores the default MTU value for an interface to send IPv6 packets.
By default, the default value of the MTU is 1500 bytes.
Parameter | Description | Value |
---|---|---|
mtu |
Specifies the MTU for an interface to send IPv6 packets. |
|
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view
Usage Scenario
If the traffic capability on a link between the source and destination ends changes, this ipv6 mtu command is used to set the MTU value for sending IPv6 packets. If the packet length is greater than the IPv6 MTU of the interface, the system fragments the packet based on the set MTU value before forwarding the packet.
Configuration Impact
A dynamic path maximum transfer unit (PMTU) value is set based on IPv6 MTU values on interfaces.
The PMTU mechanism helps the system obtain the smallest value among MTU values on all interfaces on the path between the source and destination ends. If the IPv6 MTU value set using the ipv6 mtu command is smaller than the static PMTU value set using the ipv6 pathmtu command, the system fragments the packet based on the set MTU value before forwarding the packet.If the IPv6 MTU value set using the ipv6 mtu command is smaller than the static PMTU value set using the ipv6 pathmtu command, the system fragments the packet based on the set MTU value before forwarding the packet.
Precautions
The directly connected interfaces must assigned the same IPv6 MTU value.
<HUAWEI> system-view [~HUAWEI] interface eth-trunk 1 [*HUAWEI-Eth-Trunk1] ipv6 enable [*HUAWEI-Eth-Trunk1] ipv6 mtu 1400
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet0/1/1 [*HUAWEI-GigabitEthernet0/1/1] ipv6 enable [*HUAWEI-GigabitEthernet0/1/1] ipv6 mtu 1400