SMC Networks SMC7724M/VSW manual Vlan Commands

Models: SMC7724M/VSW

1 316
Download 316 pages 43.27 Kb
Page 231
Image 231

VLAN COMMANDS

VLAN Commands

A VLAN is a group of ports that may 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-95

 

change, and delete VLANs

 

 

 

 

 

 

vlan

Configures a VLAN, including VID, name

VC

3-97

 

and state

 

 

 

 

 

 

Configure VLAN Interfaces

 

 

 

 

 

 

interface vlan

Enters interface configuration mode for

IC

3-98

 

specified VLAN

 

 

 

 

 

 

switchport mode

Configures VLAN membership mode for

IC

3-99

 

an interface

 

 

 

 

 

 

switchport

Configures frame types to be accepted by

IC

3-100

acceptable-frame-

an interface

 

 

types

 

 

 

 

 

 

 

swicthport

Enables ingress filtering on an interface

IC

3-100

ingress-filtering

 

 

 

 

 

 

 

switchport native

Configures the PVID (native VLAN) of an

IC

3-101

vlan

interface

 

 

 

 

 

 

switchport allowed

Configures the VLANs associated with an

IC

3-102

vlan

interface

 

 

 

 

 

 

switchport gvrp

Enables GVRP for an interface

IC

3-108

 

 

 

 

switchport

Configures forbidden VLANs for an

IC

3-103

forbidden vlan

interface

 

 

3-95

Page 231
Image 231
SMC Networks SMC7724M/VSW manual Vlan Commands