Layer 2 Switching Commands 814• add vlan-list — List of VLAN IDs to add. Separate nonconsecutive VLANIDs with a comma and no spaces. Use a hyphen to designate a range ofIDs.• remove vlan-list — List of VLAN IDs to remove. Separate nonconsecutiveVLAN IDs with a comma and no spaces. Use a hyphen to designate a rangeof IDs.• tagged — Sets the port to transmit tagged packets for the VLANs. If theport is added to a VLAN without specifying tagged or untagged, thedefault is untagged.• untagged — Sets the port to transmit untagged packets for the VLANs.Default ConfigurationUntagged.Command ModeInterface Configuration (Ethernet and port channel) modeUser GuidelinesUse this command to change the egress rule (for example, from tagged tountagged) without first removing the VLAN from the list.It is possible to configure the general mode VLAN membership of a portwhile the port is in access or trunk mode. Doing so does not change theVLAN membership of the port until it is configured to be in general mode.ExampleThe following example shows how to add VLANs 1, 2, 5, and 8 to the allowedlist.console(config)#interface gigabitethernet 1/0/8console(config-if-Gi1/0/8)#switchport general allowed vlan add 1,2,5,8taggedswitchport general ingress-filtering disableUse the switchport general ingress-filtering disable command in InterfaceConfiguration mode to disable port ingress filtering. To enable ingressfiltering on a port, use the no form of this command.