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. Set the MTU.
mtu size
The default setting varies by
interface types. For more
information, see Interface
Command References.
Configuring the MAC address of an Ethernet interface or
subinterface
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 specific Layer 3 Ethernet
subinterface, use the mac-address command.
To configure the MAC address of an Ethernet interface or subinterface:
Ste
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 devices.
The default MAC address of a Layer 3
Ethernet subinterface is the same as the
MAC address of its host interface.
HP recommends not configuring a
MAC address in the VRRP-reserved
MAC address range for a Layer 3
Ethernet subinterface.
Displaying and maintaining an Ethernet interface or
subinterface
Execute display commands in any view and reset commands in user view.
12