20
Step Command
Remarks
2.
Enter Ethernet interface
or subinterface view.
interface
interface-type
{
interface-number
|
interface-number.subnumber
}
N/A
3.
Set the MTU of the
Ethernet interface or
subinterface.
mtu
size
The default setting is 1500
bytes.
Configuring the MAC address of an Ethernet interface or
subinterface
The following matrix shows the feature and hardware compatibility:
Hardware
MAC address configuration compatibility
F5020/F5040 Yes
M9006/M9010/M9014 Yes
VFW1000 No
In a network, when the Layer 3 Ethernet interfaces or subinterfaces of different devices have the same
MAC address, the devices might fail to communicate correctly. To eliminate the MAC address conflicts,
use the
mac-address
command to modify the MAC addresses of Layer 3 Ethernet interfaces or
subinterfaces.
Additionally, when a Layer 3 Ethernet subinterface is created, it uses the MAC address of its main
interface by default. As a result, all Layer 3 Ethernet subinterfaces of a Layer 3 Ethernet interface share
the same MAC address. To configure a different MAC address for a Layer 3 Ethernet subinterface, use
the
mac-address
command.
To configure the MAC address of an Ethernet interface or subinterface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface or
subinterface view.
interface
interface-type
{
interface-number
|
interface-number.subnumber
}
N/A
3.
Configure the MAC address
of the Ethernet interface or
subinterface.
mac-address
mac-address
The default MAC address of a Layer 3
Ethernet interface varies by device
model.
The default MAC address of a Layer 3
Ethernet subinterface is the same as the
MAC address of its main interface.
H3C recommends not configuring a
MAC address in the VRRP-reserved
MAC address range for a Layer 3
Ethernet subinterface.