Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-31 
port-list: Port list. 
both: Specifies to perform flow control. 
none: Specifies not to perform flow control. 
Description 
Use the flow port command to specify whether or not an Ethernet switch performs flow 
control when the Ethernet switch sends or receives data through specified ports. 
To avoid congestion and packets being dropped, flow control is necessary if the flow 
that passes a port is relatively large. 
Example 
# Specify to perform flow control on port 3 of the Ethernet switch with a position 
parameter of 3/1/3-/.  
[Quidway-lanswitch3/1/3-/] flow port 3 both 
Waiting..... 
  operating LANSWITCH[3/1/3-/]'s ports successfully! 
1.3.6  Lock port 
Syntax 
lock port port-list  
View 
Lanswitch view 
Parameter 
port-list: The port list that requires configuring. 
Description 
Use the lock port command to disable address learning on the port of the switch.  
Example 
# Disable address learning on port 1 of the Ethernet switch with the position parameter 
of “8/1/1-/” 
[Quidway-lanswitch8/1/1-/] lock port 1 
 Waiting..... 
==================Result of Lock port============= 
   No.      Result        Port         LockState 
    1           0           1             Lock 
============================Notes=============================== 
Result Val:0-operation success,1-not insert port module,2-port is out of range