S Layer 2 Managed Switch User Manual
陈泽科技有限公司
www.stephen-tele.com
84
Set VLAN mode
mode <VLAN mode>
Example
:
Switch(vlan)# mode pvlan
Note
:
S support three
VLAN mode, ”pvlan”
,
”qvlan” and ” protected”
,
”pvlan” indicate port VLAN
,
”qvlan” indicate
802.1q vlan
,
”protected” indicate protected VLAN.
Add or revise 802.1q VLAN group
add qvlan <VLAN ID> untagged <untagged member ports list> tagged <taggeduntagged member ports list>
Example
:
Switch(vlan)# add qvlan 2 untagged 1 3 tagged 4-5
Note
:
VLAN ID should be with 1 ~4094
,
If the VLAN group is already exist, then the new setting member ports list will
replace the existing ports list
,
if the VLAN group is not exist, then set up a new 802.1Q VLAN group.
Delete 802.1q VLAN group
delete qvlan <VLAN ID>
Example
:
Switch(vlan)# delete qvlan 2
VLAN 2 deleted.
Note
:
When deleting a 802.1q VLAN group
,
the VLAN group should be exist in the switch.
Add or revise PORT VLAN group
add pvlan <port vlan group number> <vlan group member ports>
Example
:
Switch(vlan)# add pvlan 2 1-2
Note
:
This command can add a new VLAN group or revise an existing VLAN group under port vlan mode
,
Port vlan group
number should be within 1—26
,
If the VLAN group is already exist, then the new setting member ports list will replace the
existing ports list
,
if the VLAN group is not exist, then set up a new VLAN group.
Delete PORT VLAN group
delete pvlan <VLAN group number>
Example
:
Switch(vlan)# delete pvlan 2
Note
:
When deleting a port VLAN group
,
the port VLAN group should be exist in the switch.
UPLINK port setting under Protected VLAN
uplink port <port number>
Example
:
Switch(vlan)# uplink port 2