cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2893
Views
5
Helpful
15
Replies

Mac address Traffic Blocking

Eng-Ruthless
Level 1
Level 1

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.

15 Replies 15

Hello
If the switches dont even recognise it a l2 then the filter wont work , sorry to hear you lost so much time!


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul