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 for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and 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).
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, run the following command. 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 port whose ID is "ENG0.A3.P0", run the following command. 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-16

Document ID: EDOC1100049140

Views: 121350

Downloads: 149

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