Command Manual – Integrated Management
Quidway S8500 Series Routing Switches
Chapter 1 HGMP V1 Configuration Commands
Huawei Technologies Proprietary
1-55
Parameter
port-list
: List of ports to be set. Be sure to provide a valid port number if you want to
specify a single port. You can input a single number for the argument, which identifies
one object. You can input a character string in such format as 3-7, which identifies
objects 3 through 7. You can also use commas to connect single numbers and
character strings.
vlanid
vlan-id-list
[
tagged | untagged
]: Specifies a list of VLAN IDs to be assigned to
ports specified by the
port-list
argument and whether or not these ports are tagged. The
VLAN ID values range from 0 to 4,095, of which value of 0 means no VLAN ID is set for
the corresponding port. As the VLAN IDs specified by the
vlan-id-list
argument are
one-to-one mapped to the port numbers specified by the
port-list
argument,, the
number of the ports specified by the
port-list
argument must be the same as that of the
VLAN IDs specified by the
vlan-id-list
argument.
Description
Use the
set port
command to assign VLAN IDs to ports of an Ethernet switch and
specify whether or not these ports are tagged.
To avoid communication between a management device and the Ethernet switches
connected to it being unexpectedly terminated, the VLAN ID of an upstream port
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.3.34 set priority
Syntax
set priority
{
high
|
low
}
port-list
View
lanswitch view
Parameter
high
|
low
: Sets the priorities of ports to be high or low.
port-list
: List of ports to be set.