Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-52 
View 
lanswitch view 
Parameter 
port-list: List of ports to be aggregated. 
sa: Specifies to enable port aggregating only for source addresses. 
dasa: Specifies to enable port aggregating for both source and destination addresses. 
groupid: Link-aggregation number. This argument can only be 1 at present. 
Description 
Use the set link-aggregation command to aggregate multiple ports of an Ethernet 
switch to an aggregation port, through which a larger capacity can be obtained. 
Use the undo set link-aggregation command to remove the configuration. 
An S2008B series switch does not support port aggregation; an S2016B series switch 
can only has its Ethernet0/15 and Ethernet0/16 port aggregated in the dasa mode; an 
S2026B series switch can only has its Ethernet0/23 and Ethernet0/24 port aggregated 
in the dasa mode. You can use the query link-aggregation command to verify the set 
link-aggregation command. 
Related command: query link-aggregation. 
Example 
# Set the ports 15 and 16 of the Ethernet switch with a position parameter of 3/1/3-/ as 
an aggregation port. 
[Quidway-lanswitch3/1/3-/] set link-aggregation 15-16 sa 1 
1.3.30  set loop-test 
Syntax 
set loop-test { internal | external } port-list 
View 
lanswitch view 
Parameter 
internal | external: Specifies the way to perform loopback test. The internal and 
external keywords stand for internal loopback test and external loopback test 
respectively. 
port-list: List of ports the specified loopback test method applies to.