I don't disagree with what's written. I'm studying for my CCNA Security right now in fact so I understand what protect and restrict are supposed to do.
I was only trying to logically explain what could be happening behind the scene's within the IOS pertaining to what scottsee is explaining.
From Cisco :
Quote:
When configuring port security, note the following syntax information about port security violation modes:
•protect—Drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value.
•restrict—Drops packets with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value and causes the SecurityViolation counter to increment.
•shutdown—Puts the interface into the error-disabled state immediately and sends an SNMP trap notification.
so in essence, the frame with an invalid source MAC
should be dropped once it hits the port no questions asked, but scottsee is saying that protect and restrict are only working if he tries a destination other than the management IP of the VLAN associated to the port...
scottsee wrote:
Yep. I turned on another switch and trunked a link between the two. Communication to the VLAN management interface is successful even though port-security is configured on the switch, but it will not process frames designated to any other ip address. ICMP ping and Telnet session requests from my desktop to the 2nd switched failed every time while the port-security counters increase as expect. Essentially doing the job that it should. When I turned off port-security on the offending f/01 port layer 3 communication goes back to normal and I'm able to reach my second switch.
Interesting..
so what I trying to do was create an analogy based on his findings:
Code:
interface FastEthernet0/1
switchport mode access
!
!
interface vlan 1
ip address 192.168.1.1 255.255.255.0
ip access-group 101 out
!
!
access-list 101 deny ip any any
...which should produce the same results as what he's explaining.
I could be wrong, I'm not contesting that. But it just made sense to me
