Configuring Network Time Protocol (NTP) Configuring NTP
OmniSwitch AOS Release 6 Switch Management Guide July 2010 page 4-11
Setting the Version Number
There are currently four versions of NTP available (numbered one through four). The version that the NTP
server uses must be specified on the client side.
To specify the NTP version on the server from which the switch receives updates, use the ntp server
command with the server IP address (or domain name), version keyword, and version number, as shown:
-> ntp server 1.1.1.1 version 3
The default setting is version 4.
Marking a Server as Preferred
If a client receives timestamp updates from more than one server, it is possible to mark one of the servers
as the preferred server. A preferred server’s timestamp will be used before another unpreferred server
timestamp.
To specify an NTP as preferred, use the ntp server command with the server IP address (or domain name)
and the prefer keyword, as shown:
-> ntp server 1.1.1.1 prefer
Configuring the OmniSwitch as an NTP Server
By default the OmniSwitch will act as an NTP server and be able to respond to NTP client requests, and
establish a client/server peering relationship. The OmniSwitch NTP server functionality also allows the
OmniSwitch to establish an active peering relationship with another server, enable broadcast server func-
tionality, disable a given IP for NTP and employ MD5 authentication for clients and active peers.
Configuring an NTP Server Peer
The OmniSwitch can be configured as a peer with another NTP server in the network. To configure an
active peering session with another NTP server use the ntp peer command as shown:
-> ntp peer 198.206.181.170
Setting the NTP Server to Broadcast Mode
The NTP server can be configured to broadcast synchronized information to all the clients in a subnet. To
set an OmniSwitch to operate in the broadcast mode, use the ntp broadcast command as shown:
-> ntp broadcast 198.206.181.255
Disabling NTP on an Interface
By default the OmniSwitch will respond to NTP requests received on any IP interfaces. To disable the
NTP capability on an interface use the ntp interface as shown:
-> ntp interface 198.206.182.100 disable