02-10-2018 11:30 AM - edited 03-08-2019 01:47 PM
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow along on the switch as I go. Here's what I've done as evidenced by the show run config command:
interface FastEthernet0/2
switchport mode access
switchport port-security
According to the book this should enable Port Security on the port with the following defaults
Max allowed addresses 1
Action Shutdown
The book goes on to say that predefining any mac-addresses is optional and sticky learning is optional as well. I plug one of my MacBooks into Fa0/2, and console responds with up/up. I unplug and plug another MacBook into Fa0/2 and it goes up/up again and doesn't go down. do it a few more times and still no shutdown. I do a show port-security and I see that every time I unplug a MacBook, the current address count goes back to zero.
2960#sh port
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
---------------------------------------------------------------------------
Fa0/2 1 0 0 Shutdown
So either the book fails to mention that for the port security default action to take place, their needs to be a defined or sticky learned address, or I'm doing something wrong.
Thanks
Solved! Go to Solution.
02-11-2018 02:21 AM
02-11-2018 02:21 AM
02-11-2018 01:41 PM
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