No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Static PMTU

Configuring Static PMTU


Generally, PMTU is dynamically negotiated according to the IPv6 MTU value of an interface. In special situations, to protect devices on the network and avoid attacks from large-sized packets, you can manually configure the PMTU to a specified destination node to control the maximum length of packets forwarded from the device to the destination node.


When the PMTU from the device to a specified destination node is set, the IPv6 MTU values for interfaces on all intermediate devices cannot be smaller than the configured PMTU value. Otherwise, packets are discarded.


  1. Run system-view

    The system view is displayed.

  2. (Optional) Configure the IPv6 MTU for an interface.

    1. Run interface interface-type interface-number

      The specified interface view is displayed.

    2. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.


      Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

    3. Run ipv6 enable

      The IPv6 function is enabled on the interface.

      By default, the IPv6 function is disabled on an interface.

    4. Run ipv6 mtu mtu

      The MTU of IPv6 packets on an interface is set.

      By default, the MTU of IPv6 packets on an interface is 1500 bytes.


      The switch supports MTU setting, so packets sent by the protocol stack are fragmented based on the configured MTU. However, the hardware chip does not support MTU setting, and the default maximum value is 12K.

      After the MTU value is changed, run the shutdown and undo shutdown commands or the restart (interface view) command to restart the interface and allow the changes to take effect.

    5. Run quit

      Return to the system view.

  3. Run ipv6 pathmtu ipv6-address [ vpn-instance vpn-instance-name ] [ path-mtu ]

    The PMTU for a specified IPv6 address is set.

    If the parameter path-mtu is not specified, the PMTU for a specified IPv6 address is 1500 bytes.

Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 29437

Downloads: 222

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next