Connectrix: MDS: show users 명령이 잘못된 날짜 및 시간을 표시함 Jan 1 08:00만
Summary: 사용자 표시 명령은 시스템에 로그인한 사용자에 대한 정보를 제공합니다. 이 문서에서는 날짜 및 시간이 잘못 표시되는 문제에 대해 설명합니다.
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.
Symptoms
스위치가 NX-OS 9.4.1a에서 실행 중입니다.
사용자 명령 출력에 아래와 같이 잘못된 타임스탬프가 표시됩니다.
사용자 명령 출력에 아래와 같이 잘못된 타임스탬프가 표시됩니다.
[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
Cause
이는 NX-OS 9.4.1a에 영향을 미치는 Cisco 결함 ID CSCWK43183 때문입니다.
Resolution
NX-OS 버전 9.4(1a)에서
이후
해결 방법:
수리하다:
NX-OS 9.4.2 버전으로 업그레이드합니다.
show users 명령은 구성된 시간대를 기준으로 UTC로부터의 시간 오프셋과 함께 1월 1일을 일관되게 표시합니다.
이후
show users 출력에 잘못된 타임스탬프가 표시되면 show accounting log 관리자의 최근 로그인 타임스탬프를 확인할 수 있습니다.
해결 방법:
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
수리하다:
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
메모:
9.4.2로 업그레이드하기 전에 TACACS가 스위치에서 인증 프로토콜로 사용되는지 확인합니다.
9.4.2로 업그레이드하기 전에 TACACS가 스위치에서 인증 프로토콜로 사용되는지 확인합니다.
- 그렇다면 Cisco 결함 CSCWK14579로 인해 9.4.2로 업그레이드한 후 인증 오류가 발생할 수 있습니다. 따라서 TACACS를 비활성화하고 펌웨어 업그레이드를 수행합니다. 그런 다음 TACACS 컨피그레이션을 활성화합니다.
- 스위치가 인증에 TACACS를 사용하지 않는 경우 문제 없이 9.4(2)로 업그레이드할 수 있습니다.
Article Properties
Article Number: 000226156
Article Type: Solution
Last Modified: 19 May 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.