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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. 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).
eam showtypeport

eam showtypeport

Function

The eam showtypeport command is used to batch query port information based on the port type.

Format

eam showtypeport [type_id]

Parameters

Parameter

Description

Value

type_id

Port type ID.

To obtain the value, run the "eam showtypeport" command without parameters.

Views

Diagnostic view

Usage Guidelines

None

Example

  • Query the port type of EAM.
    admin:/diagnose>eam showtypeport 
    Please input: port type [1-11]. 
             [1]:Show eth port info. 
             [2]:Show fc port info. 
             [3]:Show fcoe port info. 
             [4]:Show sas port info. 
             [5]:Show pcie port info. 
             [6]:Show ib port info. 
             [7]:Show bond port info. 
             [8]:Show vlan port info. 
             [9]:Show nas-lif port info. 
             [10]:Show iSCSI-lif port info. 
             [11]:Show fc-lif port info. 
    admin:/diagnose>
  • Query the information about Ethernet ports.
    admin:/diagnose>eam showtypeport 1 
    type name=ETH 
    size=256 
    extPortId=0x22003 
    portName=CTE0.A.H0 
    phyStatus=1 
    linkStatus=10 
    linkQuality=0 
    tmpFlag=0 
    shutdown=1 
    portType=1 
    logicType=0 
    protocolType=3 
    node=0 
    maxSpeed=2 
    runSpeed=2 
    drvName=H0 
    uptime=17406144 
    bondId=0x21f01 
    admin:/diagnose>
  • Query the information about bond ports.
    admin:/diagnose>eam showtypeport 7 
    ------------Show port begin---------- 
    type name=BOND 
    size=248 
    extPortId=0x21f01 
    portName=kk 
    phyStatus=1 
    linkStatus=10 
    linkQuality=0 
    tmpFlag=0 
    shutdown=0 
    portType=7 
    logicType=0 
    protocolType=0 
    node=0 
    maxSpeed=0 
    runSpeed=0 
    drvName= 
    uptime=17406144 
    ------------Show port end---------- 
    admin:/diagnose>

System Response

The following table describes the parameter meanings.

Parameter

Meaning

type name

Port type name.

size

Port memory size.

extPortId

Port ID.

portName

Port name.

phyStatus

Physical status of the port.

tmpFlag

Temporary flag of the port.

linkStatus

Link status of the port.

linkQuality

Link quality of the port.

shutdown

Status of the port switch.

portType

Port type.

logicType

Logical type of the port.

protocolType

Port protocol type.

node

Node where the port is located.

maxSpeed

Type of the maximum running rate of the port.

runSpeed

Type of the port running rate.

drvName

Name of the port driver.

uptime

Time when the link quality status of the port is updated.

bondId

ID of the bond port to which the port belongs.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 631712

Downloads: 703

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