01-17-2012 12:49 AM - edited 03-04-2019 02:55 PM
Hi everyone,
There is a Layer 2 Cisco switch ı want to do mac security,My scenerio is ; For only 3 port (Fa0/3,Fa0/4,Fa0/5) on these ports I want to make security.There are Five mac address.In these mac adresses which one to connect tese port it can connect to network.I runned this commands but only first port run.Other ports it can't.What can I do?
For Fa0/3 ;
conf t
inter fa0/3
switchport port security
switchport maksimum 5
switchport port security mac adresss (first mac)
switchport port security mac adresss (second mac)
switchport port security mac adresss (thirth mac)
switchport port security mac adresss (fourth mac)
switchport port security mac adresss (fifth mac)
switchport port secururity violation shutdown
end
wr
01-17-2012 06:52 AM
Did you apply the same configuration to Fa0/3, Fa0/4, and Fa0/5?
01-17-2012 07:22 AM
You can't apply the same static secure MAC address on different ports.
I reviewed your diagram and can you explain how those hosts will connect to the same port? VMWare?
If you are using VMWare, we don't recommend applying port-security because if the MAC address is learned via a different port, it will be shutdown due to a violation.
01-31-2012 01:20 AM
Thanks for answers,I solved problem with mac access list configuration.
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