Mtu - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

You cannot create a VLAN interface for a sub-VLAN. For more information about sub-VLANs, see
Layer 2—LAN Switching Configuration Guide.
You cannot create VLAN interfaces for secondary VLANs that meet the following requirements:
Associated with the same primary VLAN.
Enabled with Layer 3 communication in VLAN interface view of the primary VLAN interface.
For more information about secondary VLANs, Layer 2—LAN Switching Configuration Guide.
Examples
# Create VLAN-interface 2, and enter its view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2]
Related commands
display interface vlan-interface

mtu

Use mtu to set the MTU for a VLAN interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU of a VLAN interface is 1500 bytes.
Views
VLAN interface view
Predefined user roles
network-admin
Parameters
size: Sets the MTU in bytes, in the range of 128 to 1500.
Usage guidelines
The ip mtu or mtu command configuration on an interface takes effect on only the packets sent to
the CPU for software forwarding, including the packets destined to or sourced from the interface.
Configure the MTU as appropriate to avoid fragmentation.
If you configure both the mtu and ip mtu commands on a VLAN interface, the MTU set by the ip mtu
command is used for fragmentation. For more information about the ip mtu command, see Layer
3—IP Services Command Reference.
Examples
# Set the MTU to 1492 bytes for VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mtu 1492
172

Advertisement

Table of Contents
loading

Table of Contents