Configure SYSLOG servers on LANCOM GS-2xxx Switches

With the following Addin script you can configure SYSLOG servers on LANCOM Switches of the GS-2xxx series:

/**
 * @param {Config} config
 * @param {Context} context
 * Do not edit this comment or parameter types. Required for code suggestions
*/
exports.main = function (config, context) {
    config.setScalarByOid("1.1.5.1.1", "1"); // Enable Syslog Server Mode
    config.setScalarByOid("1.1.5.1.2", "IP-ADDRESS"); // IP-Address 1. Server
    config.setScalarByOid("1.1.5.1.3", "IP-ADDRESS"); // IP-Address 2. Server
    config.setScalarByOid("1.1.5.1.4", "6"); // 0 (Emergency) 1 (Alert) 2 (Critical) 3 (Error), 4 (Warning), 5 (Notice), 6 (Info), 7 (Debug)
};

download json file

results matching ""

    No results matching ""