134
If you include the
vpn-instance vpn-instance-name
option in the
undo ntp-service unicast-server
command, the command removes the NTP server with the IP address of
ip-address
in the specified
VPN. If you do not include the
vpn-instance vpn-instance-name
option in the command, the
command removes the NTP server with the IP address of
ip-address
in the public network.
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
# Specifythe IPv6 NTP server 2001::1 for the device.
<Sysname> system-view
[Sysname] sntpipv6 unicast-server 2001::1
Related commands
sntpauthentication enable
sntp authentication-keyid
sntp reliable authentication-keyid
sntp reliable authentication-keyid
Use
sntpreliable authentication-keyid
to specify an authentication key as a trusted key.
Use
undo sntpreliable authentication-keyid
to remove the specified trusted key.
Syntax
sntpreliable authentication-keyidkeyid
undo sntpreliable authentication-keyidkeyid
Default
No trusted key is specified.
Views
System view
Predefined user roles
network-admin
Parameters
keyid
: Specifies an authentication key by its IDin the range of 1 to 4294967295.
Usage guidelines
If SNTP is enabled, the SNTP client is synchronized only 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.