Check OK!

NEW: 2 4

Update finished!!

VLAN Commands Set

Commands

Command Level

 

Description

Defaults

Example

 

 

 

 

 

 

Vlan datatbase

Privileged EXEC

 

To enter the VLAN

 

Switch# vlan database

mode

 

configuration interface

 

Switch(vlan)#

 

 

 

 

 

 

 

 

 

 

 

 

To set switch VLAN

 

 

vlanmode [disable

VLAN database

 

mode .Use the no form of this

Disable

Switch (vlan)# vlanmode

portbase 802.1q gvrp]

mode

 

command to restore to

802.1q

 

 

 

 

 

default.

 

 

 

 

 

 

 

 

 

 

 

Port Base VLAN

 

 

 

 

 

 

 

 

vlan [Group Name]

VLAN database

 

 

 

Switch (vlan)# vlan v2 grpid 2

grpid [Group ID] port

 

Add new Port Base VLAN

 

mode

 

 

port 1-4

[Port Number]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

no vlan Group Name]

VLAN database

 

Delete port base VLAN

 

Switch (vlan)# no vlan v2 2

[Group ID]

mode

 

group

 

 

 

 

 

 

 

 

 

 

show vlan [GroupName]

VLAN database

 

Show VLAN of Group Name

 

Switch (vlan)# Show vlan v2 2

[GroupID] or show vlan

mode

 

or Group ID information

 

 

 

 

 

 

 

 

 

 

vlan [Group name] add

VLAN database

 

Set the port of some port

 

Switch (vlan)# vlan v2 add 5

[port Number] [tagged

 

 

mode

 

group tagged or untagged

 

tagged

untagged]

 

 

 

 

 

 

 

 

 

 

 

 

 

vlan [Group name]

VLAN database

 

Remove the port from it’s

 

Switch (vlan)# vlan v2 delete

delete [port Number]

mode

 

port group.

 

5

 

 

 

 

 

 

 

 

802.1Q 802.1Q with GVRP VLAN mode

 

 

 

 

 

 

 

 

 

 

Add new 802.1Q VLAN

 

 

vlan [Group name]

 

 

[VLAN name]:

 

Switch(vlan)# vlan v2 vlanid 2

vlanid [Vlan ID] port

VLAN database

 

VLAN name

 

 

 

port 1-4

[port Number] tag

mode

 

[VLAN ID]: 1 ~ 4094

 

 

 

tag 2-4

[port Number]

 

 

[port ID]:

 

 

 

 

 

 

 

 

port members 1~9

 

 

 

 

 

 

 

 

no vlan

VLAN database

 

Delete 802.1Q VLAN group

 

Switch (vlan)# no vlan v2

 

 

 

 

 

 

 

 

21

 

 

Page 29
Image 29
Milan Technology MIL-SM8002TG manual Vlan Commands Set