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

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by 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. 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 detailed information about logical ports in the system.


show logical_port general { logical_port_name=? | dns_zone_name=? | listen_dns_query_enabled=? }






Logical port name.

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


DNS zone name.

A name contains 1 to 255 characters and consists of labels separated by periods (.). A label contains 1 to 63 characters including letters (case-insensitive), digits, hyphens (-), and underscores (_), and must start and end with a letter or a digit. Run the "show dns_zone general" command without any parameters to obtain the value.


Whether to listen to DNS requests.

  • "no": not listening to DNS requests.
  • "yes": listening to DNS requests.


Guest,vstore admin

Usage Guidelines

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


  • Query information about 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 Port Mode vStore 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 information about 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 : Service  
    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-define 
    Management Access : -- 
    vStore ID : -- 
    DDNS Status : On 
    DNS Zone Name 
    Listen DNS Query Enabled: No

System Response

The following table describes the parameter meanings.



Logical Port Name

Logical port name.

Running Status

Port running status.

IPv4 Address

IPv4 address of the logical port.

IPv4 Mask

IPv4 subnet mask of the logical port.

IPv4 Gateway

IPv4 gateway of the logical port.

IPv6 Address

IPv6 address of the logical port.

IPv6 Mask

IPv6 mask of the logical port.

IPv6 Gateway

IPv6 gateway of the logical port.


Port role.

Support Protocol

Supported protocol type.

Home Port Type

Home port type.

Home Port ID

Home port ID.

Owner Controller ID

Node where the working port resides.

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

Whether to enable failover.

Failback Mode

Failback mode.

Failover Group Name

Failover group name.

Management Access

Management access.

vStore ID

vStore ID.


This field is not displayed in the vStore view.

DDNS Status

Dynamic DNS status.

DNS Zone Name

DNS zone name.

Listen DNS Query Enabled

Whether the current logical port listens to DNS requests.

Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 236947

Downloads: 150

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