Connectrix : MDS: La commande Show Users affiche une date et une heure incorrectes 1er janvier 08:00 uniquement

Riepilogo: La commande Show Users fournit des informations sur les utilisateurs connectés au système. Cet article explique un problème dans lequel la date et l’heure sont affichées de manière incorrecte. ...

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

Le commutateur fonctionne sous NX-OS 9.4.1a.

La sortie de la commande users affiche un horodatage incorrect, comme indiqué ci-dessous :
[Model 9132T on NX-OS 9.4.1a]                    
===================
 
MDS9132T-s1fA-sw3# show version 
  system:    version 9.4(1a)                         <<<<<<<<<<<<<<<<<<< 9.4.1a
  system image file is:    bootflash:///m9100-s6ek9-mz.9.4.1a.bin
  system compile time:     12/25/2023 12:00:00 [01/12/2024 10:45:51]
  Reason: Reload due to non-disruptive system reload
 
MDS9132T-s1fA-sw3# sh clock
Time source is Hardware Calendar
09:55:11.833 IST Sat Jun 15 2024
 
MDS9132T-s1fA-sw3# show users
NAME     LINE         TIME         IDLE          PID COMMENT
admin    pts/0        Jan  1 05:30   .         16852 session=ssh *      <<<<<<<<<<<< Jan 1 05:30

Causa

Cela est dû à un CSCWK43183 d’ID de défaut Cisco affectant NX-OS 9.4.1a.

Risoluzione

Dans la version 9.4(1a) de NX-OS, la sortie du fichier show users affiche de manière cohérente le 1er janvier, ainsi que le décalage horaire par rapport à UTC en fonction du fuseau horaire configuré.

Étant donné que l' show users affiche un horodatage incorrect, l’attribut show accounting log Peut être vérifié pour l’horodatage de connexion le plus récent de l’utilisateur administrateur.

Contournement:
When a user logs in to the switch on SSH, accounting log records the login of the user as below:
<timestamp> :type=start:id=10.138.65.80@pts/1:user=admin:cmd=
 
When a user logs into the switch on console, accounting log records the login of the user as below:
<timestamp> :type=start:id=console0:user=admin:cmd=
 
To view the last logged in time for a user named "admin", run the below command:
 # show accounting log | grep "start.*admin" | tail lines 1

Difficulté:
Effectuez une mise à niveau vers la version NX-OS 9.4.2.
DS9132T-s1fA-sw3# show version | grep sys
  system:    version 9.4(2)                     <<<<<<<<<<<<<<<<<<<<< 9.4.2
  system image file is:    bootflash:///m9100-s6ek9-mz.9.4.2.bin
  system compile time:     4/25/2024 12:00:00 [05/10/2024 03:55:39]
 
MDS9132T-s1fA-sw3# sh users
NAME     LINE         TIME         IDLE          PID COMMENT
admin    pts/0        Jun 15 10:16   .          6362 (10.1xx.x5.1x5) session=ssh *   >>>> showing correct timings
 
After downgrading the switch from version 9.4.1a to 9.3.2a, the timestamps displayed by the 'show users' command are now correct.

BIOS compile time:       05/16/2023
  kickstart image file is: bootflash:///m9300-s1ek9-kickstart-mz.9.3.2a.bin   <<<<
  kickstart compile time:  4/25/2023 12:00:00 [05/13/2023 03:09:36]
  system image file is:    bootflash:///m9300-s1ek9-mz.9.3.2a.bin
  system compile time:     4/25/2023 12:00:00 [05/13/2023 04:28:40]
 
MDS9396S-s1fB-SW1# show users
NAME     LINE         TIME         IDLE          PID COMMENT
admin    pts/0        Jun 15 15:41   .          4855 (10.1xx.2xx.x8) session=ssh *  <<<< show users displaying the correct time.
 
MDS9396S-s1fB-SW1# show clock
Time source is NTP
15:42:36.016 ist Sat Jun 15 2024
 
Note:
Avant d’effectuer une mise à niveau vers la version 9.4.2, vérifiez si TACACS est utilisé comme protocole d’authentification dans vos commutateurs.
  • Si oui, le défaut Cisco CSCWK14579 peut entraîner des échecs d’authentification après la mise à niveau vers la version 9.4.2. Par conséquent, désactivez TACACS et effectuez la mise à niveau du firmware. Activez ensuite la configuration TACACS.
  • Si les commutateurs n’utilisent pas TACACS pour l’authentification, vous pouvez effectuer une mise à niveau vers la version 9.4(2) sans aucun problème.

Prodotti

VxBlock and Vblock Systems
Proprietà dell'articolo
Numero articolo: 000226156
Tipo di articolo: Solution
Ultima modifica: 01 gen 2026
Versione:  3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.