10-29-2007 10:44 AM - edited 03-05-2019 07:20 PM
What am I missing in regards to the following two lines assigned to a sw interface:
switchport trunk native vlan 80
switchport mode trunk
Why assign a VLAN to the port when your trunking it (meaning you allowing all VLANs to pass)?
Thank you.
Solved! Go to Solution.
10-29-2007 10:32 PM
You'll get all your answers related to native Vlan from the link below:
http://www.cisco.com/en/US/products/hw/switches/ps708/products_white_paper09186a008013159f.shtml
10-29-2007 10:58 AM
The native vlan is the vlan that accepts untagged packets as well. These are packets that lack the 802.1p/Q header that contains the vlan ID.
With the above command you are setting vlan80 as the native (=untagged) vlan.
regards,
Leo
10-29-2007 11:19 AM
By default native VLAN is VLAN 1, but can be changed to any No. on the trunk port by command "switchport trunk native vlan #". This will make a new vlan# as native & allow all pkts from this vlan to pass thru trunk untagged.
Native VLANs are used to carry CDP, PAgP & VTP messages. Thus the Frames on native VLAN are untagged. For these messages to propagate between devices, native VLANS must match on both sides of the trunk. In case of native VLAN mismatch on bothsides of the trunk, STP will put the trunk port in err-disabled state.
10-29-2007 03:53 PM
If an native vlan is not allowed on a trunk will then untagged frames pass thru?
"Switchport trunk native vlan 80"
"Switchport trunk allowed vlan 15"
10-29-2007 10:32 PM
You'll get all your answers related to native Vlan from the link below:
http://www.cisco.com/en/US/products/hw/switches/ps708/products_white_paper09186a008013159f.shtml
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide