Skip to content

Add/Remove a VLAN from a Trunk port on a Dell OS10 Switch

Tags:

Warning : The syntax may be looking dangerous when coming from a Cisco Environment. But this is how it works.

In order to add a VLAN to a trunk you just need this command.
switchport trunk allowed vlan <vlan-id>
–> This will add the VLAN-ID to the existing set of vlan’s already on the TRUNK.
Remark : When adding a VLAN-ID to a trunk, IT MUST EXIST. Adding a range with non-existing vlan-id’s in it will give an error

In order to remove it you need a simple command.
no switchport trunk allowed vlan <vlan-id>
–> This will remove the VLAN-ID from the existing set of vlan’s already on the TRUNK.

That’s all.