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

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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 detailed information about logical ports in the system.

Format

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

Parameters

Parameter

Description

Value

logical_port_name

Logical port name.

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

dns_zone_name

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.

listen_dns_query_enabled

Whether to listen to DNS requests.

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

Level

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

Example

  • 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 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 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 : 10.178.1.133  
    IPv4 Mark : 255.255.0.0  
    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 :zone1.nas.com 
    Listen DNS Query Enabled: No

System Response

The following table describes the parameter meanings.

Parameter

Meaning

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.

Role

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.

NOTE:

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.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 228623

Downloads: 150

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