ā02-03-2021 02:14 AM
Hello,
i want to secure my switche from foreign access. I want to make sure, that only computers with the correct VLAN setting (tagged vlan) on his network card is able to get access to this switch. I do not want this this switch to send out untagged packets through ports.
Is there a way for this?
Solved! Go to Solution.
ā02-03-2021 02:23 AM
Hi there,
You will need to configure the switchport as mode trunk, and change the default native VLAN to one in a suspended state:
! vlan 100 name user_vlan ! vlan 999 name UNUSED state suspend ! int gi1/0/'1 switchport mode trunk switchport trunk allowed vlan add 100 switchport trunk native vlan 999 no shut !
cheers,
Seb.
ā02-03-2021 02:23 AM
Hi there,
You will need to configure the switchport as mode trunk, and change the default native VLAN to one in a suspended state:
! vlan 100 name user_vlan ! vlan 999 name UNUSED state suspend ! int gi1/0/'1 switchport mode trunk switchport trunk allowed vlan add 100 switchport trunk native vlan 999 no shut !
cheers,
Seb.
ā02-03-2021 02:58 AM
Oh wow. Great and short. I will try it. Didn't know that you can suspend vlans.
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