(Optional) Configuring a MAC Address
Context
The MAC address of an Ethernet interface is the system MAC address and may conflict with the MAC address of another interface. If the MAC address of an Ethernet interface conflicts with that of another interface, a loop may occur or traffic may fail to be forwarded.
You can run the mac-address command to change the MAC address of the Ethernet interface to ensure that service data flows are properly forwarded.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The Ethernet interface view is displayed.
- Run mac-address mac-address
A MAC address is configured for the Ethernet interface.
By default, the MAC address of an Ethernet interface is the system MAC address.