Set Vlan - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – Integrated Management
Quidway S8500 Series Routing Switches
cannot be set to 2047, which is reserved by the system, and an upstream port cannot
be set to be an untagged port.
Related command: query port.
Example
# Configure the port 3 of the Ethernet switch with a position parameter of 3/1/6-/.
[Quidway-lanswitch3/1/6-/] set port 3 vlanid 4 untagged
Waiting....
Operating LANSWITCH[3/1/6-/]'s ports successfully!

1.2.6 set vlan

Syntax
set vlan vlan-index-list { vlanid vlan-id-list [ port-list ] | broadcast port-list
[ vlan-id-list ] }
View
lanswitch view
Parameter
vlan-index-list: List of VLAN indexes. The value of a VLAN Index ranges from 0 to 31.
vlanid vlan-id-list [ port-list ]: Specifies a list of VLAN IDs. The port-list argument is
optional. The value of a VALN ID ranges from 0 to 4,095. Value of 0 indicates no VLAN
ID is configured for the corresponding VLAN Index.
port-list: Broadcast domain of the specified VLAN. The legal value for individual port
ranges from 1 to 27. Value of 0 specifies the corresponding VLAN has no broadcast
domain.
broadcast port-list [ vlan-id-list ]: Sets the specified VLAN. The vlan-id-list argument is
optional. The port-list argument specifies the ports which the corresponding VLAN
contains. The legal value for individual port ranges from 1 to 27. The value of 0
specifies the corresponding VLAN has no broadcast domain. The value of a VLAN ID
ranges from 1 to 4,095. Value of 0 indicates a port is not configured with a VLAN ID.
Description
Use the set vlan command to configure VLANs of an Ethernet switch.
To avoid communication between a management device and the Ethernet switches
connected to it being unexpectedly terminated, the VLAN ID to which a VLAN index
corresponds cannot be set 2047, which is reserved by the system.
As VLAN indexes specified by the vlan-index-list argument are one-to-one mapped to
VLAN IDs specified by the vlan-id-list argument, the number of the specified ports must
be the same as that of the specified VLAN IDs.
Chapter 1 HGMP V1 Configuration Commands
Huawei Technologies Proprietary
1-25

Advertisement

Table of Contents
loading

Table of Contents