C
ONFIGURING
VLAN I
NTERFACES
30-9
Related Commands
show vlan (30-16)
Configuring VLAN Interfaces
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-4093, no leading
zeroes)
Table 30-4 Commands for Configuring VLAN Interfaces
Command Function Mode Page
interface vlan Enters interface configuration mode for
a specified VLAN
IC 30-9
switchport mode Configures VLAN membership mode
for an interface
IC 30-10
switchport
acceptable-frame-types
Configures frame types to be accepted
by an interface
IC 30-11
switchport
ingress-filtering
Enables ingress filtering on an interface IC 30-12
switchport native vlan Configures the PVID (native VLAN) of
an interface
IC 30-13
switchport allowed vlan Configures the VLANs associated with
an interface
IC 30-14
switchport gvrp Enables GVRP for an interface IC 30-4
switchport forbidden
vlan
Configures forbidden VLANs for an
interface
IC 30-15
switchport priority
default
Sets a port priority for incoming
untagged frames
IC 31-4