XS26GS Managed Optical Ethernet Switch User Manual
99
Ethernet0/12 Ethernet0/13 Ethernet0/14
port-based-vlan
Syntax
port-based-vlan
vlan-id
no
port-based-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 the
range of 1 to 255.
vlan-id1
: specifies the ID of a VLAN the information of which is to be deleted, in the
range of 1 to 255.
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 255, and must not be less than that of
vlan-id1
.
all
: deletes all port based VLANs.
Description
Use
port-based-vlan
command to enter into the port-based vlan configuration
environment.
Use
no port-based-vlan
command to delete all port-based VLANs or specified
VLAN(s).
Examples
XS#
port-based-vlan
3
XS(port-based-vlan-3)#
end
Syntax
end
View
Port-based VLAN view.
Parameters
None.
Description
Use
end
command to exit from the port-based vlan configuration environment.
Examples
XS(port-based-vlan-3)#
end
XS#