cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2167
Views
5
Helpful
6
Replies

DHCP how to block a MAC Address

avives
Level 1
Level 1

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 

6 Replies 6

marce1000
Hall of Fame
Hall of Fame

 

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



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Jitendra Kumar
Spotlight
Spotlight

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

 

 

 

Thanks,
Jitendra

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

below is the command for remove.

 

no mac-address-table static mac_address vlan vlan-id

 

 

Thanks.

Jitendra

Thanks,
Jitendra

follow