Configure SNMP trap on a MAC change event on a switchport

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

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


Device used: S5720-SI

To do that you can use the command below:

<Huawei>sys

[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:


e2fe41670e2642ae920b3e472d711f5f

  • x
  • convention:

StarOfWest
Created Jun 20, 2018 06:24:11 Helpful(0) Helpful(0)

Useful
  • x
  • convention:

“We only get answers to the questions that we ask.” physicist Werner Heisenberg

Comment

Reply
You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login