NTP 339
Perform the following configurations in system view.
Key number key-number ranges from 1 to 4294967295
Designating an Interface to Transmit the NTP Message
If the local equipment is configured to transmit all NTP messages, these packets
have the same source IP address, which is taken from the IP address of the
designated interface.
Perform the following configurations in system view.
An interface is specified by interface-name or interface-type interface-number. The
source address of the packets will be taken from the IP address of the interface. If
the ntp-service unicast-server or ntp-service unicast-peer command also
designates a transmitting interface, use the one designated by them.
Setting the NTP Master Clock
This configuration task sets the external reference clock or the local clock as the
NTP master clock.
Perform the following configurations in system view.
ip-address specifies the IP address 127.127.1.u of a reference clock, in which u
ranges from 0 to 3. stratum specifies how many strata the local clock belongs to
and ranges from 1 to 15. If no IP address is specified, the system defaults to
setting the local clock as the NTP master clock. You can specify the stratum
parameter.
Enabling or Disabling an Interface to Receive an NTP Message
This configuration task enables or disables an interface to receive the NTP
message.
Table 72 Setting the Specified Key as Reliable
Operation Command
Set the specified key as reliable ntp-service reliable authentication-keyid
key-number
Cancel the specified reliable key. undo ntp-service reliable
authentication-keyid key-number
Table 73 Designating an Interface to Transmit NTP Message
Operation Command
Designate an interface to transmit NTP
message
ntp-service source-interface {
interface-name | interface-type
interface-number }
Cancel the interface to transmit NTP message undo ntp-service source-interface
Table 74 Setting the External Reference Clock or the Local Clock as the NTP Master Clock
Operation Command
Set the external reference clock or the local
clock as the NTP master clock.
ntp-service refclock-master [ ip-address ] [
stratum ]
Cancel the NTP master clock settings undo ntp-service refclock-master [
ip-address ]