The tunnel pathmtu enable command enables path MTU auto-discovery on a tunnel.
The undo tunnel pathmtu enable command disables path MTU auto-discovery on a tunnel.
By default, path MTU auto-discovery is disabled for a tunnel.
Usage Scenario
If a GRE tunnel is set up between two BGP nodes on which the peer path-mtu auto-discovery command has been run, path MTU auto-discovery can be enabled on the tunnel interface. This prevents TCP packets that contain BGP data from being fragmented multiple times during transmission, improving efficiency of BGP data transmission.
Prerequisites
The tunnel-protocol gre command has been configured in the tunnel interface view.
Precautions
The tunnel pathmtu enable and mtu commands cannot be run on the same tunnel interface. If the mtu command has been run on a tunnel interface, the tunnel pathmtu enable command cannot be executed on the interface.