cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1436
Views
0
Helpful
1
Replies

switch port security max fails even after clearing interface configuration

Hello, everyone! Today I was trying to implement port security with the following scenario:

First of all, an interface f0/2 was configured with max 2 sticky. Later on, I needed to limit the max to 1. Since I can't reduce so I had to clear interface config using default and configured the interface with max 1 and sticky, sometimes the interface still seemed to work with previous MAC address that was configured earlier besides, not showing at all "switchport port-security maximum 1" or the sticky mac address of the desired PC in the running config. 

 

running config earlier 
switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security mac-address sticky 00D0.D365.2D20 switchport port-security mac-address sticky 00E0.A33C.452A
........
cleared interface config
default int f0/2
........
running config after configuring port security max 1 and sticky
switchport mode access
switchport port-security
switchport port-security mac-address sticky

 

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

how is the user getting the IP address is this from DHCP.

is the device connected directly or connected to Phone and PC ?

 

Also suggest to clear the ARP table in related to MAC address and before IP.

shut and no shut the port and check

 

if you have still issue, provide the details below :

 

model of the device

what code running

mac addres table information for that port?

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help