Port-security logging

Created: Dec 13, 2019 15:41:22Latest reply: Dec 16, 2019 02:37:28 137 3 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hi.


Does anyone know what is logged when a port-sec violation occurs? Documentation is vague and suggest something gets sent to the trapbuffer, but i can't find whatever that is.

Trying to find an easy way to find locked mac addresses on ports where devices have moved.


thanks

  • x
  • convention:

Featured Answers
Popeye_Wang
Admin Created Dec 16, 2019 02:37:28 Helpful(0) Helpful(0)

Hi Abertay,

On an interface where the number of learned secure MAC addresses reaches the maximum value, the interface sends an alarm when receiving invalid MAC addresses.

For example:

Apr 20 2019 05:12:30-05:13S5700-28C-EI L2IFPPI/4/PORTSEC_ACTION_HAVEMAC_ALARM:OID 1.3.6.1.4.1.2011.5.25.315.3.2Interface (26/21) GigabitEthernet0/0/21receive insecure MAC-address, and MAC address is e024-7ffd-33e7,VLAN is 203, the port status is : 1. (1:restrict;2:protect;3:error-down)

You can find the mac address in the alarm.

Hope this helps you.

  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Dec 14, 2019 02:32:45 Helpful(0) Helpful(0)

Hi @Abertay would you mind share us the logs, so that we could help to resolve the problem.
  • x
  • convention:

umaryaqub
umaryaqub MVE Created Dec 14, 2019 18:11:27 Helpful(0) Helpful(0)

do you want to apply port security or just see the ports where any port-security violation has occurred?
You can use following document for configuring and setting sticky port security on switches:

https://support.huawei.com/enterprise/en/doc/EDOC1000088756?section=j00a
  • x
  • convention:

A%20network%20professional%20eager%20to%20learn%20and%20help.I%20have%208%20years%20of%20network%20experience%20and%20I%20am%20working%20with%20Huawei%20VAP%20and%20looking%20after%20IP%20Projects%20design.
Popeye_Wang
Popeye_Wang Admin Created Dec 16, 2019 02:37:28 Helpful(0) Helpful(0)

Hi Abertay,

On an interface where the number of learned secure MAC addresses reaches the maximum value, the interface sends an alarm when receiving invalid MAC addresses.

For example:

Apr 20 2019 05:12:30-05:13S5700-28C-EI L2IFPPI/4/PORTSEC_ACTION_HAVEMAC_ALARM:OID 1.3.6.1.4.1.2011.5.25.315.3.2Interface (26/21) GigabitEthernet0/0/21receive insecure MAC-address, and MAC address is e024-7ffd-33e7,VLAN is 203, the port status is : 1. (1:restrict;2:protect;3:error-down)

You can find the mac address in the alarm.

Hope this helps you.

  • x
  • convention:

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