Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Changing native vlan on access port

Reply
Thread Tools

Changing native vlan on access port

 
 
Dedan
Guest
Posts: n/a
 
      08-12-2009
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
 
Reply With Quote
 
 
 
 
Blaz Zupan
Guest
Posts: n/a
 
      08-12-2009
On 2009-08-12, Dedan <> wrote:
> 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
 
Reply With Quote
 
 
 
 
Dedan
Guest
Posts: n/a
 
      08-17-2009
Thanks. I'd figured that was the case but was having trouble
convincing myself.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLAN Project and Native VLAN mlp128@sfx.liverpool.sch.uk Cisco 4 08-16-2007 09:23 AM
VLAN port with internet access can access only one vlan? gooderthanyou@gmail.com Cisco 2 04-23-2006 12:23 AM
Native, and management vlan "Vlan 1" Andy Cisco 1 09-21-2005 07:21 PM
native vlan mismatch on 2 2924 switches w/ only 1 vlan defined (same on both switches) avraham shir-el Cisco 4 07-20-2004 08:08 AM
HI, I have some question about native vlan and default vlan. PS2 gamer Cisco 1 05-28-2004 11:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57