08-22-2005 08:49 PM - edited 03-02-2019 11:47 PM
I had configured this, but when i plug in other machine with different MAC, how come it still able to access the network?
interface FastEthernet0/22
switchport mode access
switchport protected
switchport port-security
switchport port-security maximum 22
switchport port-security violation restrict
switchport port-security mac-address 0060.97ed.6092
Switch_242#show port interface fastEthernet 0/22 address
Secure Mac Address Table
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------
1 0060.97ed.6092 SecureConfigured Fa0/22 -
-------------------------------------------------------------------
Total Addresses: 1
08-22-2005 09:54 PM
Hello,
you are allowing a maximum of 22 MAC addresses on the port:
switchport port-security maximum 22
But you have only configured one secure MAC address:
switchport port-security mac-address 0060.97ed.6092
If you configure fewer secure MAC addresses than the maximum, the remaining MAC addresses are dynamically learned. In order to actually allow only one MAC address on the port, remove the statement 'switchport port-security maximum 22'.
HTH,
GP
08-23-2005 01:43 AM
Hi,
Place command
set port security auto-configure enable
regards
08-23-2005 01:50 AM
That command is for CatOS (set port security auto-configure enable). The example is for and IOS switch. I have never configured security in a port, but I guess the answear of gpauwen is correct.
-as
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