Configuring VLAN Interfaces
Command
interface vlan
switchport mode
switchport
acceptable-frame-types
switchport
ingress-filtering
switchport native vlan
switchport allowed vlan Configures the VLANs associated with an
switchport gvrp
switchport forbidden
vlan
interface vlan
This command enters interface configuration mode for VLANs, which is
used to configure VLAN parameters for a physical interface.
Syntax
interface vlan vlan-id
vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading
zeroes)
Default Setting
None
Command Mode
Global Configuration
Function
Enters interface configuration mode for a
specified VLAN
Configures VLAN membership mode for an
interface
Configures frame types to be accepted by an
interface
Enables ingress filtering on an interface
Configures the PVID (native VLAN) of an
interface
interface
Enables GVRP for an interface
Configures forbidden VLANs for an interface
VLAN C
OMMANDS
Mode Page
IC
IC
IC
IC
IC
IC
IC
IC
3-57
3-58
3-59
3-60
3-61
3-62
3-73
3-63
-57