2 editing vlan groups, Vlan database, Vlan – PLANET SGSD-1022 User Manual

Page 572

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

5.21.2 Editing VLAN Groups

Command

Function

Mode

vlan database

Enters VLAN database mode to add, change, and delete

VLANs

GC

vlan

Configures a VLAN, including VID, name and state

VC

Table 5-68 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.

Example

Console(config)#vlan database

Console(config-vlan)#

Related Commands

show vlan

vlan

This command configures a VLAN. Use the no form to restore the

Default Setting

s or delete a VLAN.

Syntax

vlan vlan-id [name vlan-name] media ethernet [state {active | suspend}]

no vlan vlan-id [name | state]

vlan-id -ID of configured VLAN. (Range: 1-4094, no leading zeroes)

572

Advertising
This manual is related to the following products: