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 queryconn

xnet queryconn

Function

The xnet queryconn command is used to query information about a specified connection between an instance and a node.

Format

xnet queryconn -c [ctx-id] -n [dst-nid] -p [net-point] -usermode

Parameters

Parameter

Description

Value

ctx-id Instance number.

-

dst-nid Destination node.

-

net-point Unique ID of a connection.

-

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

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

Example

Query information about connection "4" between instance "3" and node "0".

admin:/diagnose>xnet queryconn -c 3 -n 786432 -p 4 -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
conn                net_point                     local_addr                    peer_addr                     prot(0:tcp,1:roce,2:ib)       
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0xfffe817272c0      4                             10.216.2.2:7000               10.216.2.1:41327              1                             
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

net_point

Unique ID of a connection.

local_addr

Local IP address and port number.

peer_addr

Peer IP address and port number.

prot

Connection protocol type.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 756712

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next