
XS26GS Managed Optical Ethernet Switch User Manual
100
description
Syntax
description
name
View
Port-based VLAN view.
Parameters
name
: VLAN name, a description of 1 to 255 characters. It can contain special
characters, but cannot be spaces.
Description
Use
description
command to assign a name to the VLAN.
By default, the name of a VLAN is its VLAN ID,
VLAN0001
for example.
Examples
XS(port-based-vlan-3)#
description
vlan*8*3
XS(port-based-vlan-3)#
interface ethernet
Syntax
interface ethernet
interface
[ to ethernet
interface
]
no
interface ethernet
interface
[ to ethernet
interface
]
View
Port-based VLAN view.
Parameters
interface
: port number, Ethernet port to be added to or removed from the VLAN.
to
: in conjunction with the other parameter to define a range of ports to add to or
remove from the VLAN.
Description
Use
interface
command to assign one or multiple ports to the VLAN.
Use
no interface
command to remove the specified port(s) from the VLAN.
Examples
XS(port-based-vlan-4)#
interface ethernet
0/2
to ethernet
0/24
Ethernet0/2 belongs to a trunk. The other member in the same trunk will be added
to this vlan!
Add the port successfully.
XS(port-based-vlan-4)# no interface ethernet 0/2 to ethernet 0/24
Ethernet0/2 belongs to a trunk. The other member in the same trunk will be
removed from this vlan!
Delete the port successfully.