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 logical_port general

show logical_port general

Function

The show logical_port general command is used to query details about logical ports in the system.

Format

show logical_port general [ logical_port_name=? ]

Parameters

Parameter

Description

Value

logical_port_name=? Logical port name.

Run the "show logic_port general" command without any parameters to obtain the value.

Level

Guest

Usage Guidelines

  • To query all logical ports, run "show logical_port general".
  • To query a specific logical port, run "show logical_port general logical_port_name=?".

Example

  • Query all logical ports.

    admin:/>show logical_port general 
    Logical Port Name Running Status IPv4 Address IPv6 Address Home Port Type Home Port ID Current Port Type Current Port ID Work Controller ID 
    --------------- ----------------- -------------- ------------- ------------------------ -------------- ------------ ----------------- 
    ethlp Link Down 10.2.3.4 -- ETH ENG0.A2.P0 ETH ENG0.A2.P0 0A
    ethlp Link Down 10.1.1.201 -- ETH ENG0.A2.P1 ETH ENG0.A2.P1 0A
    asdf Link Down 10.1.1.1 -- ETH ENG0.A2.P1 ETH ENG0.A2.P1 0A
    asdfA Link Down 10.2.2.2 -- ETH ENG0.A2.P3 ETH ENG0.A2.P3 0A
    vlanlp Link Down -- 2180::250:56ff:fea6:60aa VLAN ENG0.A2.P0.2 VLAN ENG0.A2.P0.2 0A
    lzx Link Down 192.168.9.2 -- ETH ENG0.A2.P0 ETH ENG0.A2.P0 0A
    lp001 Link Down 10.178.1.133 -- ETH ENG0.A2.P2 ETH ENG0.A2.P2 0A
  • Query a specific logical port.

    admin:/>show logical_port general logical_port_name=lp001
    Logical Port Name : lp001 
    Running Status : Link Down 
    IPv4 Address : 10.178.1.133 
    IPv4 Mark : 255.255.0.0 
    IPv4 Gateway : --
    IPv6 Address : --
    IPv6 Mark : --
    IPv6 Gateway : --
    Role : -- 
    Support Protocol : NFS+CIFS 
    Home Port Type : ETH 
    Home Port ID : ENG0.A2.P2 
    Owner Controller ID : 0A 
    Current Port Type : ETH 
    Current Port ID : ENG0.A2.P2 
    Work Controller ID : 0A 
    Activation Status : Yes 
    Address Family : IPv4 
    Is Private : No 
    Failover Group ID : 0 
    Failover Enabled : Yes 
    Failback Mode : Manually 
    Failover Group Name : System-defined

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Logical Port Name

Logical Port Name.

Running Status

Running Status.

IPv4 Address

Logical Port IPv4 Address.

IPv4 Mask

Logical Port IPv4 Subnet Mask.

IPv4 Gateway

Logical Port IPv4 Gateway.

IPv6 Address

Logical Port IPv6 Address.

IPv6 Mask

Logical Port IPv6 Mask.

IPv6 Gateway

Logical Port IPv6 Gateway.

Role

Logical Port Role.

Support Protocol

Protocol Supported by the Logical Port.

Home Port Type

Logical Port Home Port Type.

Home Port ID

Logical Port Home Port ID.

Owner Controller ID

Logical Port Owning Controller ID.

Current Port Type

Working Port Type.

Current Port ID

Working Port ID.

Work Controller ID

Working Controller ID.

Activation Status

Activation Status.

Address Family

IP Address Family.

Is Private

Is Configurable Or Not.

Failover Group ID

Failover Group ID.

Failover Enabled

Failover Enabled.

Failback Mode

Failback Mode.

Failover Group Name

Failover Group Name.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317596

Downloads: 253

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