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
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.