Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-59 
Description 
Use the set vlanid command to set the VLAN attribute for the Ethernet switch and add 
the specified ports to a specified VLAN. 
Use the undo set vlanid command to remove VLAN configuration.   
Example 
# Add to the VLAN 2 the port 1 through 4 of the Ethernet switch 3/1/3-/. 
[Quidway-lanswitch3/1/3-/] set vlanid 2 1-4 
Waiting..... 
 Modifying LANSWITCH[3/1/3-/]'s VlanID successfully! 
1.3.40  speed port 
Syntax 
speed port port-list { auto | 10m | 100m| 1000m} 
View 
lanswitch view 
Parameter 
port-list: List of ports. 
auto: Specifies to operate in automatic negotiation mode. 
10m: Specifies to operate at a speed of 10 Mbps. 
100m: Specifies to operate at a speed of 100 Mbps. 
1000m: Specifies to operate at a speed of 1000 Mbps. 
Description 
Use the speed port command to set a port rate for specified ports of an Ethernet 
switch. 
Ethernet ports that are of 10/100Base-T can operate at a speed of 10 Mbps or 100 
Mbps. Whereas Ethernet optical ports that are of 100M can operate at a speed of 100 
Mbps and 1000 Mbps.. 
Example 
# Set the port rate to 10Mbit/s for the port 1 through 4 of the Ethernet switch with a 
position parameter of 3/1/3-/. 
[Quidway-lanswitch3/1/3-/] speed port 1-4 10m 
Waiting..... 
  operating LANSWITCH[3/1/3-/]'s ports successfully