Cisco Systems Changing native vlan on access port

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Changing native vlan on access port Dedan 08-12-09
Posted by Dedan on August 12, 2009, 6:53 pm
Please log in for more thread options


I've have a scenario where a cisco switch is being connected to a
switch that doesn't support Vlans. That 2nd switch is sending frames
without vlan tags and I want them to be placed into vlan 801. My
thoughts are that the config to do this would simply be

switchport access vlan 801
switchport mode access

but I've seen a coworker use the config below

switchport access vlan 801
switchport trunk native vlan 801
switchport mode access

I know that the middle line changes the native vlan on a trunk port to
801, but why would you do this on an access port? It was my
understanding that on an acess port the switch wiill insert a Vlan 801
tag into any frames it recieves on that port. I guess my question is
what affect does chaning the native vlan on an access port have? Does
it place any untagged frames into vlan 801? If that's the case why
doesn't just making it an access port work. No joy on checking
command references only for switchport trun native vlan

Posted by Blaz Zupan on August 12, 2009, 7:48 pm
Please log in for more thread options


> I've have a scenario where a cisco switch is being connected to a
> switch that doesn't support Vlans. That 2nd switch is sending frames
> without vlan tags and I want them to be placed into vlan 801. My
> thoughts are that the config to do this would simply be
>
> switchport access vlan 801
> switchport mode access
>
> but I've seen a coworker use the config below
>
> switchport access vlan 801
> switchport trunk native vlan 801
> switchport mode access
>
> I know that the middle line changes the native vlan on a trunk port to
> 801, but why would you do this on an access port? It was my
> understanding that on an acess port the switch wiill insert a Vlan 801
> tag into any frames it recieves on that port. I guess my question is
> what affect does chaning the native vlan on an access port have? Does
> it place any untagged frames into vlan 801? If that's the case why
> doesn't just making it an access port work. No joy on checking
> command references only for switchport trun native vlan

In the above configuration the "switchport trunk native" command is
ignored. It will only be used if you switch over to "switchport mode
trunk".

Ignoring VTP and CDP, the following two configurations would have the
same effect:

switchport mode access
switchport access vlan 801

is similar to

switchport mode trunk
switchport trunk native vlan 801
switchport trunk allow vlan 801

Hope this clears it up and doesn't confuse you even more ;)

Posted by Dedan on August 17, 2009, 9:49 am
Please log in for more thread options


Thanks. I'd figured that was the case but was having trouble
convincing myself.

Similar ThreadsPosted
Changing native vlan on access port August 12, 2009, 6:53 pm
Native Vlan Cisco 1200 Access Point March 11, 2006, 7:50 pm
VLAN port with internet access can access only one vlan? April 21, 2006, 3:38 pm
Native, and management vlan "Vlan 1" September 21, 2005, 2:50 pm
VLAN Project and Native VLAN July 13, 2007, 5:06 am
Native VLAN February 8, 2007, 9:40 pm
native vlan December 18, 2008, 6:45 am
port forward / port changing July 17, 2005, 10:47 pm
Native VLAN Warning August 23, 2005, 8:24 am
understanding native VLAN September 23, 2005, 10:10 pm
Native VLAN question November 22, 2005, 5:58 am
native vlan question April 15, 2008, 3:51 am
native vlan for mgmt July 18, 2009, 9:20 pm
Change native VLAN on ASA 5520 July 5, 2007, 6:17 am
Native Vlan Mismatch error January 20, 2008, 2:09 am
Residential Cabling Guide

Home Cabling Guide

Finally, an instantly downloadable book that saves you thousands in home improvement dollars! Enjoy living in 21st century technology-advanced home while increasing its selling value and competitive advantage on the real estate market. Whether your cabling is for home office or high-tech leisure, you can wire your home yourself or learn "wirish" to speak with your cabling contractors in their language!

Learn More