Command Manual – Integrated Management
Quidway S8500 Series Routing Switches
Chapter 1 HGMP V1 Configuration Commands
Huawei Technologies Proprietary
1-26
Related command:
query vlan
.
Example
# Configure VLANs for the Ethernet switch with a position parameter of 3/1/6-/ as
follows: Map VLAN Index 1 to VLAN3. The VLAN 3 contains port 1, 3 and 4.
[Quidway-lanswitch3/1/6-/] set vlan vlanid 3 1,3,4
Waiting.....
Modifying LANSWITCH[3/1/6-/]'s VlanIndex successfully!
1.2.7 set workmode
Syntax
set workmode
port-list
{
auto
|
10m-full
|
10m-half
|
100m-full
|
100m-half
}
View
lanswitch view
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.
10m-full
: Specifies to operate at a speed of 10 Mbps and in full duplex mode.
10m-half
: Specifies to operate at a speed of 10 Mbps and in half duplex mode.
100m-full
: Specifies to operate at a speed of 100 Mbps and in full duplex mode.
100m-half
: Specifies to operate at a speed of 100 Mbps and in half duplex mode.
Description
Use the
set workmode
command to set work mode for specified ports of an Ethernet
switch. Following modes are available: automatic adaptation, 10M full duplex, 10M half
duplex, 100M full duplex, and 100M half duplex.
To avoid communication between a management device and the connected Ethernet
switches being unexpectedly terminated, the work mode of an upstream port defaults to
auto
and cannot be changed.
Check the actual rate on the physical port during modification. If the Ethernet switch
does not support the modified port rate, the configuration fails.
Related command:
query port
.