Benutzer-Werkzeuge

Webseiten-Werkzeuge


snmp_community_loeschen

SNMP Community-Map trotz "hash-key" löschen

In AOS 8.x wurde ein Hash-Verfahren eingeführt das die SNMP Community-Map z.B. „public“ nur noch als Hash in der Konfiguration darstellt.

Es ist nicht möglich die Community-Map anhand dieses Hash-Key zu löschen. Der ursprüngliche Wert lässt sich über die Ausgabe von „show snmp community-map“ auslesen.

Beispiel

-> 
-> show system 
System:
  Description:  Alcatel-Lucent Enterprise OS6560-P24Z24 8.5.164.R01 GA, April 06, 2018.,
  Object ID:    1.3.6.1.4.1.6486.801.1.1.2.1.14.1.2,
  Up Time:      0 days 0 hours 4 minutes and 57 seconds,
  Contact:      Alcatel-Lucent, http://enterprise.alcatel-lucent.com,
  Name:         OS6560,
  Location:     Unknown,
  Services:     78,
  Date & Time:  WED JAN 01 2014 00:32:12 (UTC)
Flash Space:
    Primary CMM:
      Available (bytes):  1093488640,
      Comments         :  None

-> show configuration snapshot snmp 
! Trap Manager:
! SNMP:
snmp security no-security
snmp community-map mode enable
snmp community-map hash-key 2afb1c2035338a93 user "snmp" enable

-> no snmp community-map ?
                        ^
                        <string> <"string"> 
 (Miscellaneous Command Set)

-> show snmp community-map 
Community mode : enabled

status        community string                 user name
--------+--------------------------------+--------------------------------
enabled  public                           snmp

-> no snmp community-map public

-> show configuration snapshot snmp 
! Trap Manager:
! SNMP:
snmp security no-security
snmp community-map mode enable
snmp_community_loeschen.txt · Zuletzt geändert: 2024/06/09 10:29 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki