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

Reminder

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

upgrade

Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and 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

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Views

Developer view

Usage Guidelines

None

Example

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.  
Suggestion:  
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

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 667320

Downloads: 30

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