Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-4 
# Save the configuration information retrieved by the save lswconfig command to the 
flash memory. 
[Quidway-hgmp] backup lswconfig 
Write lanswitch configuration to flash...... 
1.1.3  close port 
Syntax 
close port port-list 
undo close port port-list 
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. 
Description 
Use the close port command to close the specified ports of the Ethernet switch. 
Use the undo close port command to enable the specified ports of the Ethernet 
switch. 
You can use the query port command to verify these two commands. 
The close port command may cause the communication between Ethernet switches 
and the management device being terminated. To avoid this, the upstream ports are not 
allowed to be closed. By default, upstream ports are enabled. 
Related command: query port. 
Example 
# Close port 1 and port 2 of the Ethernet switch. 
[Quidway-lanswitch3/1/6-/] close port 1,2 
Waiting..... 
Operating LANSWITCH[3/1/6-/]'s ports successfully! 
1.1.4  display hgmpserver 
Syntax