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
Default command level
2: System level
Parameters
size: Sets the MTU in the range of 46 to 1500 bytes.
Examples
# Set the MTU to 1492 bytes for VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mtu 1492
Related commands
display interface vlan-interface
name
Use name to configure a name for the VLAN.
Use undo name to restore the default name of the VLAN.
Syntax
name text
undo name
Default
The name of a VLAN is VLAN vlan-id, which is its VLAN ID. For example, the default name of VLAN
100 is VLAN 0100.
Views
VLAN view
Default command level
2: System level
Parameters
text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive
letters, digits, special characters such as tilde (~), exclamation point (!), at sign (@), pound sign (#),
dollar sign ($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace({), right brace
21