Creating Vlans In Batches; Configuring A Port-Based Vlan; Displaying A Vlan - Huawei Quidway S3100 Series Operation Manual

Table of Contents

Advertisement

Operation Manual – VLAN
Quidway S3100 Series Ethernet Switches

1.2.2 Creating VLANs in Batches

Table 1-2 Create VLANs in batches
Operation
Enter system view
Create
specified VLANs

1.2.3 Configuring a Port-Based VLAN

I. Configuration prerequisites
Before configuring a port-based VLAN, you need to create it first.
II. Configuration procedure
Table 1-3 Configure a port-based VLAN
Operation
Enter system view
Create
and enter VLAN
view
Add
Ethernet ports to
the VLAN
Caution:
The configuration listed in Table 1-3 is only applicable to access ports. To add trunk
ports and hybrid ports to a VLAN, you can use the port trunk permit vlan and port
hybrid vlan commands in Ethernet port view. Refer to the Port Operation section in
Quidway S3100 Series Ethernet Switch Operation Manual for more.

1.3 Displaying a VLAN

After the above configuration, you can execute the display command in any view to
view the running of the VLAN configuration, and to verify the effect of the configuration.
Command
system-view
multiple
vlan { vlan-id1 to vlan-id2 |
all }
Command
system-view
a
VLAN
vlan vlan-id
specified
port interface-list
Huawei Technologies Proprietary
Optional
Required
The vlan-id argument ranges
from 1 to 4,094.
Required
By default, all the ports belong
to the default VLAN.
1-3
Chapter 1 VLAN Configuration
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents