Dell Networking OS9: Logboekregistratie op een switch instellen en beheren

Summary: In dit artikel wordt beschreven hoe u basisaanmelding configureert op een Dell switch met OS9.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Inhoudsopgave

  1. Overzicht
  2. Logging inschakelen
  3. Logging uitschakelen
  4. Logging-instellingen wijzigen
  5. Logbestanden verifiëren en weergeven


Overzicht

Het Dell Networking besturingssysteem houdt wijzigingen in het systeem bij met behulp van gebeurtenis- en foutmeldingen.
Standaard registreert Dell Networking OS deze berichten op:

  • De interne buffer
  • Console- en terminallijnen
  • Alle geconfigureerde syslog-servers


Logging inschakelen

Registreer berichten in de interne buffer:
 
Alle foutmeldingen, behalve die welke beginnen met %BOOTUP (Message), worden gelogd in de interne buffer.
Bijvoorbeeld:
%BOOTUP:RPM0:CP %PORTPIPE-INIT-SUCCESS: Portpipe 0 enabled

Om systeemberichten naar een opgegeven syslog-server te sturen, gebruikt u de volgende opdracht.
 
Opdracht Parameters
console# configure De configuratiemodus activeren.
console(conf)# logging 192.168.1.1
 
Stel het IP-adres of de hostnaam van de externe syslog-server in om logboekuitvoer te verzenden, inclusief optionele bronpoortaanduiding.

U kunt maximaal acht syslog-servers configureren.
 

Logging uitschakelen

Opdracht Parameters
console# configure De configuratiemodus activeren.
console(conf)# no logging on Alle logging inschakelen behalve naar de console.
console(conf)# no logging buffer Logging naar de loggingbuffer uitschakelen.
console(conf)# no logging monitor Logging naar terminallijnen uitschakelen.
console(conf)# no logging console  Console-logging uitschakelen.
 

Logging-instellingen wijzigen

U kunt de standaardinstellingen van systeemlogging wijzigen door het prioriteitsniveau en de opslaglocatie te wijzigen.
De standaardinstelling is dat alle berichten tot foutopsporingsniveau, dat wil zeggen alle systeemmeldingen, worden geregistreerd. Door het prioriteitsniveau in de logging-opdrachten te wijzigen, kunt u zelf bepalen hoeveel systeemberichten er worden geregistreerd.

 OPMERKING: Om de uitvoer van foutopsporing correct te loggen naar de syslog-server, moet u een trap inschakelen met het prioriteitsniveau 7 voor foutopsporing. Zelfs als het is ingesteld op gebufferd, wordt het nog steeds niet naar de syslog-server verzonden, tenzij een trap correct is ingeschakeld.
 
