Switch 7700 Configuration Guide, v2

NTP 41
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 is 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.t.u of a reference clock, in which t
ranges from 0 to 37 and 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/Disabling an Interface to Receive the NTP Message
This configuration task is enables or disables an interface to receive the NTP
message.
Perform the following configurations in VLAN interface view.
This configuration task must be performed on the interface to be disabled to
receive NTP message.
Setting Authority to Access a Local Switch
Set authority to access the NTP services on a local switch. This is a basic and brief
security measure, compared to authentication. An access request will be matched
Table 74 Designate 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 75 Set 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 ]
Table 76 Enable/Disable an Interface to Receive NTP Message
Operation Command
Disable an interface to receive NTP message ntp-service in-interface disable
Enable an interface to receive NTP message undo ntp-service in-interface disable