Hi, my name is Chuck, and I'm from the Dell networking team.
Today I'm going to go over how to set up trunk mode ports on OS10-based switches from the CLI. To access the CLI, please see the installation guide for the switch you are configuring.
Note, this information is specific to code version 10.5.3 and later. Trunk mode interfaces allow multiple tagged VLANs and one untagged VLAN. By default, VLAN1 is untagged on trunk mode interfaces.
VLANs need to be created before being added to a trunk link, and links in trunk mode observe 802.1q tagging. For today's example, we'll use Port 14 from access mode to trunk mode with VLAN 10 and 11 tagged on the link.
First, open a command line to the switch, and from the privileged exec, run "show interface as status" to see the current port mode and VLAN.
As we can see, Port 14 is in access mode VLAN 1 currently. To make changes, run the "configure" command from the privilege execution prompt to enter the global configuration mode.
Next, run "interface ethernet" and a port number, or you can also do a range of ports with the "interface range" command to select a group of ports.
Once in the interface configuration mode, run "switchport mode trunk" to change the interface to trunk mode. Once this is done, use the "switchport trunk allowed vlan x" command to add tag VLANs to the interface where "x" is the list of the VLAN numbers.
Note, you can add more than one VLAN using a dash then the number for a range, or a comma to separate additional VLANs.
If you would like to change the default untagged VLAN, you can use the "switchport access vlan x" command where "x" is the new, untagged VLAN number.
Once you're done with the configuration, type "end". Finally, you can do "show interface status" to see the current mode and VLAN. As we can see, the interface is now in "T" for trunk mode, and it has VLAN 10 and 11 tagged on the interface.
Don't forget to save your work by issuing the "write memory" command after you have verified the changes. For any questions or issues, please contact the Dell technical support team.
Thank you for watching.