C
ONFIGURING
VLAN I
NTERFACES
32-9

Related Commands

show vlan (32-16)

Configuring VLAN Interfacesinterface 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 32-4 Commands for Configuring VLAN Interfaces

Command Function Mode Page
interface vlan Enters interface configuration mode for
a specified VLAN
IC 32-9
switchport mode Configures VLAN membership mode
for an interface
IC 32-10
switchport
acceptable-frame-types
Configures frame types to be accepted
by an interface
IC 32-11
switchport
ingress-filtering
Enables ingress filtering on an interface IC 32-12
switchport native vlan Configures the PVID (native VLAN) of
an interface
IC 32-13
switchport allowed vlan C onfigures the VLANs associated with
an interface
IC 32-14
switchport gvrp Enables GVRP for an interface IC 32-4
switchport forbidden
vlan
Configures forbidden VLANs for an
interface
IC 32-15
switchport priority
default
Sets a port priority for incoming
untagged frames
IC 33-17