98
Usage guidelines
The DSCP value is included in the ToS field of an IPv4 packet to identify the packet priority.
Examples
# Set the DSCP value for IPv4 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 is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable the NTP service.
<Sysname> system-view
[Sysname] ntp-service enable
ntp-service inbound enable
Use ntp-service inbound enable to enable an interface to receive NTP messages.
Use undo ntp-service inbound enable to disable an interface from receiving NTP messages.
Syntax
ntp-service inbound enable
undo ntp-service inbound enable
Default
An interface receives NTP messages.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Execute the undo ntp-service inbound enable command on an interface in the following cases:
You do not want the interface to synchronize the peer device in the corresponding subnet.