API Guide
ntp server
Configures an NTP time-serving host.
Syntax
ntp server {hostname | ipv4-address | ipv6-address} [key keyid] [prefer]
Parameters
● hostname—Enter the hostname of the server.
● ipv4–address | ipv6–address—Enter the IPv4 address in A.B.C.D format or IPv6 address in
A::B format of the NTP server.
● key keyid—(Optional) Enter the NTP peer key ID, from 1 to 4294967295.
● prefer—(Optional) Configures this peer to have priority over other servers.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
You can configure multiple time-serving hosts. From these time-serving hosts, the system chooses one
NTP host to synchronize with. To determine which server to select, use the show ntp associations
command. Dell EMC recommends limiting the number of hosts you configure, as many polls to the NTP
hosts can impact network performance.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1
Example
OS10(config)# ntp server eureka.com
Supported
Releases
10.2.0E or later
ntp source
Configures an interface IP address to include in NTP packets.
Syntax
ntp source interface
Parameters interface—Set the interface type:
● ethernet node/slot/port[:subport]—Enter the Ethernet interface information.
● port-channel id-number—Enter the port-channel number, from 1 to 128.
● vlan vlan-id—Enter the VLAN number, from 1 to 4093.
● loopback loopback-id—Enter the Loopback interface number, from 0 to 16383.
● mgmt node/slot/port—Enter the Management port interface information.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command removes the configuration.
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, from 1 to 4294967295.
202 System management