46
•
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 not enabled.
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 for the device.
Views
System view
Predefined user roles
network-admin
Parameters
server-name
: Specifies the host name of the NTP server, a case-insensitive string of 1 to 253
characters.
ipv6-address
: Specifies the IPv6 address of the NTP server.
vpn-instance vpn-instance-name
: Specifies the MPLS L3VPN to which the NTP server belongs,
where
vpn-instance-name
is a case-sensitive string of 1 to 31 characters. If the NTP server is on the
public network, do not specify this option.