cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
286
Views
0
Helpful
2
Replies

student

hi am a new student in networking, i have a problem in understanding native vlan main purpose and can i configure vlans without configuration of native vlan 

regards

 

2 Replies 2

shaps
Level 3
Level 3

native vlans are used to support switches that do not support vlans,    the default native vlan for cisco is 1,  it basically means that anything leaving the switch on vlan 1 goes out untagged and anything that enters switch untagged will be placed into vlan 1.

you can choose which vlan you would like to be native vlan

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

A Cisco trunk port can send and receive frames both with and without a VLAN tag.  The native VLAN correlates what VLAN the untagged frames belong to.

There's no one main purpose for this feature, but it's useful in some special cases where, for some reason, you have both tagged and untagged frames.

No, you don't have to configure it.  When you don't, the Cisco default is VLAN 1.

When you have a VoIP phone and PC on the same data jack, it's pretty common that frames to/from the PC are untagged, but frames to the VoIP phone are tagged.  This so we can have both a data VLAN and a VoIP VLAN.

On a modern Cisco switch, such a VoIP/data jack might be configured like:

interface x
 switchport
 switchport mode access
 switchport access vlan 10
 switchport voice vlan 100

But if had a old Cisco switch, that didn't "understand" voice VLANs, you might accomplish the same by:

interface x
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 10,100
 switchport trunk native vlan 10

NB: an old Cisco switch that didn't support voice VLANs probably wouldn't support .Q either.