R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

68
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 specifies the ID of the VLAN. For example, the name of
VLAN 100 is VLAN 0100.
Views
VLAN view
Predefined user roles
network-admin
Parameters
text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive letters,
digits, special symbols (see Table 21)
, 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 switch. You can 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
Related commands
display vlan
reset counters interface vlan-interface
Use reset counters interface vlan-interface to clear statistics on a VLAN interface.