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

67
undo mac-address
Default
No MAC address is assigned to a VLAN interface.
Views
VLAN interface view
Predefined user roles
network-admin
Parameters
mac-address: Specifies a MAC address in the format of H-H-H.
Usage guidelines
VLAN interfaces are virtual interfaces that are manually created and removed. Upon creation, a VLAN
interface borrows the MAC address of a physical interface on the device. For this reason, all VLAN
interfaces on a device share the same MAC address. You can use this command to set different MAC
addresses for different VLAN interfaces to avoid MAC address collisions.
Examples
# Assign MAC address 0001-0001-0001 to VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] mac-address 1-1-1
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. The value range for this argument is 46 to 1500.
Usage guidelines
If both the mtu and ip mtu commands are configured 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 3IP
Services Command Reference.