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 showethdev

xnet showethdev

Function

The xnet showethdev command is used to query device information about a specified instance.

Format

xnet showethdev -c [idx] -usermode

Parameters

Parameter

Description

Value

idx Instance 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 device information about instance "3".

admin:/diagnose>xnet showethdev -c 3 -app_data
==========path_mgr local_ip:10.216.2.2==========
********** eth device**************
Show eth dev, num = 1
dev_idx    : 0
dev_name   : 
dev_status : XNET_NET_DEV_ACTIVE
--------------eth port_info(0) begin-------------
port_type                   : 10GE
eth_port.uip                : 10.216.2.2
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 0
port_latency                : 0
total_qp_num                : 0
--------------eth port_info(0) end***************
 
**********rdma device**************
Show eth dev, num = 1
dev_idx         : 0
dev_name        : hnseth1
dev_status      : 4
ports_num       : 1
active_port_num : 1
--------------rdma port_info(0) begin-------------
port_type                   : RoCE
roce_port.avaliable_connect : 1
roce_port.port_gid          : GID:0000:0000:0000:0000:0000:ffff:0ad8:0202
roce_port.port_index        : 5
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 1
port_latency                : 0
total_qp_num                : 0
--------------rdma port_info(0) end---------------
==========path_mgr local_ip:10.216.1.2==========
********** eth device**************
Show eth dev, num = 1
dev_idx    : 0
dev_name   : 
dev_status : XNET_NET_DEV_ACTIVE
--------------eth port_info(0) begin-------------
port_type                   : 10GE
eth_port.uip                : 10.216.1.2
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 0
port_latency                : 0
total_qp_num                : 0
--------------eth port_info(0) end***************
 
**********rdma device**************
Show eth dev, num = 1
dev_idx         : 0
dev_name        : hnseth0
dev_status      : 4
ports_num       : 1
active_port_num : 1
--------------rdma port_info(0) begin-------------
port_type                   : RoCE
roce_port.avaliable_connect : 1
roce_port.port_gid          : GID:0000:0000:0000:0000:0000:ffff:0ad8:0102
roce_port.port_index        : 5
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 1
port_latency                : 0
total_qp_num                : 0
--------------rdma port_info(0) end---------------
==========path_mgr local_ip:172.31.0.2==========
********** eth device**************
Show eth dev, num = 1
dev_idx    : 0
dev_name   : 
dev_status : XNET_NET_DEV_ACTIVE
--------------eth port_info(0) begin-------------
port_type                   : 10GE
eth_port.uip                : 172.31.0.2
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 0
port_latency                : 0
total_qp_num                : 0
--------------eth port_info(0) end***************
 
**********rdma device**************
Show eth dev, num = 1
dev_idx         : 0
dev_name        : hrn0_0
dev_status      : 4
ports_num       : 1
active_port_num : 1
--------------rdma port_info(0) begin-------------
port_type                   : RoCE
roce_port.avaliable_connect : 1
roce_port.port_gid          : GID:0000:0000:0000:0000:0000:ffff:ac1f:0002
roce_port.port_index        : 3
port_no                     : 1
sl_cycle                    : 0
port_status                 : XNET_NET_DEV_ACTIVE
port_speed                  : 32
port_latency                : 0
total_qp_num                : 0
--------------rdma port_info(0) end---------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

num

Number of devices.

dev_idx

Device index number.

dev_name

Device name.

dev_status

Device status.

port_type

Port type.

eth_port.uip

Port IP address.

port_no

Port number.

sl_cycle

Flow priority.

port_status

Port status.

port_speed

Port bandwidth.

port_latency

Port latency.

total_qp_num

Total port QP count.

ports_num

Count of ports.

active_port_num

Count of activated ports.

roce_port.avaliable_connect

Count of valid connections on the port.

roce_port.port_gid

Port IPv6 address.

roce_port.port_index

Port index number.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 744169

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next