Perform the
debugging
command in all views to debug the NTP information.
Table 4-15 Display and debug the NTP information
Operation
Command
Display the state information of the NTP
services
display ntp-service status
Display the sessions state of the NTP service
maintenance
display ntp-service sessions [ verbose ]
Display the brief information of the NTP time
servers that will be passed for tracing back to
the reference clock source from the local
device
display ntp-service trace [ X.X.X.X ]
Enable NTP debugging
debugging ntp-service
Parameter
interface-name
: Interface name. The IP address of the interface will be used as the
source IP address of the messages.
interface-type
: Interface type, which identifies an interface along with
interface-number
.
interface-number
: Interface number, which identifies an interface along with
interface-type
.
Description
Using the
ntp-service source-interface
command, you can specify a local interface
for NTP message transmission. Using the
undo ntp-service source-interface
command, you can remove the current setting.
Source address will be determined depending on the output interface.
Using this command, you can specify a source IP address to be carried by all the
transmitted NTP messages by specifying the interface. This command is useful in the
case that you do not want the IP addresses of any other local interfaces to be the
destination addresses for receiving the response messages except for the specified
one.
Example
Specify the interface Ethernet 0 so that its IP address can be used as the source IP
address carried by all the outbound NTP message packets.
[3Com]
ntp-service source-interface Ethernet 0
3Com Router Configuration Guide Addendum for V1.20
51