R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

52
If the specified IPv6 address of the NTP server is a link local address, you must specify the source
interface for NTP messages and cannot specify a VPN for the NTP server.
Examples
# Specify the IPv6 NTP server 2001::1 for the device.
<Sysname> system-view
[Sysname] sntp ipv6 unicast-server 2001::1
Related commands
sntp authentication enable
sntp authentication-keyid
sntp reliable authentication-keyid
sntp reliable authentication-keyid
Use sntp reliable authentication-keyid to specify the created authentication key as a trusted key.
Use undo sntp reliable authentication-keyid to remove the specified trusted key.
Syntax
sntp reliable authentication-keyid keyid
undo sntp reliable authentication-keyid keyid
Default
No trust key is specified.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
keyid: Specifies an authentication key number in the range of 1 to 4294967295.
Usage guidelines
If SNTP is enabled, the SNTP client is only synchronized to an NTP server that provides a trusted key.
Before you use the command, make sure SNTP authentication is enabled and an authentication key is
configured. The key automatically changes to untrusted after you delete the key. In this case, you do not
need to execute the undo sntp-service reliable authentication-keyid command.
Examples
# Enable NTP authentication, and specify the MD5 encryption algorithm, with the key ID of 37 and key
value of BetterKey.
<Sysname> system-view
[Sysname] sntp authentication enable
[Sysname] sntp authentication-keyid 37 authentication-mode md5 BetterKey
# Specify this key as a trusted key.
[Sysname] sntp reliable authentication-keyid 37