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

Mac Security Problem

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

3 REPLIES

Mac Security Problem

Did you apply the same configuration to Fa0/3, Fa0/4, and Fa0/5?

Hall of Fame Super Bronze

Mac Security Problem

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.

New Member

Mac Security Problem

Thanks for answers,I solved problem with mac access list configuration.

270
Views
0
Helpful
3
Replies