ntp-server A.B.C.D

Use this command to specify an NTP server in the IPv4 DHCPClosed Dynamic Host Configuration Protocol server pool. Multiple NTP servers can be added to the pool.

Use the no form of this command to delete an NTP server from the IPv4 DHCP server pool.

Command Syntax

Copy
ntp-server A.B.C.D
no ntp-server A.B.C.D

Parameters

A.B.C.D

NTP IPv4 server address

Default

None

Command Mode

DHCP configure mode

Applicability

This command was introduced in OcNOS version 6.1.0.

Examples

Copy
#configure terminal
(config)#ip dhcp server pool test-pool
(dhcp-config)#ntp-server 10.12.43.97
 
#configure terminal
(config)#ip vrf vrf1 
(config-vrf)#ip dhcp server pool test-pool
(dhcp-config)#ntp-server 10.12.43.97