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 functionsand 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).
change port enabled

change port enabled

Function

The change port enabled command is used to change the state of the port.

Format

change port enabled sas_port_id=? enabled=?

change port enabled port_id=? port_type=? enabled=?

Parameters

Parameter

Description

Value

sas_port_id=?

ID of the SAS port.

To obtain the value, run "show port general".

enabled=?

State of port.

The value can be "yes" or "no", where:

  • "yes": indicates the port is available.
  • "no": indicates the port is unavailable.

port_id=?

ID of port.

To obtain the value, run "show port general".

port_type

Type of port.

The value can be "ETH","FC","FCoE","SAS" or "IB",where:

  • ETH: ETH port.
  • FC: FC port.
  • FCoE: FCoE port.
  • SAS: SAS port.
  • IB: IB port.

Views

Developer view

Usage Guidelines

Before you perform this operation, ensure that the services of the port are stopped.

Example

  • To change the state of port whose ID is "CTE0.A0.P3", run the following command. The command output varies depending on a specific product.
    developer:/>change port enabled sas_port_id=CTE0.A0.P3 enabled=yes 
    DENGER: You are about to change the port state.This operation will cause that the services of the ports are interrupted. 
    Suggestion: Before you perform this operation, ensure that the services of the ports are stopped. 
    Have you read danger alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • To change the state of FC port whose ID is "CTE0.A1.P0", run the following command. The command output varies depending on a specific product.
    developer:/>change port enabled port_id=CTE0.A1.P0 port_type=FC enabled=yes 
    DENGER: You are about to change the port state.This operation will cause that the services of the ports are interrupted. 
    Suggestion: Before you perform this operation, ensure that the services of the ports are stopped. 
    Have you read danger alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 613018

Downloads: 697

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