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 shownetconn

xnet shownetconn

Function

The xnet shownetconn command is used to query information about network connections between an instance and a node.

Format

xnet shownetconn -c [idx] -n [nid] -usermode

Parameters

Parameter

Description

Value

idx Instance number.

-

nid Peer node number.

-

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 network connections between instance "3" and node "0".

admin:/diagnose>xnet shownetconn -c 3 -n 786432 -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
conn            dst_nid             point type   farm  status      local_addr          peer_addr           fin_cnt recv      send      
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0xfffde94c63c0  0xc0000             1     server roce  working     10.216.1.2:7000     10.216.1.1:37525    0       19130     11931     
0xfffde94bd4c0  0xc0000             2307  client roce  working     10.216.2.2:36755    10.216.2.1:7000     0       359781    237571    
0xfffde94bc2c0  0xc0000             2306  client roce  working     10.216.1.2:43989    10.216.1.1:7000     0       19129     9722      
0xfffde94c7580  0xc0000             2     server roce  working     10.216.1.2:7000     10.216.1.1:40773    0       19199     9722      
0xfffde94ce0c0  0xc0000             3     server roce  working     10.216.2.2:7000     10.216.2.1:40131    0       359669    229147    
0xfffde94be680  0xc0000             2308  client roce  working     10.216.2.2:38053    10.216.2.1:7000     0       359433    237032    
0xfffde94cf2c0  0xc0000             4     server roce  working     10.216.2.2:7000     10.216.2.1:46195    0       359462    237001    
0xfffde94bb100  0xc0000             2305  client roce  working     10.216.1.2:33879    10.216.1.1:7000     0       19199     9472      
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

dst_nid

Peer node number.

point

Unique ID of a connection.

type

Connection service type.

farm

Protocol type.

status

Connection status.

local_addr

Local IP address.

peer_addr

Peer IP address.

fin_cnt

Flag indicating that connections are disabled.

recv

Count of received messages.

send

Count of sent messages.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 743023

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next