XS26GS Managed Optical Ethernet Switch User Manual
90
VLAN ID: 3
VLAN Type: static
Description: test3
Tag Ports:
unTag Ports:
Forbidden Ports:
Protocol vlan information:
vlan-mode
Syntax
vlan-mode { none | port-based | 8021Q }
View
System view.
Parameters
none
: disabled VLAN function.
port-based
: allows port based VLAN.
8021Q
: allows 802.1q VLAN.
Description
Use
vlan-mode
to set a vlan mode.
By default, vlan mode is No VLAN.
Examples
XS#
vlan-mode port-based
Config port based vlan successfully!
vlan
Syntax
vlan
vlan-id
no
vlan { all |
vlan-id1
[ to
vlan-id2
] }
View
System view.
Parameters
vlan-id
: specifies the ID of a VLAN the information of which is to be created, in a
range from 1 to 4094.
vlan-id1
: specifies the ID of a VLAN the information of which is to be deleted, in the
range of 1 to 4094.
to
vlan-id2
: in conjunction with
vlan-id1
, defines a VLAN range to delete
information of all existing VLANs in the range. The
vlan-id2
argument takes a value
in the range of 1 to 4094, and must not be less than that of
vlan-id1
.