AT-IFS802SP-80 User Manual

81

VLAN Commands Set

 

 

 

 

 

 

 

Netstar Commands

Level

Description

Example

 

 

vlan database

P

Enter VLAN configure mode

switch#vlan database

 

 

 

 

 

 

 

 

 

 

 

switch(vlan)#vlanmode portbase

 

 

Vlanmode

 

 

or

 

 

[portbase 802.1q

V

To set switch VLAN mode.

switch(vlan)#vlanmode 802.1q

 

 

gvrp]

 

 

or

 

 

 

 

 

switch(vlan)#vlanmode gvrp

 

 

 

 

 

 

 

 

no vlan

V

No VLAN

Switch(vlan)#no vlan

 

 

Ported based VLAN configuration

 

 

 

 

 

 

 

 

 

vlan port-based

 

 

 

 

 

grpname

 

 

switch(vlan)#vlan port-based grpname test

 

 

[Group Name]

 

 

grpid 2 port 2-4

 

 

grpid

V

Add new port based VALN

or

 

 

[GroupID]

 

 

switch(vlan)#vlan port-based grpname test

 

 

port

 

 

grpid 2 port 2,3,4

 

 

[PortNumbers]

 

 

 

 

 

show vlan [GroupID]

 

 

 

 

 

or

V

Show VLAN information

switch(vlan)#show vlan 23

 

 

show vlan

 

 

 

 

 

 

 

 

 

 

 

no vlan group

V

Delete port base group ID

switch(vlan)#no vlan group 2

 

 

[GroupID]

 

 

 

 

 

 

 

 

 

 

 

 

 

IEEE 802.1Q VLAN

 

 

 

 

 

 

 

 

 

 

 

vlan 8021q name

 

Change the name of VLAN

 

 

 

[GroupName]

V

group, if the group didn’t

switch(vlan)#vlan 8021q name test vid 22

 

 

vid

exist, this command can’t be

 

 

[VID]

 

applied.

 

 

 

 

 

 

 

 

 

vlan 8021q port

 

Assign a access link for

 

 

 

[PortNumber]

V

VLAN by port, if the port

switch(vlan)#vlan 8021q port 3 access-link

 

 

access-link untag

belong to a trunk group, this

untag 33

 

 

 

 

 

[UntaggedVID]

 

command can’t be applied.

 

 

 

 

 

 

 

 

 

vlan 8021q port

 

Assign a trunk link for

switch(vlan)#vlan 8021q port 3 trunk-link

 

 

 

tag 2,3,6,99

 

 

[PortNumber]

 

VLAN by port, if the port

 

 

V

or

 

 

trunk-link tag

belong to a trunk group, this

 

 

 

switch(vlan)#vlan 8021q port 3 trunk-link

 

 

[TaggedVID List]

 

command can’t be applied.

tag 3-20

 

 

 

 

 

 

 

vlan 8021q port

 

 

witch(vlan)#vlan 8021q port 3 hybrid-link

 

 

[PortNumber]

 

Assign a hybrid link for

 

 

 

untag 4 tag 3,6,8

 

 

hybrid-link untag

 

VLAN by port, if the port

 

 

V

or

 

 

[UntaggedVID]

belong to a trunk group, this

 

 

tag

 

command can’t be applied.

switch(vlan)#vlan 8021q port 3 hybrid-link

 

 

 

untag 5 tag 6-8

 

 

[TaggedVID List]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 85
Image 85
Allied Telesis AT-IFS802SP manual Vlan Commands Set