12-16-2023 01:16 AM
Hello, I want to configure a gigabitEthernet port in a 9200L in this way:
This is my running-config for this port:
switchport access vlan 7
switchport trunk native vlan 7
switchport trunk allowed vlan 42
But it is not working. Could anyone show me the right way? Thanks in advance.
Solved! Go to Solution.
12-16-2023 01:49 AM
Try
switchport mode trunk
switchport trunk native vlan 7 (tags untagged traffic to be tagged as vlan 7)
switchport trunk allowed vlan 42 (allows taged traffic vlan vlan 42 on trunk)
switchport trunk allowed vlan 7 (allows taged traffic vlan vlan 7 on trunk)
12-16-2023 01:20 AM - edited 12-18-2023 07:02 AM
MHM
12-16-2023 01:22 AM
@Sergio Teijido hi, normally we cannot configure access and trunk modes same time in same port. it need to be either one mode. you can try using voice VLAN to tweak this.
12-16-2023 01:49 AM
Try
switchport mode trunk
switchport trunk native vlan 7 (tags untagged traffic to be tagged as vlan 7)
switchport trunk allowed vlan 42 (allows taged traffic vlan vlan 42 on trunk)
switchport trunk allowed vlan 7 (allows taged traffic vlan vlan 7 on trunk)
12-18-2023 06:56 AM
This worked, thank you.
12-18-2023 07:03 AM
So traffic one time tag and other time untag!!!!!!
I never see this config before.
Vlan in trunk can tag or untag but both!
Sorry can you elaborate how it work
MHM
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