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 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).
xnet getconnstate

xnet getconnstate

Function

The xnet getconnstate command is used to query the slow link status of a specified connection.

Format

xnet getconnstate -c conn -usermode

Parameters

Parameter

Description

Value

conn Connection pointer.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • "-app_data": executes the command for the app_data process.
  • "-devm": executes the command for the devm process.
  • "-sys_app": executes the command for the sys_app process.
  • "-cfg_app": executes the command for the cfg_app process.

Views

Diagnostic view

Usage Guidelines

In the "xnet getconnstate" command, the "conn" parameter is the connection pointer obtained by running the "xnet showconn" command, and the "queue" parameter is the queue pointer obtained by running the "xnet showqueue" command.

OceanStor 18500 V5 Kunpeng, 18500F V5 Kunpeng, 18800 V5 Kunpeng and 18800F V5 Kunpeng storage systems support this command.

Example

Query the slow link status of a specified connection.

admin:/diagnose>xnet getconnstate -c 0xfffe0871e3c0 -app_data
conn              local_ip       remote_ip      state     
0xfffe0871e3c0    10.216.1.2     10.216.1.1     XNET_LINK_EVENT_BOTTOM

System Response

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

local_ip

Local IP address.

remote_ip

Remote IP address.

state

Slow link status.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 744195

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next