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