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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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."
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 fc

change port fc

Function

The change port fc command is used to modify the properties of a specific fibre channel port.

Format

change port fc fc_port_id=? { speed=? | mode=? | flogin_delay_times=? | role=? | fast_write_enable=? } *

Parameters

Parameter

Description

Value

fc_port_id=? ID of a port.

To obtain the value, run "show port general". The value contains 1 to 31 characters, including letters, digits, and periods (.). The value cannot

start with a digit or a period (.), or end with a period (.).

speed=? An updated port rate.

The value can be "auto_adapt", "2Gbps", "4Gbps", "8Gbps" or "16Gbps", where:

  • "auto_adapt": The autosensing mode is adopted.
  • "2Gbps": The port rate is 2 Gbit/s.
  • "4Gbps": The port rate is 4 Gbit/s.
  • "8Gbps": The port rate is 8 Gbit/s.
  • "16Gbps": The port rate is 16 Gbit/s.
mode=? Fibre Channel port mode.

The value can be "FC-AL", "point-to-point" or "auto_adapt", where:

  • "FC-AL": indicates the arbitrated loop mode.
  • "point-to-point": indicates the point-to-point mode.
  • "auto_adapt": The autosensing mode is adopted.
flogin_delay_times=? The delay time that the system waits before sending the FLOGIN command. Set a proper delay time based on a specific HBA type.
NOTE:
FLOGIN, an interactive command in the Fibre Channelprotocol, is used to negotiate parameters related to Fibre Channel links. After a storage system and a host interconnect by using an optical fiber, both parties need to send the FLOGIN command to determine the parameters supportedby the peer party.

The value can be "500" or "0", expressed in μs, where:

  • "500": applicable to the scenario where the server connected to the storage system is equipped with a Brocade 825 HBA.
  • "0": applicable to the scenario where the server connected to the storage system is equipped with other type of HBA.
role=? The role of the fc port.

The value can be "tgt" or "ini_and_tgt", where:

  • "tgt": The role of the port is target.
  • "ini_and_tgt": The role of the port is initiator and target.
fast_write_enable=? The state of fast write.

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

  • "yes": Indicates fast write is enable.
  • "no": Indicates fast write is disable.

Level

Administrator

Usage Guidelines

  • Running this command causes ongoing services between the storage system and the host to be interrupted for a short period.
  • If the port mode specified in this command does no match that of the peer Fibre Channel host port, running this command causes the connection between the host and the storage system to be interrupted.
  • Before running this command, ensure that the port rate and port mode match those of the peer Fibre Channel host port.
  • If the updated port rate conflicts with the peer port rate, the host and the storage system cannot be connected to each other, and services cannot be recovered.

Example

  • To set the properties of the Fibre Channel host port whose ID is "ENG0.A1.P1", where the delay time for sending the FLOGIN command is 0 μs and the port mode is "point-to-point", run the following command. The ID and output vary depending on a specific product.

    admin:/>change port fc fc_port_id=ENG0.A1.P1 flogin_delay_times=0 mode=point-to-point 
    DANGER: You are about to change the service port's work mode or role or fast write enable.If there is host service running on the port, this operation will cause I/O error to the host service.If the mode or role or fast write enable of the Fibre Channel host port mismatches that of the Fibre Channel port on the peer end, this operation interrupts the connection between the host and storage system.
    Suggestion:Before perform this operation, you are advised to confirm that no host service running on the port.
    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 set the properties of the Fibre Channel host port whose ID is "ENG0.A1.P1", where the speed is 2Gbps, run the following command. The ID and output vary depending on a specific product.

    admin:/>change port fc fc_port_id=CTE0.A.H0 speed=2Gbps 
    DANGER: You are about to modify the rate of FC host port. If its rate is different from that of the peer FC host port, the host will be disconnected from the storage system.
    Suggestion: Before performing this operation, determine the rate supported by the peer FC port.
    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-04-22

Document ID: EDOC1000106139

Views: 240705

Downloads: 169

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