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 V3 V300R006

This document is applicable to OceanStor 2800 V3. 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. 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).
xnet showdevinfo

xnet showdevinfo

Function

The xnet showdevinfo command is used to query the information of different physical devices.

Format

xnet showdevinfo -t device_type

Parameters

Parameter

Description

Value

device_type

Device type.

The value can be "1" or "2", where:

  • "1": RDMA.
  • "2": PCIe.

Views

Diagnostic view

Usage Guidelines

  • This command is used by development engineers to locate faults.
  • Note that when you use the command, the value of the device_type parameter can only be "1" or "2".

Example

  • Query information about RDMA physical devices.
    admin:/diagnose>xnet showdevinfo -t 1       
    RDMA device info:       
    item           total          alloccnt       freecnt               
    TX             10976          4704           0                     
    TX INTRERNAL 784            336            0                     
    RX             11760          5040           0                     
    WR             11760          5040           0 
     
  • Query information about PCIe physical devices.
    admin:/diagnose>xnet showdevinfo -t 2       
    PCIE device info : max_dispatch 4, max_nid 4, system support nid 4       
           
    Index  DrvIid LinkType  IsActive  DrvStatus  IsCanSend  DstNid  ChanNum        SwitchPortId       
    -----  --------  --------  --------  ---------  ---------  ------  -------------  ---------       
    0      0         0         1         3          1          0x0     4 [ 0 1 2 3 ]  ffff            
    1      1         0         1         3          1          0x0     4 [ 0 1 2 3 ]  ffff            
    2      2         0         0         0          0          0x3     4 [ 0 1 2 3 ]  ffff            
    3      3         0         0         0          0          0x2     4 [ 0 1 2 3 ]  ffff             
     

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Index

Device index.

DrvIid

Driver ID.

LinkType

Link type.

IsActive

Whether the device is activated.

DrvStatus

Driver status.

IsCanSend

Whether the data can be sent.

DstNid

ID of the destination controller.

ChanNum

Number of channels.

SwitchPortId

Port ID reported by the bottom layer of switching link.

item

Device sub-item.

total

Total number of devices.

alloccnt

Number of devices that have been allocated.

freecnt

Number of devices that have been released.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 665997

Downloads: 36

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