VLAN COMMANDS

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,

GC

3-94

 

change, and delete VLANs

 

 

 

 

 

 

vlan

Configures a VLAN, including VID,

VC

3-95

 

name and state

 

 

 

 

 

 

Configure VLAN Interfaces

 

 

 

 

 

 

 

interface vlan

Enters interface configuration mode for

IC

3-96

 

specified VLAN

 

 

 

 

 

 

switchport mode

Configures VLAN membership mode

IC

3-97

 

for an interface

 

 

 

 

 

 

switchport

Configures frame types to be accepted by

IC

3-98

acceptable-frame-types

an interface

 

 

 

 

 

 

swicthport

Enables ingress filtering on an interface

IC

3-99

ingress-filtering

 

 

 

 

 

 

 

switchport native vlan

Configures the PVID (native VLAN) of

IC

3-100

 

an interface

 

 

 

 

 

 

switchport allowed vlan

Configures the VLANs associated with

IC

3-101

 

an interface

 

 

 

 

 

 

switchport gvrp

Enables GVRP for an interface

IC

3-104

 

 

 

 

switchport forbidden

Configures forbidden VLANs for an

IC

3-102

vlan

interface

 

 

 

 

 

 

3-93

Page 205
Image 205
SMC Networks SMC6750L2 manual Vlan Commands