12-28-2015 02:42 AM - edited 03-08-2019 03:13 AM
I have C2960 connect to company WAN via port fa0/24 i hve done some security configuration such as the following:
<<<<<
switchport access vlan 931
switchport mode access
switchport nonegotiate
switchport port-security maximum 9
switchport port-security
switchport port-security violation restrict
switchport port-security mac-address 0017.a477.3c2e
switchport port-security mac-address 0017.a477.3c38
switchport port-security mac-address 0024.147a.c120
switchport port-security mac-address 1cc1.de06.5dec
switchport port-security mac-address d89d.6714.ab30
switchport port-security mac-address d89d.6714.ab31
switchport port-security mac-address d89d.6714.d718
switchport port-security mac-address d89d.6714.d719
switchport port-security mac-address d89d.6715.9dd0
ip access-group HQs_PI_EXT in
no cdp enable
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
spanning-tree guard root
>>>>
i can not put violation to shutdown due to always trigger because the UDP flood or storm and i keep getting messages on my syslog server says the following messages so please any idea and what is the reason
12-28-2015 06:34 AM
Hello.
Because you used a command "switchport port-security maximum 9" you switch can deal only with first 9 MAC addresses that it got. And as I see by a commands bellow it already learned all 9 MAC addresses. But you WAN connection hsa more than 9 hosts and more than 9 MAC addresses from them. And because you have a "switchport port-security violation restrict" line you are getting all this messages about violation of the rule "not more than 9 MAC addresses".
You have 2 solutions:
1. Permit to learn more MAC addresses from a WAN.
2. Use a command "switchport port-security violation protect" instead of "restrict". At this way it will continue to drop traffic from not learning MAC addresses but switch will not inform you about this (But keep in mind this line for a troubleshooting in the future).
Best Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide