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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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.

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=?





mode=? Port test mode.

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

  • "inner": internal loop.
  • "outer": external loop.
  • "stop": stop loopback.
type=? Type.

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

  • "port": external port of an interface module.
  • "disk": disk port.
port_type=? 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.
id=? 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=? Controller ID.

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

time=? 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: 2020-01-17

Document ID: EDOC1000181602

Views: 747995

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next