Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Switchport security and errdisable

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
Hall of Fame Super Blue

Re: Switchport security and errdisable

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

3 REPLIES
Hall of Fame Super Blue

Re: Switchport security and errdisable

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

Cisco Employee

Re: Switchport security and errdisable

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

New Member

Re: Switchport security and errdisable

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

GP

115
Views
0
Helpful
3
Replies