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

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
show port route

show port route

Function

The show port route command is used to query the route settings of ports on the storage system.

Format

show port route [ eth_port_id=? ]

Parameters

Parameter

Description

Value

eth_port_id=?

ID of a port.

To obtain the value, run "show port general".

Level

Guest

Usage Guidelines

None

Example

  • Query the route settings of all ports. The command output varies depending on a specific product.
    admin:/>show port route 
      
    Port ID Destination Mask Gateway 
    ------- ----------- --------------- ----------- 
    ENG0.A3.P0 192.168.3.0 255.255.255.0 192.168.1.1 
    ENG0.A3.P0 192.168.4.1 255.255.255.255 192.168.1.2 
    ENG0.A3.P0 0.0.0.0 0.0.0.0 192.168.1.3 
    ENG0.A4.P0 10.1.1.0 255.0.0.0 10.1.5.3 
    ENG0.A4.P0 10.3.2.0 255.255.255.0 10.3.2.56
  • Query the route settings of the iSCSI host port whose ID is "ENG0.A3.P0". The ID and output vary depending on a specific product.
    admin:/>show port route eth_port_id=ENG0.A3.P0 
      
    Port ID Destination Mask Gateway 
    ------- ----------- --------------- ----------- 
    ENG0.A3.P0 192.168.3.0 255.255.255.0 192.168.1.1 
    ENG0.A3.P0 192.168.4.1 255.255.255.255 192.168.1.2 
    ENG0.A3.P0 0.0.0.0 0.0.0.0 192.168.1.3

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Port ID

Port ID.

Destination

Destination address of the port route.

Mask

Subnet mask of the port route.

Gateway

Gateway of the port route.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 226451

Downloads: 150

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