set command
Use the set command to set the configurations for the front panel USB port in the target server.
set command syntax
OneCli.exe [misc] fpusb set [command options]
Parameter | Required/Optional | Notes |
---|---|---|
--btn | Optional | Switch the owner by enabling or disabling ID button when the specified mode is shared. |
--mode | Optional | Specify the mode for the front panel USB. The mode can be set as bmc, server and shared. |
--owner | Optional | Set the preferred owner when the specified mode is shared. The values inlcude: server, and bmc. |
--timeout | Optional | Set the inactivity time-out for the fpusb command of the BMC. The unit is minute. |
| Optional | Refer to Table 2. |
Example of the set command
OneCli.exe fpusb set --bmc userid:password@IP --mode shared --btn on
OneCli.exe fpusb set --bmc-username userid –bmc-password password
--mode shared --timeout 30 --owner bmc
To set the owner, input the status command to check if the front panel USB port is in shared mode; if no, select the --mode shared option to set the front panel USB port to shared mode, and then select the owner.
To set the inactivity time-out, input the status command to check if the front panel USB port is in shared mode and if BMC is the preferred owner; if no, select the --mode shared option to set the front panel USB port to shared mode, and select the --owner bmc option to set BMC as the preferred owner.