Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Native Vlans, Tagged & untagged annnd Trunks

Posted on 2016-11-23
6
Medium Priority
?
81 Views
Last Modified: 2016-11-23
Hey Guys,

I have two switches & a server

Switch A (Native VLAN 1)
Switch B (VLAN 30)
Server 1 (VLAN 30)

I want to create a trunk port on Gi0/3 on Switch A to a Trunk port  on Gi1/0/17

Without having to change the native VLAN on Switch A, how can i make the native VLAN traffic get tagged on arrival at Switch B and arrive at server 1 as vlan 30 tagged traffic?

Keeping in mind, on return of the traffic it requires to resume back to the regular native vlan on switch A...

I have attempted to change the ports to trunk native 30 however that didn't do it.
It's no doubt a simple resolution, but i can't seem to figure it out today.
Points to the first person to provide me a nicely detailed (correct) answer!
0
Comment
Question by:Rob Leaver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 31

Expert Comment

by:Predrag
ID: 41899396
Without having to change the native VLAN on Switch A
Native VLAN configuration on trunk on Cisco devices is typically per port, not per switch. By default, native is vlan 1.
So just configure proper native vlan on port(s) according to your needs.

interface Gi1/0/17
 switchport mode trunk
 switchport trunk native vlan X
0
 
LVL 14

Expert Comment

by:SIM50
ID: 41899397
If you want your native vlan to get tagged as well, you need to enter the following commands on both switches:
vlan dot1q tag native
0
 
LVL 31

Expert Comment

by:Predrag
ID: 41899408
Have in mind also that mixing two different VLANs (two different native VLANs on the same link) is:
 - security risk
 - potentially can cause loop
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 6

Author Comment

by:Rob Leaver
ID: 41899409
If you want your native vlan to get tagged as well, you need to enter the following commands on both switches:
vlan dot1q tag native

So if i have Switch A on native Vlan 1
And switch B on vlan 30

if i do vlan dot1q tag native it will tag vlan 1 traffic as 30 ?
0
 
LVL 31

Expert Comment

by:Predrag
ID: 41899414
Than you will not have native vlan on link. All VLANs will be tagged.
0
 
LVL 14

Accepted Solution

by:
SIM50 earned 2000 total points
ID: 41899436
if i do vlan dot1q tag native it will tag vlan 1 traffic as 30 ?

No, you can't tag one vlan with the other vlan tag.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question