cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
569
Views
0
Helpful
5
Replies

Cisco 9200L - Dual configuration tag/untag in a port

Sergio Teijido
Level 1
Level 1

Hello, I want to configure a gigabitEthernet port in a 9200L in this way:

  • Accept untagged traffic and set tag to VLAN 7
  • Accept tagged traffic from both VLAN 42 and VLAN 7

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.

1 Accepted Solution

Accepted Solutions

ammahend
VIP
VIP

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)
-hope this helps-

View solution in original post

5 Replies 5

MHM

@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.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

ammahend
VIP
VIP

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)
-hope this helps-

This worked, thank you.

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

 

Review Cisco Networking for a $25 gift card