beautypg.com

Vlan commands, Editing vlan groups, Vlan database – Accton Technology VS4512DC User Manual

Page 283

background image

VLAN Commands

4-137

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.

Editing VLAN Groups

vlan database

This command enters VLAN database mode. All commands in this mode will take
effect immediately.

Default Setting

None

Command Mode

Global Configuration

Command Usage

• Use the VLAN database command mode to add, change, and delete VLANs.

After finishing configuration changes, you can display the VLAN settings by
entering the show vlan command.

• Use the interface vlan command mode to define the port membership mode

and add or remove ports from a VLAN. The results of these commands are
written to the running-configuration file, and you can display this file by entering
the show running-config command.

Command Groups

Function

Page

Editing VLAN Groups

Sets up VLAN groups, including name, VID and state

4-137

Configuring VLAN

Interfaces

Configures VLAN interface parameters, including ingress and egress

tagging mode, ingress filtering, and PVID

4-139

Displaying VLAN

Information

Displays VLAN groups, status, port members, and MAC addresses

4-143

Configuring Private VLANs

Configures private VLANs, including uplink and downlink ports

4-144

Command

Function

Mode Page

vlan database

Enters VLAN database mode to add, change, and delete

VLANs

GC

4-137

vlan

Configures a VLAN, including VID, name and state

VC

4-138

This manual is related to the following products: