590 Configuring VLANsConfiguring a Port in General ModeBeginning in Privileged EXEC mode, use the following commands toconfigure an interface with full 802.1q support and configure the VLANmembership information for the interface.Command Purposeconfigure Enter global configuration mode.interfaceinterface Enter interface configuration mode for the specifiedinterface. Theinterface variable includes the interface typeand number, for example tengigabitethernet 1/0/3.You can also specify a range of interfaces with the interfacerange command, for example, interface rangetengigabitethernet 1/0/8-12 configures interfaces 8, 9, 10,11, and 12.switchport mode general Configure the interface as an untagged layer 2 VLANinterface.switchport generalallowed vlan[add|remove]vlan-list{tagged|untagged}Configure the VLAN membership for the port. You canalso use this command to change the egress tagging forpackets without changing the VLAN assignment.• addvlan-list — List of VLAN IDs to add. Separatenonconsecutive VLAN IDs with a comma and no spaces.Use a hyphen to designate a range of IDs. (Range:1–4093)• removevlan-list — List of VLAN IDs to remove. Separatenonconsecutive VLAN IDs with a comma and no spaces.Use a hyphen to designate a range of IDs.• tagged — Sets the port to transmit tagged packets for theVLANs. If the port is added to a VLAN without specifyingtagged or untagged, the default is untagged.• untagged — Sets the port to transmit untagged packetsfor the VLANs.switchport general pvidvlan-id(Optional) Set the port VLAN ID. Untagged traffic thatenters the switch through this port is tagged with thePVID.vlan-id — PVID. The VLAN ID may mot belong to aVLAN that does not exist on the switch. (Range: 1–4093)