Specifications

Waters Network Systems GSM2109/GSM1009-SFP User’s Manual Page 27
The following table lists the VLAN Commands.
Command Level Description Example
vlan database P Enter VLAN configure mode switch#vlan database
vlanmode
[portbase|
802.1q |
gvrp]
V Used to set VLAN mode. switch(vlan)# vlanmode
portbase
or
switch(vlan)# vlanmode
802.1q
or
switch(vlan)# vlanmode
gvrp
no vlan V Used to disable VLAN
Port based VLAN configuration
vlan
port-based
grpname
[Group Name]
grpid
[GroupID]
port
[PortNumbers]
V Add new port to port-based
VLAN
switch(vlan)# vlan
port-based grpname test
grpid 2 port 2-4
show vlan
[GroupID]
or
show vlan
V Displays VLAN information switch(vlan)#show vlan 23
no vlan group
[GroupID]
V Delete port-based group ID switch(vlan)#no vlan group
2
IEEE 802.1Q VLAN
vlan 8021q
name
[GroupName]
vid
[VID]
V Modify the name of VLAN
group. If there is no group,
this command can’t be
applied.
switch(vlan)#vlan 8021q test
vid 22
vlan 8021q
port
[PortNumber]
access-link
untag
[UntaggedVID]
V Assign an access link for
VLAN by port. If the port
belongs to a trunk group, this
command can’t be applied.
switch(vlan)#vlan 8021q
port 3 access-link untag 33
vlan 8021q
port
[PortNumber]
V Assign a trunk link for a VLAN
by port. If the port belongs to
a trunk group, this command
switch(vlan)#vlan 8021q
port 3 trunk-link tag 2,3,6,99
or