08-17-2012 02:53 PM - edited 03-07-2019 08:24 AM
I have a stack of 2960's that I would like to configure using switchport port-security. The interfaces are set up like this:
interface GigabitEthernet1/0/31
switchport voice vlan 100
spanning-tree portfast
How do I add switchport port-security to the above? Also how do I apply it to a range? How does this affect the trunk ports like these:
interface GigabitEthernet3/0/48
description TRUNK
switchport mode trunk
Thanks
08-17-2012 04:37 PM
Hi,
Start by reading this section of the 2960S config guide
Regards,
Alex.
Please rate useful posts.
07-24-2013 06:28 PM
I still need help. How do I apply switch ort security on the 2960 stack and exclude certain ports? Are there any cons with VoIP?
07-24-2013 06:50 PM
Don't do that on the trunks.
Get a range of ports similar to this:
Switch(config)#interface range fastethernet0/1 – 20
or this:
Switch(config)#interface range fastethernet0/1 – 4 , fastethernet0/10 – 15
Do this on all the access ports:
SW1(config-if)# switchport porty-security maximum 3
One mac address for the PC and two for the phone. One for when it comes up and one for after it CDP's and moves its self over to the voice VLAN. Thats as per a cisco recomendation I got a while ago...
- Be sure to rate all helpful posts
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