Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 3 Nächste Version anzeigen »


Add SNMP-Server and SNMP-User on LANCOM GS-23xx Switches

With the following Addin script you can add an SNMP-server and SNMP-Users on LANCOM Switches of the GS-23xx series:

Used variables:

VariableDescription





/**
 * @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("snmp");
    config.addScriptLine("user macmon AuthPriv MD5 macmon123 DES macmon123");
    config.addScriptLine("group macmon usm macmonv3");
    config.addScriptLine("view super included .1");
    config.addScriptLine("access macmonv3 any AuthPriv super super");
    config.addScriptLine("trap 1 v3 ipv4 10.20.0.81 162 6 public AuthPriv MD5 macmon123 DES macmon123");
    config.addScriptLine("getcommunity enable");
    config.addScriptLine("exit");

GS-23XX-Add-SNMP-Server-and-User.json




  • Keine Stichwörter