117
key. In this case, you do not need to execute the undo sntp-service reliable authentication-keyid
command.
You can set a maximum of 128 keys by executing the command.
Examples
# Set an MD5 authentication key, with the key ID of 10 and key value of BetterKey. Input the key in
plain text.
<Sysname> system-view
[Sysname] sntp authentication enable
[Sysname]sntp authentication-keyid 10 authentication-mode md5 simple BetterKey
Related commands
sntp authentication enable
sntp reliable authentication-keyid
sntp enable
Use sntp enable to enable the SNTP service.
Use undo sntp enable to disable the SNTP service.
Syntax
Sntp enable
undo sntp enable
Default
The SNTP service is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the SNTP service.
<Sysname> system-view
[Sysname]sntp enable
sntp ipv6 unicast-server
Use sntp ipv6 unicast-server to specify an IPv6 NTP server for the device.
Use undo sntp ipv6 unicast-server to remove the IPv6 NTP server specified for the device.
Syntax
sntp ipv6 unicast-server { server-name | ipv6-address } [ vpn-instance vpn-instance-name ]
[ authentication-keyid keyid | source interface-type interface-number ] *
undo sntp ipv6 unicast-server { server-name | ipv6-address } [ vpn-instance vpn-instance-name ]
Default
No IPv6 NTP server is specified.