3Com 10014298 Setting the NTP Master Clock, Designating an Interface to Transmit NTP Message

Models: 10014298

1 294
Download 294 pages 41.59 Kb
Page 284
Image 284

284CHAPTER 11: SYSTEM MANAGEMENT

Perform the following configurations in system view.

Table 328 Designating an Interface to Transmit NTP Message

Operation

Command

 

 

Designate an interface to transmit NTP

ntp-service source-interface {

message

interface-name interface-type

 

interface-number }

Cancel the interface to transmit NTP message

undo ntp-service source-interface

 

 

An interface is specified by interface-nameor interface-typeinterface-number. The source address of the packets will be taken from the IP address of the interface. If the ntp-serviceunicast-serveror ntp-serviceunicast-peercommand 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.

Table 329 Setting the External Reference Clock or the Local Clock as the NTP Master

Clock

Operation

Command

 

 

Set the external reference clock or the local

ntp-service refclock-master [

clock as the NTP master clock.

ip-address ] [ stratum ]

Cancel the NTP master clock settings

undo ntp-service refclock-master

 

[ ip-address ]

 

 

ip-addressspecifies 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.

Perform the following configurations in VLAN interface view.

Table 330 Enabling or Disabling an Interface to Receive an NTP Message

Operation

Command

 

 

Enable an interface to receive an NTP message

undo ntp-service in-interface

 

disable

Disable an interface from receiving an NTP

ntp-service in-interface disable

message

 

 

 

This configuration task must be performed on the interface to be disabled from receiving an NTP message.

Page 284
Image 284
3Com 10014298 manual Setting the NTP Master Clock, Designating an Interface to Transmit NTP Message