Cisco MDS:時鐘設置::NTP 伺服器/對等已設定。無法設定時鐘。若要設定時鐘,請移除 ntp 伺服器/對等組態。

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

嘗試使用時鐘設定命令設定時鐘日期/時間。

嘗試使用時鐘設定命令變更時鐘日期時出現錯誤,表示 NTP 組態已啟用:   
 
MDS9513(配置)# 時鐘設置 2019
年 6 月 24 日 11:20:00 時鐘設置::NTP 伺服器/對等已設定。無法設定 e clocthk。
若要設定時鐘,請移除 ntp 伺服器/對等組態。

NTP 功能已停用,但 NTP 組態仍在執行中:   
 
MDS9513(config)# show ntp status
NTP is has disabled

show running-config:

ntp distribute
ntp server 1.6.254.12
ntp server 1.6.255.12
ntp server 1.10.254.12 Prefer
NTP server 1.10.255.12
no feature ntp ntp
commit 

 

Cause

若要使用時鐘設定命令設定時鐘時間/日期,必須先移除所有 NTP 組態。

Resolution

若要手動設定時鐘日期和時間,請移除 NTP 組態 (必須啟用 NTP 才能移除它),然後設定時鐘,然後重新套用 NTP 組態。

目前組態:   
 
show running-config | inc ntp:

NTP 分發
NTP 伺服器 1.6.254.12
NTP 伺服器 1.6.255.12
NTP 伺服器 1.10.254.12 首選
NTP 伺服器 1.10.255.12
無功能 NTP
NTP 認可
 
  1. 啟用 NTP 功能 (如果已停用),並移除組態:   

設定功能 NTP
無 NTP 分發
無 NTP 伺服器 1.6.254.12
無 NTP 伺服器 1.6.255.12
無 NTP 伺服器 1.10.254.12 優先無
NTP 伺服器 1.10.255.12
NTP 認可 
  1. 停用 NTP 功能:  
無功能 NTP
  1. 使用時鐘設定命令設定適當的日期和時間:   

配置時鐘設置 2019年6月24日 11:20:00
  1. 時鐘日期時間正確後,請重新設定 NTP:   

設定功能 NTP
NTP 經銷
NTP 伺服器 1.6.254.12
NTP 伺服器 1.6.255.12
NTP 伺服器 1.10.254.12 偏好
NTP 伺服器 1.10.255.12
NTP 提交
結束複製 r s

Additional Information

請注意,使用 NTP distribute 命令時,NTP 認可會將 NTP 組態推送至合併在 NTP 的 CFS 中的其他交換器。此處不需要使用 NTP 發佈功能。

Affected Products

Connectrix MDS-Series Firmware

Products

Connectrix MDS-Series Firmware, Connectrix MDS-Series Hardware
Article Properties
Article Number: 000060255
Article Type: Solution
Last Modified: 27 May 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.