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 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, 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. 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 general

show port general

Function

The show port general command is used to query ports on the storage system.

Format

show port general [ port_id=? ]

show port general [ physical_type=? | logic_type=? ] *

show port general [ failover_group_id=? ]

show port general [ physical_type=? | logic_type=? | running_status=? ] *

Parameters

Parameter

Description

Value

port_id=? ID of a port. If this parameter is specified, neither physical_type=? nor logic_type=? can be specified.

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

logic_type=? Logical port type.

The value can be "Host_Port", "Expansion_Port", "Management_Port", or "Maintenance_Port", where:

  • "Host_Port": indicates host ports.
  • "Expansion_Port": indicates expansion ports.
  • "Management_Port": indicates management ports.
  • "Maintenance_Port": indicates maintenance ports.
physical_type=? Physical port type.

The value can be "FC", "ETH", "SAS", "COM", "FCoE" or "PCIE", where:

  • "FC": indicates Fibre Channel ports.
  • "ETH": indicates Ethernet ports (including iSCSI host ports and management network ports).
  • "SAS": indicates SAS ports.
  • "COM": indicates serial ports.
  • "FCoE": indicates FCoE ports.
  • "PCIE": indicates PCIE ports.
failover_group_id=? ID of the failover group.

The value is an integer between 0 and 8191.

running_status=? Running status of a port.

The value can be "link_up", "link_down", where:

  • "link_up": port is link up.
  • "link_down": port is link down.

Level

Guest

Usage Guidelines

  • To query all ports, run "show port general".
  • To query a specific port, run "show port general port_id=?".
  • To query ports of a specific type, run "show port general physical_type=?, show port general logic_type=?, or show port general physical_type=? logic_type=?".
  • To query Ethernet ports in a specified failover group, run "show port general failover_group_id=?".
NOTE:
  • To query details on ports of a specific type, run show port general physical_type=?, show port general logic_type=?, show port general running_status=?, show port general physical_type=? logic_type=?, show port general physical_type=? running_status=?, show port general logic_type=? running_status=? or show port general physical_type=? logic_type=? running_status=?.
If you have logged in to the storage system through a serial port and view "Running Status" of the serial port is "Link Down", please ignore this status. If you have logged in to the storage system through a serial port and message "Running Status" of the serial port is "Link Down" is displayed, please ignore this message.

port_id is mutually exclusive with logic_type and physical_type; failover_group_id is mutually exclusive with physical_type, logic_type, and port_id.

Example

  • To query the port "ENG0.B3.P3", run the following command. The ID and output vary depending on a specific product.

    admin:/>show port general port_id=ENG0.B3.P3
    ETH port:
    -----------------Host_Port-----------------
     
    ID : ENG0.B3.P3
    Health Status : Normal
    Running Status : Link Down
    Type : Host Port
    IPv4 Address :
    Subnet Mask :
    IPv4 Gateway :
    IPv6 Address : --
    IPv6 Prefix Length : --
    IPv6 Gateway :
    MAC : 00:01:02:03:04:18
    Role : INI and TGT
    Mode : --
    MTU : 2500
    Working Rate(Mbps) : --
    Bond Name :
    iSCSI Port : 3
    iSCSI Name : P3
    Error Packets : 0
    Lost Packets : 0
    Over Flowed Packets : 0
    Start Time : 2013-09-25/12:08:17 +00:00
    FCoE port:
     
    ID : ENG0.B3.P3
    Health Status : Normal
    Running Status : Link Down
    Type : Host Port
    Working Rate(Mbps) : --
    WWN : 2000000102030418
    Role : TGT
    SFP Status : Offline
    Error Packets : 0
    Lost Packets : 0
    Over Flowed Packets : 0
    Start Time : 2013-09-25/12:08:17 +00:00
    Enabled : Yes
     
  • To query Ethernet ports in failover group 0, run the following command:

    admin:/>show port general failover_group_id=0
    ID Health Status Running Status Type IPv4 Address IPv6 Address MAC Role Working Rate(Mbps) 
    ---------- ------------- -------------- --------- ------------ ------------ ----------------- ---- ------------------ 
    ENG0.A3.P0 Normal Link Up Host Port -- 80:fb:06:df:d1:71 -- 1000 
    ENG0.A3.P1 Normal Link Down Host Port -- 80:fb:06:df:d1:70 -- -- 
    ENG0.A3.P2 Normal Link Down Host Port -- 80:fb:06:df:d1:6f -- -- 
    ENG0.A3.P3 Normal Link Down Host Port -- 80:fb:06:df:d1:6e -- -- 
    ENG0.B2.P0 Normal Link Down Host Port -- 78:1d:ba:cb:1d:cc -- -- 
    ENG0.B2.P1 Normal Link Down Host Port -- 78:1d:ba:cb:1d:cd -- -- 
    ENG0.B3.P1 Normal Link Down Host Port -- 20:0b:c7:3e:82:1a -- -- 
    ENG0.B3.P2 Normal Link Down Host Port -- 20:0b:c7:3e:82:19 -- --
  • To query the FC port "CTE0.A3.P0", run the following command. The ID and output vary depending on a specific product.

    admin:/>show port general port_id=CTE0.A3.P0
    FC port:
    ID : CTE0.A3.P0
    Health Status : Normal
    Running Status : Link Down
    Type : Host Port
    Working Rate(Mbps) : --
    Configured Speed(Mbps) : Auto-Adapt
    WWN : 22083400a3dc1a51
    Role : INI and TGT
    SFP Status : Offline
    Working Mode : --
    Configured Mode : --
    Flogin Delay Times(ms) : 0
    Lost Signals : 0
    Link Errors Codes : 0
    Lost Synchronizations : 0
    Failed Connections : 0
    Start Time : 2015-01-04/09:20:41 UTC+08:00
    Fast Write Supported : Yes
    Fast Write Enable : Yes
    Fast Write Burst Len(Byte) : 8192
    Enabled : Yes
     

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317179

Downloads: 253

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