No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Advanced O&M Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change loopback test

change loopback test


The change loopback test command is used to perform a loopback diagnosis test.


change loopback test mode=? type=? [ port_type=? ] id=? controller_id=? time=?






Port test mode.

The value can be "inner", "outer" or "stop", where:

  • "inner": internal loop.
  • "outer": external loop.
  • "stop": stop loopback.



The value can be "port" or "disk", where:

  • "port": external port of an interface module.
  • "disk": disk port.


Port type.

The value can be "ETH", "FC", "SAS", "COM" or "FCoE", where:

  • "ETH": network adapter port.
  • "FC": Fibre Channel port.
  • "SAS": SAS port.
  • "COM": serial port.
  • "FCoE": FCoE port.


Port ID.

  • When parameter "type" is set to "port", the value can be obtained by running the "show port general" command.
  • When parameter "type" is set to "disk", the value can be obtained by running the "show disk general" command.


Controller ID.

The value can be obtained by running the "show controller general" command.


Test duration.

The recommended value ranges from 50 to 120, unit is second.


Developer view

Usage Guidelines



Perform an internal loopback test for port "0" of the network adapter in slot "A3" on controller B and set the test duration to "60" seconds.

developer:/>change loopback test mode=inner type=port port_type=ETH id=ENG0.A3.P0 controller_id=0B time=60 
DANGER: You are about to perform a loopback diagnosis test on the specified port. This operation interrupts all services running on the module where the port resides.  
1. Stop services related to the interface module. 
2. Run the "change alarm_mask alarm_id_list=link-related" command to mask alarms. 
3. Remove the cables of the module. 
Have you read danger alert message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.

System Response


Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 754052

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next