Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Seiteneigenschaften



Deutsch

Beschreibung:

Mit diesem Add-in können Sie auf Switchen der GS-3xxx Serie NTP Einstellungen vornehmen.

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 als JSON-Datei:

View file
nameGS-3xxx-NTPsettings.json
height150


Englisch

Description:

With this Add-in script you can configure NTP settings on your LANCOM Switches of the GS-3xxx series. 

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:

View file
nameGS-3xxx-NTPsettings.json
height150