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-122

 

change, and delete VLANs

 

 

 

 

 

 

vlan

Configures a VLAN, including VID,

VC

3-123

 

name and state

 

 

 

 

 

 

Configure VLAN Interfaces

 

 

 

 

 

 

interface vlan

Enters interface configuration mode for

IC

3-124

 

a specified VLAN

 

 

 

 

 

 

switchport mode

Configures VLAN membership mode for

IC

3-125

 

an interface

 

 

 

 

 

 

switchport

Configures frame types to be accepted

IC

3-126

acceptable-frame-

by an interface

 

 

types

 

 

 

 

 

 

 

switchport

Enables ingress filtering on an interface

IC

3-127

ingress-filtering

 

 

 

 

 

 

 

switchport native

Configures the PVID (native VLAN) of

IC

3-128

vlan

an interface

 

 

 

 

 

 

switchport

Configures the VLANs associated with

IC

3-129

allowed vlan

an interface

 

 

 

 

 

 

switchport gvrp

Enables GVRP for an interface

IC

3-140

 

 

 

 

switchport

Configures forbidden VLANs for an

IC

3-130

forbidden vlan

interface

 

 

 

 

 

 

3-121

Page 263
Image 263
SMC Networks 10/100 manual Vlan Commands, 121