Port security - Two things that actually triggers it?
Lets say you have port security configured on switch a for host a's mac address with a violation mode of restrict. Lets say you plug switch b into switch a and plug host a in to switch b. This would trigger port security and drop packets on switch a right? It would seem that way from what I tried in packet tracer. But is the cause of this due to the fact that switch b's mac address is in the mac address table instead of host a's? What I planned to have happen was that host a would ping a router which was on another port on switch a. Even though port security was configured to only accept that mac address those packets got dropped too. What i suspect was happening was that maybe STP was trying to make convergence happen with the new switch (b) and switch a added switch b's mac address to the table triggering the error. Is this why host a's packets got dropped too? The link between switch a and be was ofcourse a trunk and I don't usually configure port security on the trunks but I just wanted to see what happened.
Currently reading: Network Warrior, Unix Network Programming by Richard Stevens