41
Default command level
2: System level
Parameters
size
: Sets the MTU in bytes. The value range for this argument is 46 to 1748.
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 symbols (see
), spaces, and other Unicode characters and symbols.
Usage guidelines
When 802.1X or MAC address authentication is configured on a device, you can use a RADIUS server
to issue VLAN configuration to ports that have passed authentication. Some servers can send IDs or
names of the issued VLANs to the device.
Use VLAN names, rather than VLAN IDs, to distinguish a large number of VLANs.
Examples
# Configure the name of VLAN 2 as
Test VLAN
.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] name Test VLAN