UMN:CLI
User Manual
V8102
310
To specify a VLAN description, use the following command.
Command
Mode
Description
vlan description
VLANS DESC
VLAN
Database
Specifies a VLAN description.
VLANS: VLAN ID (1-4094)
DESC: description
no vlan description
VLANS
Deletes a specified description.
The variable
VLANS
is a particular set of interfaces. Frames are bridged only among in-
terfaces in the same VLAN.
9.1.1.2
Adding a Member Port to VLAN Group
All planning ports are in access mode, and belong to the default VLAN (whose VID=1). If
the port is added to a VLAN without specifying tagged or untagged, the default setting is
untagged (switchport mode access).
To add the member port to a new VLAN ID, use the following command.
Command
Mode
Description
switchport mode access
Interface
[XE/GE/
/GPON/CG]
Configures the VLAN membership access mode of a
port.
access: indicates an untagged L2 VLAN port (default)
switchport access vlan
VLANS
Changes the default VLAN for the interface and config-
ures the VLAN ID to the untagged interface. This
command is available when the interface is in access
mode.
VLANS: VLAN ID for the interface (2-4094)
no switchport access vlan
Removes the associated interface from the specified
VLAN ID and returns to the default VLAN ID 1.
When you assign several interfaces to VLAN, you have to enter each port separated by a
comma without space or
use dash mark “-” to arrange port range.
When you add a port in another VLAN, this port in default VLAN is automatically deleted.
To add the member port to a VLAN ID and specify a VLAN ID to the tagged L2 VLAN in-
terface, use the following command.
Command
Mode
Description
switchport mode trunk
Interface
[XE/GE/GPON/CG]
Configures the VLAN membership trunk mode
of a port.
trunk: indicates a tagged L2 VLAN port
switchport trunk
allowed
Sets allowed all VLANs for the trunk interface.
i
i
i