Connectivity Guide
Example
OS10(config)# ntp source ethernet 1/1/24
Supported Releases 10.2.0E or later
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 | vrf vrf-name}]
Parameters
• management — Enter the keyword to display NTP information corresponding to the management VRF
instance.
• vrf vrf-name — Enter the keyword then the name of the VRF to display NTP information corresponding
to that non-default VRF instance.
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 reference clock.
• st — Peer stratum, the 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.
128 System management