configuration / ntp / ext-ntp-cfg

CLI REST-API

add-ext-ntp-cfg

add-ext-ntp-cfg [IP address]
The "add-ext-ntp-cfg" command adds the definition of an external NTP server
to the NTP configuration. After the definition has been created, the parameters for
this external NTP server definition can be accessed at
/configuration/ntp/ext-ntp-cfg/ext-ntp-cfg#/ to set up things like the IP address of
the external NTP server and other parameters.

External NTP server configuration definitions are used to add remote NTP servers
which are used by the NTP service as either fallback time sources (if the local
hardware reference is not synchronized/available anymore) or as NTP reference sources
for RDT systems (which do not have any hardware reference clock). On MRS systems, i.e.
all IMS series devices or M-Series systems with MRS capabilities, the external NTP
configuration definitions are used as a source for the "NTP" reference.

In order to delete an external NTP configuration, see the "delete-ext-ntp-cfg" command.

RESTAPI: The Json-data will be copied to the new ext-ntp-cfg.
The data can be passed in the body like this:
{
    "parameters": {
        "ip-address": "192.168.0.1"
    }
}
NameValueDescriptionExample
IP address192.168.0.1
See also:
/configuration/ntp/ext-ntp-cfg: External NTP Configuration
/configuration/ntp/ext-ntp-cfg/delete-ext-ntp-cfg: Deletes an External NTP-Config using Name

REST-API Support:


This command is supported by the REST API:

Method: POST
URL: /api/configuration/ntp/ext-ntp-cfg/add-ext-ntp-cfg
Body:
{
    "parameters": {
        "ip-address": [IP address]
    }
}

Example using curl:
curl -X POST /api/configuration/ntp/ext-ntp-cfg/add-ext-ntp-cfg -d 
"{
    \"parameters\": {
        \"ip-address\": \"192.168.0.1\"
    }
}"