configuration /
ntp /
broadcast-cfg
CLI REST-API
add-broadcast-cfg
add-broadcast-cfg [name] [description]
This command allows to add a NTP broadcast/multicast configuration set to the system.
After creation, the parameters of the broadcast configuration set can be accessed
via "/configuration/ntp/broadcast-cfg/[name]" in order to set the required
parameters like broadcast address, interval and other parameters.
RESTAPI: The Json-data will be copied to the new broadcast-cfg.
The data can be passed in the body like this:
{
"parameters": {
"name": "broadcast-cfg1"
}
}
Name | Value | Description | Example |
---|
| name | | |
| description | | |
See also:
/configuration/ntp/broadcast-cfg: Broadcast Configuration
/configuration/ntp/broadcast-cfg/delete-broadcast-cfg: Deletes a Broadcast using Name
REST-API Support:
This command is supported by the REST API:
Method: POST
URL: /api/configuration/ntp/broadcast-cfg/add-broadcast-cfg
Body:
{
"parameters": {
"name": [name]
}
}
Example using curl:
curl -X POST /api/configuration/ntp/broadcast-cfg/add-broadcast-cfg -d
"{
\"parameters\": {
\"name\": \"broadcast-cfg1\"
}
}"