Native Vlans Help

in CCNA & CCENT
can anyone really help me out with a good explanation of cisco native vlans. I know its for untagged frames but how does a native vlan function on a router's subinterface when you put
encapsulation dot1q 99
and
encapsulation dot1q 99 native.
Whats the different ?
encapsulation dot1q 99
and
encapsulation dot1q 99 native.
Whats the different ?
Comments
-
wastedtime Member Posts: 586 ■■■■□□□□□□
The difference is "encapsulation dot1q 99" will add the 802.1q vlan tag on a trunk for vlan 99. When you add the word "native" onto it, it will keep that vlan untagged over a trunk. Native just means that it won't tag the vlan. By default the native vlan is 1. -
Darian929 Member Posts: 197
My real question is as I was talking to one of my co-workers also, for the CCNA they teach you native vlan's but its truly not used for the labs or anything in the sens that the frames are always tagged and we don't to like voip setups, where native vlans are truly needed. So that's why I guess I dont get the whole point of native vlans on trunk links. -
tha_dub Member Posts: 262
Trunk links pass native vlan frames the same as non native. The only difference is that the native vlan frames are not tagged. In essence the lack of a tag is the tag or vlan identifier to the switches.
Where you have to be careful is if you program the native vlan to anything other than 1 which is the default. If you do this you must program it the same on all other switches in the LAN and the ROAS. If you don't the VLAN's will bleed across each other which could really mess with your network. -
thenjduke Member Posts: 894 ■■■■□□□□□□
Pretty much what everyone else has said. You would usually use native vlans for voip setup these days but the days when hubs were around and you had a bunch of people plugges into a hub and the hub into the switch you would usually do native vlan like that.CCNA, MCP, MCSA, MCSE, MCDST, MCITP Enterprise Administrator, Working towards Networking BS. CCNP is Next. -
Darian929 Member Posts: 197
hey guys thanks, so basically dont mess with native vlan's on trunk links and just leave it to its default of vlan 1, and If i do change it make sure to change it onto all of the switches and routers sub interface to the same native vlan. got that, I just didn't want to bog myself down to much on that when that is not really used to much for now atleast on CCNA even though I do understand the concept a bit. -
Netwurk Member Posts: 1,155 ■■■■■□□□□□
Hi Darian929
The commands you referenced in your first post are router commands. To understand dot1q and native VLANs (and also tagging), it would be better to look at it from a switching perspective. For a switch, the commands involved are:
switchport trunk encapsulation dot1q
switchport trunk native vlan #
Just wanted to point that out, the other posts cover the basics -
krisfday Registered Users Posts: 1 ■□□□□□□□□□
I have one question about tagging. At what step, or by which device is the "tagging" being done? -
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□
I have one question about tagging. At what step, or by which device is the "tagging" being done?Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
networker050184 Mod Posts: 11,962 Mod
I have one question about tagging. At what step, or by which device is the "tagging" being done?
Depends on the setup. 802.1q tags are only present on 802.1q trunk links so which ever device is sending the frame over a trunk needs to tag it.An expert is a man who has made all the mistakes which can be made.