06-13-2018 08:15 AM - edited 03-05-2019 10:35 AM
Hi Team,
Currently I have cisco 2960 switches which is running I need to restrict the untagged vlans in the switch which may send from the other switch.
If it's not possible to restrict the untagged vlans is there anyway to strict the static Mac address in case any one connect the switch other than this Mac it should automatically shutdown.
Need your inputs on this
06-13-2018 11:12 AM
Hello,
You can define the tagged vlans you want to have between trunks ports and also you can define a Native vlan and permit it in the trunk avoiding the rest of the vlans (this way you avoid traffic from vlan 1), the question is Why do you want to avoid untagged traffic? there are control traffic that is not tagged and is important to be in your network. Other hand you can define the MAC address you want to access to a port, with the next commands (in access ports):
switchport port-security
switchport port-security mac-address type-mac-here
switchport port-security maximum 1
switchport port-security violation shutdown
This way the interface goes down when any other mac that try to connect to this port.
Please do not forget to rate useful post.
Best Regards,
06-13-2018 02:43 PM
Hello
Tag your native vlan -
vlan dot1q tag native
res
Paul
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