Setting Service State (service -d state)
Function
The service -d state command is used to set service state for the iBMC.
Format
ipmcset -t service -d state -v <option> <enabled | disabled>
Parameters
Parameter |
Description |
Value |
---|---|---|
option |
Specifies the service type. |
|
enabled |
Enables a service |
- |
disabled |
Disables a service |
- |
Usage Guidelines
The value of option is not case-sensitive.
Example
# Enable the HTTP service.
iBMC:/->ipmcset -t service -d state -v http enabled
WARNING: Enabling the http functions may reduce system security. Exercise caution when enabling these functions.
Do you want to continue?[Y/N]:y
Set http service state(enabled) successfully.
Enabling the HTTP service may pose security risks.