[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Cisco Switch Only allowing One trunk native vlan

Posted on 2014-08-04
Medium Priority
Last Modified: 2014-08-06
As per guidance from Network admin at head office ,
At my site office on a Cisco Switch ( which is connected to head office Core switch ),
i configured a  port to be Native vlan trunk port, to connect and use a "Cisco Access Point"  on that port.

Everything was fine,  until i configured another port on same switch,  to be " Native vlan trunk port " to use another access point.

Well, when i done the same , old port came in to default vlan (vlan1)...!!

and the port on which i did the configuration , came in to native vlan, and now Access point is not working in old port but is working in the last port i have configured

Dear all IT Geek....What does that mean...?
Does it mean that in Switch only one" native vlan trunk port" will be allowed....?
or if no....is there any mistake i have done...? like below is the steps i followed

Cisco SW(config)#default interface f0/22
Interface FastEthernet0/22 set to default configuration
Cisco SW(config-if)# switchport mode trunk
Cisco SW(config-if)# switchport  trunk native vlan 505
Cisco SW(config-if)# shutdown
Cisco SW(config-if)# no shut down

also please indicate,  if i have to ask or inform Network admin at head office  to do something from their end,  to make work my switches with multiple ports in "  native vlan trunk port "  mode ,  so that i can use  multiple access point on same switch.
Question by:FiruIT
  • 2
  • 2
  • 2
LVL 28

Expert Comment

ID: 40239579
Please post the output of "show version" and also the current running configuration of both ports- "show runn interface f0/22" and "show runn interface f0/[the other port]"
LVL 17

Expert Comment

ID: 40240712
Hi Firuit,
you need to get the difference between native vlan and default vlan, as they are different concepts.
you may want to read the following:

basically, the native vlan will go untagged on trunk, which is what you need for the access point to work.

hope this helps

Author Comment

ID: 40240814
thanks Max that was good guidance ,
Dear all,
Please testify if my below conclusion is correct or wrong ,
 (if its wrong please provide me hint , i will google and will find where i  went wrong)

" IF we configured "native vlan trunk mode"  on a Cisco Switch Port for a Wireless AP to function and latter if we disconnect AP from that Port  ....  , then that port will start appearing under  Vlan 1   when we run
 "Show Vlan Br"    and so will not appear in Native vlan , that we see when we run     "show int trunk"
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

LVL 17

Assisted Solution

max_the_king earned 705 total points
ID: 40240831
Native VLAN ID numbers must match on both ends of the trunk.
A trunk port can carry untagged packets simultaneously with the 802.1Q tagged packets. When you assign a default port VLAN ID to the trunk port, all untagged traffic travels on the default port VLAN ID for the trunk port, and all untagged traffic is assumed to belong to this VLAN. This VLAN is referred to as the native VLAN ID for a trunk port. The native VLAN ID is the VLAN that carries untagged traffic on trunk ports.
The trunk port sends an egressing packet with a VLAN that is equal to the default port VLAN ID as untagged; all the other egressing packets are tagged by the trunk port. If you do not configure a native VLAN ID, the trunk port uses the default VLAN.
In your specific case, you seem to want to configure a native VLAN ID different from default (the one used by access point) and that will not mess with default VLAN. However you must match the native vLAN id you chose on the other side of the trunk as well.

Further recommended reading is the following:

LVL 28

Accepted Solution

mikebernhardt earned 705 total points
ID: 40241800
In answer to your question, you are correct: If you disconnect the AP from the trunk port, the port will look exactly as you described. An unconnected trunk port shows vlan 1 (which is, as Max said, the default access vlan, not the native vlan) and it will not show up in "show int trunk"

So if that was your original basis for thinking something was wrong, don't worry about it. It's working as it should. If the AP was working and suddenly stopped when you configured a 2nd trunk port, that's a different story.

Author Closing Comment

ID: 40243076
Dear max_the_king

your guidance was very nice  and helpful , thanks a lot.

Dear mikebernhardt ,

thanks very much for answering specifically to my doubt it helped me a alot.

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

SSL is a very common protocol used these days when browsing the web.  The purpose is to provide security to communication, but how does it do it?  There are several pieces at work that have to be setup before SSL will even work and it requires both …
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…

873 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