Uploading the NTP Group Key (ntp -d groupkey)
Function
The ntp -d groupkey command is used to upload the NTP group key to the iBMC. The NTP group key is used in identity authentication for communication between the iBMC and the NTP server.
Format
ipmcset -t ntp -d groupkey -v filepath
Parameters
Parameter |
Description |
Value |
---|---|---|
filepath |
Specifies the file that contains the group key. |
In the /file path/file name format. For example, /tmp/ntp.keys. |
Usage Guidelines
Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the key file to the specified directory (for example /tmp) of the iBMC file system.
- Only the key files generated by using the SHA256 algorithm can be uploaded.
- For security purposes, periodically update the key.
Example
# Upload the NTP group key to the iBMC.
iBMC:/->ipmcset -t ntp -d groupkey -v /tmp/ntp.keys
Set NTP group key (/tmp/ntp.keys) successfully.
# Query NTP information.
iBMC:/->ipmcget -d ntpinfo
Status : enabled
Mode : manual
Preferred Server : dhcp1.com
Alternative Server : fc00::1234
Extra Server : 192.168.2.2
Synchronize : successful
Auth Enable : enabled
Group Key : imported