04-10-2007 12:27 AM - edited 03-03-2019 04:29 PM
Hi,
I am trying to setup port security with errdisable action. This is the configuration I am using:
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security mac-address MAC
cat6knative(config−if)#switchport port−security violation shutdown
After this configuration, the port should enter in a errdisable state if a host with a mac address different as MAC is connected to this port, but nothing happens and the port remains available for the non-secure host.
What else should I do or configure? Could be a problem with IOS?
Thanks in advance,
Regards
Solved! Go to Solution.
04-10-2007 12:52 AM
Hi
try adding the following line
switch(config-if)# switchport port-security maximum 1
This tells the switch that the maximum numbe of mac-addresses allowed on interface is 1.
HTH
Jon
04-10-2007 12:52 AM
Hi
try adding the following line
switch(config-if)# switchport port-security maximum 1
This tells the switch that the maximum numbe of mac-addresses allowed on interface is 1.
HTH
Jon
04-10-2007 12:53 AM
Hi Friend,
Also configure this command under interface config mode and see if this helps you
Switch(config-if)#switchport port-security maximum 1
Regards,
Ankur
04-10-2007 01:01 AM
try disabling and re enabling the port, may shut no shut help..:)
GP
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