C_RESTENABLE

code: 33

# set
C_RESTENABLE <on_off>

# get
C_RESTENABLE ?

Description

Controls whether the chassis will run REST API server or not. The command takes affect only after chassis reset. To start/stop REST API server use C_RESTCONTROL command.

Actions

set, get

Parameters

  1. on_off: byte, determines whether REST API server should be enabled or disabled

  • OFF = 0

  • ON = 1

Example

# set
input:  C_RESTENABLE OFF
output: <OK>

# get
input:  C_RESTENABLE ?
output: C_RESTENABLE OFF