Got it

How Do I Change the MAC Address of a WAN Interface?

Latest reply: Jun 25, 2019 05:05:47 2581 2 12 0 1

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

Differences Between System and Interface MAC Addresses
  • 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

Run the set system-mac command in the diagnostic view to change 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


Good job!
View more
  • x
  • convention:

Good!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.