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 showneg

xnet showneg

Function

The xnet showneg command is used to query negotiation information about all connections between an instance and a node.

Format

xnet showneg -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 negotiation information about instance "3" from the current node to node "0".

admin:/diagnose>xnet showneg -c 3 -n 786432 -app_data
--------------------------------------------------------------------------------------------------------------------------------------------------------
conn            dst_nid             point type   farm  status      local_seq   peer_seq    cur_neg     next_neg    
--------------------------------------------------------------------------------------------------------------------------------------------------------
0xfffe7d4562c0  0xc0000             1     server roce  working     564d79a7    29755092    done        done        
0xfffe7d44d480  0xc0000             2307  client roce  working     564d79b3    297550d6    done        done        
0xfffe7d44c280  0xc0000             2306  client roce  working     564d79b1    297550d4    done        done        
0xfffe7d457480  0xc0000             2     server roce  working     564d79a8    29755093    done        done        
0xfffe7d458640  0xc0000             3     server roce  working     564d79a9    29755094    done        done        
0xfffe7d44e640  0xc0000             2308  client roce  working     564d79b4    297550d7    done        done        
0xfffe7d459800  0xc0000             4     server roce  working     564d79aa    29755095    done        done        
0xfffe7d44b0c0  0xc0000             2305  client roce  working     564d79b2    297550d5    done        done        
--------------------------------------------------------------------------------------------------------------------------------------------------------

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_seq

Sequence number pair of a local network connection.

peer_seq

Sequence number pair of a peer network connection.

cur_neg

Current negotiation status.

next_neg

Next negotiation status.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 762318

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next