Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-18 
Turning a faulty Ethernet switch to inactive can prevent its information from being 
displayed, making the output information more clear. 
Normally, only faulty Ethernet switches can be turned to inactive. 
Related command: display lanswitch. 
Example 
# Turn the Ethernet switch connected to the 0/1/6 port to active. 
[Quidway-hgmp] set lanswitch 0/1/6-/ active  
1.1.16  set lswconfig 
Syntax 
set lswconfig lanswitch-loc asdefault 
View 
HGMP view 
Parameter 
lanswitch-loc: Ethernet switch position parameter. 
Description 
Use the set lswconfig command to specify the configuration settings of an Ethernet 
switch to be the default settings of the Ethernet switches that are of the same model. 
You can use the auto config command to configure other Ethernet switches that are of 
the same model using the default settings. 
Related command: auto config. 
Example 
# Specify the configuration settings of the Ethernet switch connected to 0/1/6-/ port as 
the default configuration settings of the Ethernet switches that are of the same model. 
[Quidway-lanswitch0/1/6-/] set lswconfig 0/1/6-/ asdefault 
1.1.17  set lswname  
Syntax 
set lswname lanswitch-loclist name-list 
undo set lswname lanswitch-loclist 
View 
HGMP view