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 showroute

xnet showroute

Function

The xnet showroute command is used to query information about the routing table from a specified instance to a specified node.

Format

xnet showroute -n dst_nid -q queue_index -c xnet_ctx_idx -i route_idx -usermode

Parameters

Parameter

Description

Value

dst_nid Peer node number.

-

queue_index Queue index number.

-

xnet_ctx_idx Instance number.

-

route_idx Route index 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 the routing table from instance "3" to node "0".

admin:/diagnose>xnet showroute -n 786432 -q 0 -c 3 -i 0 -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
idx  priority hop  cpu-L:P     conn                version   src_nid             dst_nid             net_point hit            pri_match      pri_mismatch   poll_group          vcid 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0    H        0        0:0     0xfffe817120c0      1         0xc0001             0xc0000             2305      6846           6846           0              0xffff2019d0b8      0    
1    H        0        0:0     0xfffe81713280      1         0xc0001             0xc0000             2306      6846           6846           0              0xffff2019d0b8      0    
2    H        0        0:0     0xfffe8171d2c0      1         0xc0001             0xc0000             2         6843           6843           0              0xffff2019d0b8      0    
3    H        0        0:0     0xfffe8171e480      1         0xc0001             0xc0000             1         6843           6843           0              0xffff2019d0b8      0    
4    H        0        0:0     0xfffe81720800      1         0xc0001             0xc0000             6         6841           6841           0              0xffff2019d0b8      0    
5    H        0        0:0     0xfffe817219c0      1         0xc0001             0xc0000             5         6841           6841           0              0xffff2019d0b8      0    
6    H        0        0:0     0xfffe81718b80      1         0xc0001             0xc0000             2311      6841           6841           0              0xffff2019d0b8      0    
7    H        0        0:0     0xfffe81719d40      1         0xc0001             0xc0000             2312      6841           6841           0              0xffff2019d0b8      0    
8    H        0        0:0     0xfffe81722b80      1         0xc0001             0xc0000             7         6840           6840           0              0xffff2019d0b8      0    
9    H        0        0:0     0xfffe81723d40      1         0xc0001             0xc0000             8         6840           6840           0              0xffff2019d0b8      0    
10   H        0        0:0     0xfffe817179c0      1         0xc0001             0xc0000             2310      6839           6839           0              0xffff2019d0b8      0    
11   H        0        0:0     0xfffe81716800      1         0xc0001             0xc0000             2309      6839           6839           0              0xffff2019d0b8      0    
12   H        0        0:0     0xfffe81726100      1         0xc0001             0xc0000             3         6837           6837           0              0xffff2019d0b8      0    
13   H        0        0:0     0xfffe817272c0      1         0xc0001             0xc0000             4         6837           6837           0              0xffff2019d0b8      0    
14   H        0        0:0     0xfffe81714480      1         0xc0001             0xc0000             2307      6836           6836           0              0xffff2019d0b8      0    
15   H        0        0:0     0xfffe81715640      1         0xc0001             0xc0000             2308      6836           6836           0              0xffff2019d0b8      0    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

idx

Connection index number.

priority

Connection priority.

hop

Hop count.

cpu-L:P

Local and peer CPU numbers.

conn

Connection pointer.

version

Process version.

src_nid

Source node.

dst_nid

Destination node.

net_point

Unique ID of a connection.

hit

Connection count.

pri_match

Count of connection hits.

pri_mismatch

Count of connection misses.

poll_group

Resource group.

vcid

Local CPU number.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 749914

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next