C
OMMAND

L

INE

I

NTERFACE

3-130

VLAN Commands

A VLAN is a group of ports that can be located anywhere in the

network, but communicate as though they belong to the same

physical segment. This section describes commands used to create

VLAN groups, add port members, specify how VLAN tagging is

used, and enable automatic VLAN registration for the selected

interface.

Command Function Mode Page
Edit VLAN Groups
vlan database Enters VLAN database mode to add,
change, and delete VLANs
GC 3-131
vlan Configures a VLAN, including VID,
name and state
VC 3-132
Configure VLAN Interfaces
interface vlan Enters interface configuration mode
for specified VLAN
IC 3-133
switchport mode Configures VLAN membership
mode for an interface
IC 3-134
switchport
acceptable-frame-
types
Configures frame types to be
accepted by an interface
IC 3-135
switchport
ingress-filtering
Enables ingress filtering on an
interface
IC 3-136
switchport native
vlan
Configures the PVID (native VLAN)
of an interface
IC 3-137
switchport allowed
vlan
Configures the VLANs associated
with an interface
IC 3-138
switchport gvrp Enables GVRP for an interface IC 3-142
switchport forbidden
vlan
Configures forbidden VLANs for an
interface
IC 3-139
b_mgmt.book Page 130 Tuesday, July 8, 2003 5:24 PM