VLAN Commands 411D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 9 / 1 3 / 0 6 – F O R P R O O F O N LYCommand ModeInterface Configuration (Ethernet, port-channel) modeUser Guidelines• The command adds the port as a member in the VLAN. If the port is already a member in theVLAN (not as a native), it should be first removed from the VLAN.ExampleThe following example configures VLAN number 123 as the native VLAN when Ethernet port1/e16 is in trunk mode.switchport general allowed vlanThe switchport general allowed vlan Interface Configuration mode command adds or removesVLANs from a general port.Syntaxswitchport general allowed vlan add vlan-list [tagged | untagged]switchport general allowed vlan remove vlan-list• add vlan-list — Specifies the list of VLAN IDs to be added. Separate non-consecutiveVLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.• remove vlan-list — Specifies the list of VLAN IDs to be removed. Separate non-consecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.• tagged — Indicates that the port transmits tagged packets for the VLANs.• untagged — Indicates that the port transmits untagged packets for the VLANs.Default ConfigurationIf the port is added to a VLAN without specifying tagged or untagged, the default settingis tagged.Command ModeInterface Configuration (Ethernet, port-channel) modeConsole(config)# interface ethernet 1/e16Console(config-if)# switchport trunk native vlan 123