ā03-16-2022 02:31 AM
I have a Cisco SG300 serving DHCP.
I want to block a device with MAC address that is plugging on my network.
How can I deny one or a list od MAC addresses ?
Thanks for helping me.
Albert
ā03-16-2022 02:54 AM
- In essence you can't use DHCP to block a mac address because DHCP is a 'volunteering service' that a device either chooses to use or not.
M.
ā03-16-2022 03:12 AM - edited ā03-16-2022 03:13 AM
Try this command drop the traffic per vlan.
Hope this command will work on the SG 300 Series
Switch(conf)#mac address-table static 3408.0499.981c vlan X drop
Thanks,
Jitendra
ā03-16-2022 03:28 AM
How can I run this command ? I cannot find the CLI option .
Is it reversible ?
How can I roll back the command if the MAC needs to connect finally ??
Thank You Jitendra
ā03-16-2022 03:39 AM
below is the command for remove.
no mac-address-table static mac_address vlan vlan-id
Thanks.
Jitendra
ā03-16-2022 04:20 AM
how about MACL ACL ?
ā03-16-2022 05:06 AM
follow
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide