Got it

Configure SNMP trap on a MAC change event on a switchport

Latest reply: Jun 20, 2018 06:24:11 714 1 1 0 0

Hello everyone,

If you would like to know if the learned MAC address on a switch port will change and when exactly is happening that without having to go through logs, then you can follow the below procedure to implement it.

The device used: S5720-SI

To do that you can use the command below:


[Huawei]interface GigabitEthernet 0/0/7

[Huawei-GigabitEthernet0/0/7]mac-address trap notification learn

When the change occurs, you may see a similar output like below on the console and you can redirect this alarm to whatever device you may consider for monitoring:


That is all I want to share with you! Thank you!

  • x
  • convention:

Created Jun 20, 2018 06:24:11

View more
  • x
  • convention:


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

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


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