CLI Guide

Table Of Contents
Layer 2 Switching Commands 887
Default Configuration
Untagged.
Command Mode
Interface Configuration (Ethernet and port channel) mode
User Guidelines
Use this command to change the egress rule (for example, from tagged to
untagged) without first removing the VLAN from the list.
It is possible to configure the general mode VLAN membership of a port
while the port is in access or trunk mode. Doing so does not change the
VLAN membership of the port until it is configured to be in general mode.
Example
The following example shows how to add VLANs 1, 2, 5, and 8 to the allowed
list.
console(config)#interface gigabitethernet 1/0/8
console(config-if-Gi1/0/8)#switchport general allowed vlan add 1,2,5,8
tagged
switchport general ingress-filtering disable
Use the switchport general ingress-filtering disable command in Interface
Configuration mode to disable port ingress filtering. To enable ingress
filtering on a port, use the no form of this command.
Syntax
switchport general ingress-filtering disable
no switchport general ingress-filtering disable
Default Configuration
Ingress filtering is enabled.
Command Mode
Interface Configuration Ethernet and port-channel mode