Description:With this Add-in script you can configure NTP settings on LANCOM GS-3xxx series switches. Add-in code:/** * @param {Config} config * @param {Context} context * Do not edit this comment or parameter types. Required for code suggestions */ exports.main = function (config, context) {
config.addScriptLine("configure"); config.addScriptLine("ntp server 1 ip-address ntpserver"); //ntpserver = Domain, IPv4 or IPv6 config.addScriptLine("ntp interval 6"); //between 6 and 10, equals X^2 (6=64, 7=128 etc.) in seconds config.addScriptLine("exit"); };
|
---|
Add-in as JSON file:
|