Reference Guide
ntp trusted-key
Sets a key to authenticate the system to which NTP synchronizes with.
Syntax
ntp trusted-key number
Parameters number — Enter the trusted key ID (1 to 4294967295).
Default Not congured
Command Mode CONFIGURATION
Usage Information The number parameter must be the same number as the number parameter in the ntp authentication-
key command. If you change the ntp authentication-key command, you must also change this command.
The
no version of this command removes the key.
Example
OS10(config)# ntp trusted-key 234567
Supported Releases 10.2.0E or later
show ntp associations
Displays the NTP master and peers.
Syntax
show ntp associations [vrf management]
Parameters None
Default Not congured
Command Mode EXEC
Usage Information
• (none) — One or more of the following symbols displays:
– * — Synchronized to this peer.
– # — Almost synchronized to this peer.
– + — Peer was selected for possible synchronization.
– - — Peer is a candidate for selection.
– ~ — Peer is statically congured.
• remote — Remote IP address of the NTP peer.
• ref clock — IP address of the remote peer’s reference clock.
• st — Peer stratum (number of hops away from the external time source). 16 means that the NTP peer
cannot reach the time source.
• when — Last time the device received an NTP packet.
• poll — Polling interval (in seconds).
• reach — Reachability to the peer (in octal bitstream).
• delay — Time interval or delay for a packet to complete a round-trip to the NTP time source (in
milliseconds).
• offset — Relative time of the NTP peer’s clock to the network device clock (in milliseconds).
• disp — Dispersion.
Example
OS10# show ntp associations
remote ref clock st when poll reach delay offset disp
=============================================================
10.10.120.5 0.0.0.0 16 - 256 0 0.00 0.000 16000.0
System management 451