Configure SNMPv3 on LANCOM GS-3xxx Switches
With the following Add-in script you can configure SNMPv3 on LANCOM Switches of the GS-3xxx series.
List of used variables:
Variable | Description |
---|---|
Add-in code:
/** //SNMPv3 Traps // Trap Host config.addScriptLine( "snmp-server host USERNAME" ); // USERNAME = SNMP Username config.addScriptLine( "trapmode udp" ); config.addScriptLine( "version v3 engineID EngineID USERNAME" ); // EngineID = 80000934800500+DEVICEMAC ; USERNAME = SNMP Username config.addScriptLine( "host IPAddress" ); // IPAddress = IP Address of Switch config.addScriptLine( "exit" ); // Trap Events config.addScriptLine( "event group Cold-Start trap enable" ); config.addScriptLine( "event group Warm-Start trap enable" ); config.addScriptLine( "event group Link-Status trap enable" ); config.addScriptLine( "event group Login trap enable" ); config.addScriptLine( "event group Logout trap enable" ); config.addScriptLine( "event group Auth-Failed trap enable" ); config.addScriptLine( "event group Password-Change trap enable" ); config.addScriptLine( "event group Mgmt-IP-Change trap enable" ); config.addScriptLine( "event group Module-Change trap enable" ); config.addScriptLine( "event group LACP trap enable" ); config.addScriptLine( "event group NAS trap enable" ); config.addScriptLine( "event group Config-Info trap enable" ); config.addScriptLine( "event group Firmware-Upgrade trap enable" ); config.addScriptLine( "event group Import-Export trap enable" ); config.addScriptLine( "event group Port-Security trap enable" ); config.addScriptLine( "event group Access-Mgmt trap enable" ); config.addScriptLine( "event group ACL trap enable" ); config.addScriptLine( "event group ACL-Log trap enable" ); config.addScriptLine( "event group Loop-Protect trap enable" ); config.addScriptLine( "event group FAN trap enable" ); config.addScriptLine( "event group Voltage trap enable" ); config.addScriptLine( "event group Temperature trap enable" ); config.addScriptLine( "event group Spanning-Tree trap enable" ); config.addScriptLine( "event group NTP-Sync trap enable" ); config.addScriptLine( "exit" ); }; |
---|