Administrator Guide

Layer 2 Switching Commands 832
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 1/0/8.
console(config)#interface gigabitethernet 1/0/8
console(config-if-1/0/8)#switchport general ingress-filtering disable
switchport general pvid
Use the switchport general pvid command in Interface Configuration mode
to configure the Port VLAN ID (PVID) when the interface is in general mode.
Use the switchport mode general command to set the VLAN membership
mode of a port to "general." To configure the default value, use the no form of
this command.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
vlan-id
— PVID. The VLAN ID may belong to a non-existent VLAN.
Default Configuration
The default value for the
vlan-id
parameter is 1 when the VLAN is enabled.
Otherwise, the value is 4093.
2CSNXXX_SWUM204.book Page 832 Monday, January 25, 2016 1:25 PM