Aktivieren Sie die Protokollerfassungsfunktion
Beitragende
Sie können die Protokollerfassungsfunktion aktivieren, mit der Switch-bezogene Protokolldateien in ONTAP erfasst werden.
Vergewissern Sie sich, dass die Umgebung mit der BES-53248 Cluster Switch-CLI eingerichtet wurde.
Für ONTAP 9.8 und höher
Aktivieren Sie die Protokollerfassungsfunktion mithilfe der Befehle:
system switch ethernet log setup-password
Und system switch ethernet log enable-collection
-
Geben Sie Ein:
system switch ethernet log setup-password
Beispiel anzeigen
cluster1::*> system switch ethernet log setup-password Enter the switch name: <return> The switch name entered is not recognized. Choose from the following list: cs1 cs2 cluster1::*> system switch ethernet log setup-password Enter the switch name: cs1 RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc Do you want to continue? {y|n}::[n] y Enter the password: <enter switch password> Enter the password again: <enter switch password> cluster1::*> system switch ethernet log setup-password Enter the switch name: cs2 RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1 Do you want to continue? {y|n}:: [n] y Enter the password: <enter switch password> Enter the password again: <enter switch password>
-
Geben Sie Ein:
system switch ethernet log enable-collection
Beispiel anzeigen
cluster1::*> system switch ethernet log enable-collection Do you want to enable cluster log collection for all nodes in the cluster? {y|n}: [n] y Enabling cluster switch log collection. cluster1::*>
Für ONTAP 9.5P15, 9.6P11, 9.7P8 und neuere Patch-Releases
Aktivieren Sie die Protokollerfassungsfunktion mithilfe der Befehle:
system cluster-switch log setup-password
Und system cluster-switch log enable-collection
-
Geben Sie Ein:
system cluster-switch log setup-password
Beispiel anzeigen
cluster1::*> system cluster-switch log setup-password Enter the switch name: <return> The switch name entered is not recognized. Choose from the following list: cs1 cs2 cluster1::*> system cluster-switch log setup-password Enter the switch name: cs1 RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc Do you want to continue? {y|n}::[n] y Enter the password: <enter switch password> Enter the password again: <enter switch password> cluster1::*> system cluster-switch log setup-password Enter the switch name: cs2 RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1 Do you want to continue? {y|n}:: [n] y Enter the password: <enter switch password> Enter the password again: <enter switch password>
-
Geben Sie Ein:
system cluster-switch log enable-collection
Beispiel anzeigen
cluster1::*> system cluster-switch log enable-collection Do you want to enable cluster log collection for all nodes in the cluster? {y|n}: [n] y Enabling cluster switch log collection.
|
Der Befehl zum Erfassen von Protokollen ist derzeit nicht verfügbar. Siehe "Bug 1225042" Entnehmen. |
|
Wenn einer dieser Befehle einen Fehler sendet, wenden Sie sich an den NetApp Support. |
Wenn Sie den Switch aktualisieren, gehen Sie zu "Upgrade-Konfiguration überprüfen".