0

How can i config Multiple mac address on one cisco switch interface? (I have 3 laptops and i connect only one laptop every time(I switch between them), and i want to config only one interface with the 3 mac address and block all the other interfaces(security motives). I think i prefer that on port security, and open and block every time i connect laptop on the switch. Can someone help me and explain to me how to conf that? Thank you all

1

You cannot have multiple MAC address on Single Port. Port Security is somewhat different. It is allowed only specific MAC addresses through port. That particular port only allow to transfer data for permitted mac addresses.

If you want to allow only 3 computers, best way is shutdown other ports and enable port security in that particular port. Additionally you can use Dynamic VLAN also.

https://community.cisco.com/t5/networking-documents/how-to-configure-port-security-on-cisco-catalyst-switches-that/ta-p/3132907

| improve this answer | |
  • Oh i think i get you ,dyanmic vlan sounds like a good option.. you meant create a vlan with 3 computers and con that on the port and shut down all the other ports right? – Jasmine Apr 16 at 11:01
  • that also one option. but i don't see such a requirement because your requirement is not a vlan purpose. dynamic vlan is somewhat different. please search it on google. – infra Apr 16 at 17:15
  • Thank you so much!!i actually tried to find out about dynamic vlan and how to config that but i didnt understand really:/ can you maybe explain me that shortly..? – Jasmine Apr 19 at 10:11
  • Emm still try to understand why you prefer a dynamic vlan over static... i have only one switch so dont need vtp – Jasmine Apr 19 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.