06-17-2020 01:57 AM
how to block dynamic mac address in cisco 9300 switchport tw1/0/2 ? do we have any command for this.
my scenario is to assign static mac address of 2 laptops which should use the internet but only those 2 laptops shoud work in those interfaces. for that, I have created a static mac address to those interfaces.
but if I connect my laptop dynamic mac address is learning and it can connect to the internet. how to block dynamic mac address in a cisco switch port.
06-17-2020 02:31 AM
- Have a look at the port security configuration examples from this document, it may help you :
M.
06-17-2020 03:00 AM - edited 06-17-2020 03:14 AM
Hello
@agilent runprojects wrote:
how to block dynamic mac address in cisco 9300 switchport tw1/0/2 ? do we have any command for this.
my scenario is to assign static mac address of 2 laptops which should use the internet but only those 2 laptops shoud work in those interfaces. for that, I have created a static mac address to those interfaces.
but if I connect my laptop dynamic mac address is learning and it can connect to the internet. how to block dynamic mac address in a cisco switch port.
A basic mac acl-
mac access-list extened static_hosts
permit host 0111.1111.1111 any vlan x
permit host 0111.1111.2.2.2.2 any vlan x
deny any any
int x/x
mac access-group static_hosts IN
06-17-2020 02:07 PM
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