No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
add ntp_server general

add ntp_server general

Function

The add ntp_server general command is used to add an NTP server for time synchronization.

Format

add ntp_server general server=?

Parameters

Parameter

Description

Value

server=? NTP server address.

The value can be a domain name or IP address (IPv4 or IPv6). The domain name consists of 1 to 63 case-insensitive letters, digits, and hyphens (-). Domain names at various levels are separated by periods (.) and cannot start or end with a hyphen (-). The top-level domain name cannot contain digits only.

Level

Super administrator

Usage Guidelines

  • Two NTP servers can be configured for a system. Ensure that the time of the two NTP servers is consistent. If one server fails, you can synchronize the time from the other server to the faulty one.
  • If the time of the two servers is inconsistent, system time-hopping may occur, adversely affecting functions related to user management, alarms, and licenses.

Example

Adding the server whose IP address is 192.168.1.2 as a time synchronization server.

admin:/>add ntp_server general server=192.168.1.2
WARNING: You are about to add the NTP server. This operation may make the time synchronization function malfunction if an NTP server already exists in the system and the time of the two NTP servers is different.
Suggestion: If an NTP server already exists in the system, ensure that the time of the two NTP servers is the same.
Have you read warning message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 367005

Downloads: 1594

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next