Opdracht Parameters
console# configure De configuratiemodus activeren.
console(conf)# logging buffered <0-7> Stel het prioriteitsniveau voor logboekregistratie voor de buffer in. (standaard = 7)
alerts                  Immediate action needed           (severity=1)
critical                Critical conditions               (severity=2)
debugging               Debugging messages                (severity=7)
emergencies             System is unusable                (severity=0)
errors                  Error conditions                  (severity=3)
informational           Informational messages            (severity=6)
notifications           Normal but significant conditions (severity=5)
warnings                Warning conditions                (severity=4)
console(conf)# logging console <0-7> Stel de ernst van het logboekregistratieniveau voor de console in. (standaard = 7)
alerts                  Immediate action needed           (severity=1)
critical                Critical conditions               (severity=2)
debugging               Debugging messages                (severity=7)
emergencies             System is unusable                (severity=0)
errors                  Error conditions                  (severity=3)
informational           Informational messages            (severity=6)
notifications           Normal but significant conditions (severity=5)
warnings                Warning conditions                (severity=4)
console(conf)# logging monitor <0-7> Stel de ernst van het logboekregistratieniveau voor de monitor in. (standaard = 7)
alerts                  Immediate action needed           (severity=1)
critical                Critical conditions               (severity=2)
debugging               Debugging messages                (severity=7)
emergencies             System is unusable                (severity=0)
errors                  Error conditions                  (severity=3)
informational           Informational messages            (severity=6)
notifications           Normal but significant conditions (severity=5)
warnings                Warning conditions                (severity=4)
console(conf)# logging trap <0-7> Stel de prioriteit van het loggingsniveau in voor de trappen. (standaard = 6)
alerts                  Immediate action needed           (severity=1)
critical                Critical conditions               (severity=2)
debugging               Debugging messages                (severity=7)
emergencies             System is unusable                (severity=0)
errors                  Error conditions                  (severity=3)
informational           Informational messages            (severity=6)
notifications           Normal but significant conditions (severity=5)
warnings                Warning conditions                (severity=4)
console(conf)# logging history <0-7> Stel de ernst van het logboekregistratieniveau in voor de geschiedenis. (standaard = 4)
alerts                  Immediate action needed           (severity=1)
critical                Critical conditions               (severity=2)
debugging               Debugging messages                (severity=7)
emergencies             System is unusable                (severity=0)
errors                  Error conditions                  (severity=3)
informational           Informational messages            (severity=6)
notifications           Normal but significant conditions (severity=5)
size                    Set history table size
warnings                Warning conditions                (severity=4)
console(conf)# logging buffered <40960-524288> Stel grootte logging-buffer in (standaard = 40960)
console(conf)# logging history size <0-500> Hiermee kunt u de grootte van de logboekregistratie instellen.  (standaard = 1)
console(conf)# service timestamps log datetime localtime Stel de tijdstempel zo in dat deze overeenkomt met de tijd en tijdzone die op de switch zijn geconfigureerd. 
Opmerking: Na 9.14.1.5 firmware, is dit de standaardconfiguratie. Vóór 9.14.1.5 is de tijdstempel in UTC, tenzij geconfigureerd met deze opdracht.  

 

Logboeken controleren en weergeven

Om de huidige inhoud van de logging-buffer en de logging-instellingen voor het systeem weer te geven, gebruikt u de optie logging-opdracht in de EXEC-privilegemodus weergeven. 
 
console# show logging
syslog logging: enabled
Console logging: level Debugging
Monitor logging: level Debugging
Buffer logging: level Debugging, 40 Messages Logged, Size (40960 bytes)
Trap logging: level Informational
%IRC-6-IRC_COMMUP: Link to peer RPM is up
%RAM-6-RAM_TASK: RPM1 is transitioning to Primary RPM.
%RPM-2-MSG:CP1 %POLLMGR-2-MMC_STATE: External flash disk missing in 'slot0:
'%CHMGR-5-CARDDETECTED: Line card 0 present%CHMGR-5-CARDDETECTED: Line card 2 present
%CHMGR-5-CARDDETECTED: Line card 4 present
%CHMGR-5-CARDDETECTED: Line card 5 present
%CHMGR-5-CARDDETECTED: Line card 8 present
%CHMGR-5-CARDDETECTED: Line card 10 present
%CHMGR-5-CARDDETECTED: Line card 12 present
%TSM-6-SFM_DISCOVERY: Found SFM 0
%TSM-6-SFM_DISCOVERY: Found SFM 1
%TSM-6-SFM_DISCOVERY: Found SFM 2
%TSM-6-SFM_DISCOVERY: Found SFM 3
%TSM-6-SFM_DISCOVERY: Found SFM 4%

 

Affected Products

Force10 S25N-S50N, Force10 S25-01-GE-24P, Force10 S25-01-GE-24T, Force10 S25-01-GE-24V, Force10 S50-01-GE-48T, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, PowerSwitch S4820T, PowerSwitch S5000, Force10 S50P , Force10 S55T, Force10 S60-44T, PowerSwitch S6000, PowerSwitch S6000 ON, Force10 Z9000, Dell Networking Z9500, PowerSwitch S4048T-ON, PowerSwitch S5048F-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON ...
Article Properties
Article Number: 000102563
Article Type: How To
Last Modified: 05 Jun 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.