110
Parameters
dscp-value
: Sets a DSCP value in the range of 0 to 63 for IPv4 NTP packets.
Usage guidelines
The DSCP value is included in the ToS fieldof an IPv4 packet to identify the packet priority.
Examples
# Set the DSCP value forIPv4 NTP packets to
30
.
<Sysname> system-view
[Sysname] ntp-service dscp 30
ntp-service enable
Use
ntp-service enable
to enable the NTP service.
Use
undo ntp-service enable
to disable the NTP service.
Syntax
ntp-service enable
undo ntp-service enable
Default
The NTP service isdisabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the NTP service.
<Sysname> system-view
[Sysname] ntp-service enable
ntp-service inboundenable
Use
ntp-service inboundenable
to enablean interfacetoreceive NTP messages.
Use
undontp-service inboundenable
to disable an interface from receiving NTP messages.
Syntax
ntp-service inboundenable
undo ntp-service inboundenable
Default
An interface receivesNTP messages.