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


To have a better experience, please upgrade your IE browser.


Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 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


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


show logical_port general [ logical_port_name=? ]





logical_port_name=? Logical port name.

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



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=?".


  • 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 -- ETH ENG0.A2.P0 ETH ENG0.A2.P0 0A
    ethlp Link Down -- ETH ENG0.A2.P1 ETH ENG0.A2.P1 0A
    asdf Link Down -- ETH ENG0.A2.P1 ETH ENG0.A2.P1 0A
    asdfA Link Down -- 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 -- ETH ENG0.A2.P0 ETH ENG0.A2.P0 0A
    lp001 Link Down -- 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 : 
    IPv4 Mark : 
    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.



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.


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.

Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 368168

Downloads: 1594

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