Configuring the NTP Time Server and Time Services (QFabric System)
To configure the external time server using the CLI:
- Configure the IP address of the external time server.
[edit system ntp] user@switch# set server address
For example, to set an IP address of 10.1.1.1 for your external time server:
user@switch# set server 10.1.1.1
- (Optional) Configure the key number to encrypt authentication
fields in packets that are sent to the external time server.
[edit system ntp] user@switch# set server address key key-number
For example, to set a key number of 1:
user@switch# set server address key
- (Optional) Specify the external time server as a preferred
host. Doing this enables the switch to synchronize with the external
time server.Note:
The switch can synchronize with the external time server, but the external time server cannot synchronize with the switch.
[edit system ntp] user@switch# set server address prefer
- (Optional) Specify the NTP version number to be used in
outgoing NTP packets.
user@switch# set server address version
For example, to specify version 3:
user@switch# set server address version 3