I executed the following command on the switch in the environment I work in:
"mac address-table static XXXX.XXXX.XXXX vlan X drop"
My intention was to prevent a single PC from accessing the network. However, my curiosity led me to create a lab on eve-ng and I used the above command there. However, I noticed that the PC was still able to ping another PC or request DHCP and actually receive it.
Now I am confused whether the command actually works or not.
It should be noted that the switches I work with are Catalyst, while in the eve-ng lab I used Nexus switches.
Please provide any clarification that could help me, I would greatly appreciate it.