set l3-interface routed-interface mtu


The set l3-interface routed-interface mtu command configures the maximum transmission unit (MTU) of a Layer 3 routed interface.

The delete l3-interface routed-interface mtu command deletes the IP MTU to the default value.

NOTE:

  • The MTU value takes effect only on the outbound interface of the routed interface.
  • It is not supported to configure MTU on the sub-interfaces. The sub-interfaces use the MTU value configured on the parent interface.
  • If you need to use IPv6 related functions, MTU needs at least 1280 bytes.


Command Syntax

set l3-interface routed-interface <interface-name> mtu <mtu-value>


Parameter

Parameter

Description

routed-interface <interface-name>

Specifies a routed interface name. The value is a string.

mtu <mtu-value>

Specifies the MTU of an interface. The value is an integer that ranges from 68 to 65535, in bytes. The default value is 1500 bytes.


Usage Guidelines

An MTU value determines the maximum number of bytes in the IP layer packet that can be sent at a time. If the size of the data packets of the IP layer packet exceeds the MTU supported by a transit node or a receiver, the data packet is dropped at the sender's IP layer.


Example

  •   Configure the MTU for a routed interface.
admin@Xorplus# set l3-interface routed-interface rif-te4 mtu 2000
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.