2-3
z The operation of enabling/disabling a VLAN’s VLAN interface does not influence the physical
status of the Ethernet ports belonging to this VLAN.
z An Switch S4210 can be configured with a single VLAN interface only, and the VLAN must be the
management VLAN. For details about the management VLAN, refer to the “Management VLAN
Configuration” part of this manual.
Displaying VLAN Configuration
To do... Use the command... Remarks
Display the VLAN interface
information
display interface Vlan-interface
[ vlan-id ]
Display the VLAN information
display vlan [ vlan-id [ to vlan-id ] | all |
dynamic | static ]
Available in any
view.
Configuring a Port-Based VLAN
Configuring an Access-Port-Based VLAN
There are two ways to configure Access-port-based VLAN: one way is to configure in VLAN view, the
other way is to configure in Ethernet port view.
Follow these steps to configure the Access-port-based VLAN in VLAN view:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
Required
If the specified VLAN does not exist, this
command be created first creates the
VLAN before entering its view.
Add an Access port to
the current VLAN
port interface-list
Required
By default, system will add all ports to
VLAN 1.
Follow these steps to configure the Access-port-based VLAN in Ethernet port view:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the port link type as
Access
port link-type access
Optional
The link type of a port is Access
by default.