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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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).
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=? | mor_enable=? } *

Parameters

Parameter

Description

Value

fc_port_id=?

ID of a port.

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

speed=?

Updated port rate.

The value can be "auto_adapt", "2Gbps", "4Gbps", "8Gbps", "16Gbps" or "32Gbps", 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.
  • "32Gbps": The port rate is 32 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=?

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 Channel protocol, 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 supported by 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 types of HBAs.

role=?

Fibre Channel port role.

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

  • "ini": initiator (The 8 Gbit/s FC I/O module cannot support this function.)
  • "tgt": target.
  • "ini_and_tgt": initiator and target.

fast_write_enable=?

Switch status of the fast write function.

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

  • "yes": Indicates fast write is enabled.
  • "no": Indicates fast write is disabled.

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 not 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.
  • The current port is in FC-AL mode. If you want to change both the port mode and port rate, change the port mode first and then change the port rate.

Example

  • Set the properties of the Fibre Channel host port whose ID is "CTE0.A1.P1", where the delay time for sending the FLOGIN command is 0 μs and the port mode is "point-to-point". The ID and output vary depending on a specific product.
    admin:/>change port fc fc_port_id=CTE0.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 enable/disable fast write or MOR. If there is host service running on the port, this operation will cause I/O error to the host service. If the topology mode or port attribute of the FC front-end port does not match that of the peer FC port, this operation will interrupt the connection between the host and the storage device. 
    Suggestion: Before performing this operation, ensure that no host service is 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.
  • Set the properties of the Fibre Channel front-end port whose ID is "CTE0.A.H0", where the speed is 2 Gbit/s. 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 front-end port. If its rate is different from that of the peer FC front-end 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-07-11

Document ID: EDOC1000181601

Views: 311988

Downloads: 39

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