Procedure
To prevent a loop or traffic forwarding failure caused by a MAC address conflict between a WAN interface and another interface, you can change the MAC address of the WAN interface.
<Huawei> system-view[Huawei] interface gigabitethernet 1/0/0[Huawei-GigabitEthernet1/0/0] mac-address 0001-2345-abcd
More Information
System MAC address: is the MAC address of the router.
- Interface MAC address: is the MAC address of a Layer 2 or Layer 3 Ethernet interface.
A Layer 3 interface has a MAC address that can be directly changed.
All Layer 2 interfaces on the router use the system MAC address as their MAC addresses. To change the MAC address of a Layer 2 interface, you can only change the system MAC address.
Changing the System MAC Address
Change the default system MAC address.
<Huawei> system-view[Huawei] diagnose[Huawei-diagnose] set system-mac default 00e0-0987-7890
Change the current system MAC address.
<Huawei> system-view[Huawei] diagnose[Huawei-diagnose] set system-mac current 00e0-0987-7890