Testing Switch Port Security
sarahanand
Member Posts: 52 ■■□□□□□□□□
in CCNA & CCENT
I have a practice lab in PT. I have a PC connected to the switch on fa0/12 with port security setting of max MAC address 1. The security violation count shows 0 now. What should I do to make a Violation?
Comments
-
steveyeung Member Posts: 44 ■■□□□□□□□□connect a hub to the port fa0/12, and connect 2 pc to the hub
-
pamccabe Member Posts: 315 ■■■□□□□□□□That or use the port-security mac-address sticky command to learn the mac. Now, move the computer and plug another one into that port.
-
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□Install VMs on the PC.Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
TechGuru80 Member Posts: 1,539 ■■■■■■□□□□Or port-security mac-address ABCD.EFGH.IJKL ... obviously a fake mac address but then plugin the computer and poof security violation.
-
Magic Johnson Member Posts: 414TechGuru80 wrote: »Or port-security mac-address ABCD.EFGH.IJKL ... obviously a fake mac address but then plugin the computer and poof security violation.
Yeah that's what I did, just put the MAC of the client's NIC but change the last digit that will create a violation and protect/restrict/shutdown. If you are using packet tracer you'll have to 'no' each of your port-security settings as the 'default' command doesn't work (annoyingly). Or you could just reload the device if that's the only changes you've made to the config.