ā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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: