Symptoms
This article explains how to configure Native VLAN (untagged or access VLAN) on a Trunk port in OS10 Switches.Trunk ports can receive both tagged and untagged packets. In OS10 switches, there can be multiple Tagged VLANs and one Untagged VLAN. The Native VLAN (untagged) is configured as access VLAN.
Command Syntax
Switch CommandDescription
OS10# configure terminal
Enter into switch configuration mode
OS10(config)# interface ethernet node/slot/port[:subport]
Configure a port in interface mode
OS10(conf-if-ethX/X/X)# switchport mode trunk
Change the switchport mode to trunk mode in interface mode. This command is not needed if the port is already in trunk mode.
OS10(conf-if-ethX/X/X)# switchport access vlan
Configure the desired untagged VLAN as an access VLAN.
Note: The default VLAN is by default the untagged VLAN on a trunk port. When this is changed, the port is not part of the default VLAN anymore.
Note: An interface cannot be an access and trunk member of the same VLAN. The vlan must first be removed from the trunk and added back as access.
Sample configuration
As an example we are configuring VLAN 20 as native/access/untagged VLAN in interface ethernet1/1/1 and VLAN 10 is the tagged VLAN.
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# switchport mode trunk
OS10(conf-if-eth1/1/1)# switchport access vlan 20
OS10(conf-if-eth1/1/1)# switchport trunk allowed vlan 10
Sample output
OS10# show running-configuration interface ethernet 1/1/1
!
interface ethernet1/1/1
no shutdown
switchport mode trunk
switchport access vlan 20
switchport trunk allowed vlan 10
OS10# show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
1 Active A Eth1/1/2-1/1/32
10 Active T Eth1/1/1
20 Active A Eth1/1/1
For further information regarding how to configure Dell Networking OS10, see the User Guide relevant to your version on the SmartFabric OS10 Software Documentation page.
Cause
Trunk ports can receive both tagged and untagged packets. In OS10 switches there can be multiple Tagged VLANs and one Untagged VLAN.
Resolution
An interface cannot be an access and trunk member of the same VLAN. The VLAN must first be removed from the trunk and added back as access.