SMC Networks 10/100 Manuel D’Utilisation
VLAN C
OMMANDS
3-121
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.
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
change, and delete VLANs
GC
vlan
Configures a VLAN, including VID,
name and state
name and state
VC
Configure VLAN Interfaces
interface vlan
Enters interface configuration mode for
a specified VLAN
a specified VLAN
IC
switchport mode Configures VLAN membership mode for
an interface
IC
switchport
acceptable-frame-
types
acceptable-frame-
types
Configures frame types to be accepted
by an interface
by an interface
IC
switchport
ingress-filtering
ingress-filtering
Enables ingress filtering on an interface IC
switchport native
vlan
vlan
Configures the PVID (native VLAN) of
an interface
an interface
IC
switchport
allowed vlan
allowed vlan
Configures the VLANs associated with
an interface
an interface
IC
switchport gvrp
Enables GVRP for an interface
IC
switchport
forbidden vlan
forbidden vlan
Configures forbidden VLANs for an
interface
interface
IC