- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2012 06:54 AM - edited 03-07-2019 08:04 AM
I hear that all ports have a default vlan, usually 1. what happens when we set a port to access port 10? Does it still have a default vlan or just vlan 10?
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 12:50 AM
Atle,
The default VLAN is simply stating what VLAN all the ports will belong to in the switches default configuration. This is always VLAN for Cisco devices. In fact you cannot modify or delete VLAN 1. Changing the switchport access vlan x under the interface takes the access port out of the default VLAN and puts it into the defined VLAN.
The Native VLAN has to do with trunking (switchport trunk native vlan x), not with access ports. The Native VLAN is defined on a trunk and is used with protocols like Dot1q to define which VLAN will be untagged. Without this command, the default native VLAN is 1, which is also the default VLAN of the switch.
HTH
Anthony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2012 07:16 AM
That port would no longer be in vlan1 but vlan10. sh vlan. Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2012 06:32 PM
Atle Dale wrote:
I hear that all ports have a default vlan, usually 1. what happens when we set a port to access port 10? Does it still have a default vlan or just vlan 10?
In default configuration, all ports on a Cisco switch are in VLAN 1, which is the default "native" (untagged) VLAN.
If you enter the command
switchport access vlan 10
into a given ports configuration, then that port is no longer a member of the native VLAN, but rather a member of VLAN 10, and no traffic not intended for VLAN 10 will transit that port.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 12:03 AM
ok, I think what really confuses me here, is that the default vlan is also native. So, first it is native vlan 1 and then it is a normal access port vlan. To make it native, I will have to make the port a trunk port and add a native vlan to that, correct? I cannot make the access port native ever again, it only appliers to the default vlan 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 12:50 AM
Atle,
The default VLAN is simply stating what VLAN all the ports will belong to in the switches default configuration. This is always VLAN for Cisco devices. In fact you cannot modify or delete VLAN 1. Changing the switchport access vlan x under the interface takes the access port out of the default VLAN and puts it into the defined VLAN.
The Native VLAN has to do with trunking (switchport trunk native vlan x), not with access ports. The Native VLAN is defined on a trunk and is used with protocols like Dot1q to define which VLAN will be untagged. Without this command, the default native VLAN is 1, which is also the default VLAN of the switch.
HTH
Anthony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 12:53 AM
HI Alte,
ok, I think what really confuses me here, is that the default vlan is also native.
Yes the default vlan is 1 and it is also called as a native vlan.
So, first it is native vlan 1 and then it is a normal access port vlan.
Yes its a normal access ports, when it is vlan 1.
To make it native, I will have to make the port a trunk port and add a native vlan to that, correct?
only vlan 1 is called native vlan, other vlan are not native. (You can only use native word with vlan 1).
if you add two vlan to a port then its not called a native port ...it just a trunk port.
I cannot make the access port native ever again, it only appliers to the default vlan 1?
if you will use only one blan(Vlan1) on a port then its automatically a native vlan ports.
Regards
Please rate if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 12:58 AM
"To make it native, I will have to make the port a trunk port and add a native vlan to that, correct?
only vlan 1 is called native vlan, other vlan are not native. (You can only use native word with vlan 1).
if you add two vlan to a port then its not called a native port ...it just a trunk port."
-I think you might be wrong here. I am pretty sur eyou can set a native vlan on a trunk port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 01:02 AM
HI Atle,
Dont het me wrong.
My meaning is that ....yes you can use vlan 1 on a trunk port but you can not say that it is native trunk port....it is called normal trunk port.
TRunk port can be used with any vlans.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 01:10 AM
yes, I thought so. Trunk ports can be used with any vlans, and a trunk port can also have a native vlan or it can not have a native vlan. Correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 01:25 AM
yes of course ...it can have vlan 1(Native vlan).
Regards
Please rate if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 01:33 AM
and any other native vlan, not only vlan 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 01:36 AM
Trunk means ...any vlan.......either native or ...others.
Regards
Please rate if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2012 02:23 AM
I still think we do not understand each other..
You said:
"
To make it native, I will have to make the port a trunk port and add a native vlan to that, correct?
only vlan 1 is called native vlan, other vlan are not native. (You can only use native word with vlan 1).
if you add two vlan to a port then its not called a native port ...it just a trunk port.
"
I think this is wrong, if it is not I am sorry:
We agree that a trunk port can have a native vlan. But on the trunk we can make whatever vlan we want native. How can you say we can only use the word native with vlan 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2012 02:42 AM
The statement is incorrect, you can modify the native VLAN with command I mentioned above.
Thanks
Anthony
