Administrator Guide

Table Of Contents
Layer 2 Switching Commands 828
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 (gigabitethernet, port-channel, tengigabitethernet,
fortygigabitethernet) mode
User Guidelines
Ingress filtering, when enabled, discards received frames that are not tagged
with a VLAN for which the port is a member. If ingress filtering is disabled,
tagged frames from all VLANs are processed by the switch.
Example
The following example shows how to enables port ingress filtering on Gigabit
Ethernet interface 1/0/8.