Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    mtu

    Syntax

    mtu bytes;

    Hierarchy Level

    [edit interfaces interface-name], [edit interfaces interface-name unit logical-unit-number family family],[edit interfaces interface-range name],[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family family],[edit logical-systems logical-system-name protocols l2circuit local-switching interface interface-name backup-neighbor address],[edit logical-systems logical-system-name protocols l2circuit neighbor address interface interface-name],[edit logical-systems logical-system-name protocols l2circuit neighbor address interface interface-name backup-neighbor address],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols l2vpn interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols vpls],[edit protocols l2circuit local-switching interface interface-name backup-neighbor address],[edit protocols l2circuit neighbor address interface interface-name][edit protocols l2circuit neighbor address interface interface-name backup-neighbor address],[edit routing-instances routing-instance-name protocols l2vpn interface interface-name],[edit routing-instances routing-instance-name protocols vpls]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Support for Layer 2 VPNs and VPLS introduced in Junos OS Release 10.4.

    Statement introduced in Junos OS Release 12.1X48 for PTX Series Packet Transport Routers.

    Statement introduced in Junos OS Release 12.2 for ACX Series Universal Access Routers.

    Support at the[set interfaces interface-name unit logical-unit-number family ccc] hierarchy level introduced in Junos OS Release 12.3R3 for MX Series routers.

    Description

    Specify the maximum transmission unit (MTU) size for the media or protocol. The default MTU size depends on the device type. Changing the media MTU or protocol MTU causes an interface to be deleted and added again.

    To route jumbo data packets on an integrated routing and bridging (IRB) interface or routed VLAN interface (RVI) on EX Series switches, you must configure the jumbo MTU size on the member physical interfaces of the VLAN that you have associated with the IRB interface or RVI, as well as on the IRB interface or RVI itself (the interface named irb or vlan, respectively).

    Caution: For EX Series switches, setting or deleting the jumbo MTU size on an IRB interface or RVI while the switch is transmitting packets might cause packets to be dropped.

    Note:

    The MTU for an IRB interface is calculated by removing the Ethernet header overhead [6(DMAC)+6(SMAC)+2(EtherType)]. Becase, the MTU is the lower value of the MTU configured on the IRB interface and the MTU configured on the IRB’s associated bridge domain IFDs or IFLs, the IRB MTU is calculated as follows:

    • In case of Layer 2 IFL configured with the flexible-vlan-tagging statement, the IRB MTU is calculated by including 8 bytes overhead (SVLAN+CVLAN).
    • In case of Layer 2 IFL configured with the vlan-tagging statement, the IRB MTU is calculated by including a single VLAN 4 bytes overhead.

    Note: If a packet whose size is larger than the configured MTU size is received on the receiving interface, the packet is eventually dropped. The value considered for MRU (maximum receive unit) size is also the same as the MTU size configured on that interface.

    Note: Not all devices allow you to set an MTU value, and some devices have restrictions on the range of allowable MTU values. You cannot configure an MTU for management Ethernet interfaces (fxp0, em0, or me0) or for loopback, multilink, and multicast tunnel devices.

    For more information about configuring MTU for specific interfaces and router or switch combinations, see Configuring the Media MTU.

    Options

    bytes—MTU size.

    Range: 256 through 9192 bytes, 256 through 9216 (EX Series switch interfaces), 256 through 9500 bytes (Junos OS 12.1X48R2 for PTX Series routers)

    Default: 1500 bytes (INET, INET6, and ISO families), 1448 bytes (MPLS), 1514 bytes (EX Series switch interfaces)

    Required Privilege Level

    interface—To view this statement in the configuration.

    interface-control—To add this statement to the configuration.

    Published: 2014-04-25