cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513
Views
0
Helpful
3
Replies

Switchport security and errdisable

jorolas
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

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

ankbhasi
Cisco Employee
Cisco Employee

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

try disabling and re enabling the port, may shut no shut help..:)

GP

Review Cisco Networking products for a $25 gift card