cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2362
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

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



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

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