Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure NTP in Ruijie Switch? Reply

GTAC-Sophia

Level 4

Ruijie Staff

How to configure NTP in Ruijie Switch?
812 0 2023-7-14 10:32:57
Original

ConfigurationTips
1. Basic network routes setting
2. (Optional) Configuring a switch as NTP Server
3. Configuring a switch as NTP client
4. (Optional) Specifying an interface on switch to communicate with NTP Server
Configuration Steps
NTP configuration without authentication
1. Basic network routes setting
Ensure that NTP client can communicate with the NTPserver
2. (Optional)Configuring a switch as NTP Server
Note
Mostly, the NTP server is a particular server rather than a switch in production network. This example shows how to configure a switch as an NTP server:
Ruijie(config)#ntp master
3. Configuring a switch as NTP client
Ruijie(config)#ntp server 192.168.2.1 ------>set NTP server IP address
Ruijie(config)#ntp update-calendar ------>allow system to save clock in hardware even power interruption
4. (Optional)Specifying an interface on switch to communicate with NTP Server
Ruijie(config)#ntp server 192.168.1.2 source loopback 0 ------> specify interface loopback 0 to communicate with NTP Server
NTP configuration with authentication
1. Basic network routes setting
Ensure that NTP client can communicate with the NTP server
2. (Optional) Configuring a switch as NTP Server
Note
Mostly, the NTP server is a particular server rather than a switch in production network. This example shows how to configure a switch as a NTP server and how to configure NTP authentication on a switch NTP Server
Ruijie(config)#ntp master
Ruijie(config)#ntp authenticate ------>enableNTP authentication
Ruijie(config)#ntp authentication-key 6 md5 ruijie------>NTP key id is "6" , and password is "ruijie"Ruijie(config)#ntp trusted-key 6
3.Configuringa switch as an NTP client
Ruijie(config)#ntp update-calendar ------>allowsystem to save clock in hardware even power interruption Ruijie(config)#ntpauthenticate ------>enable NTP authentication
Ruijie(config)#ntp authentication-key 6 md5 ruijie------>NTP key id is "6" , and password is "ruijie"Ruijie(config)#ntp trusted-key 6
Ruijie(config)#ntp server 192.168.2.1 key 6------>apply key id 6 to corresponding NTP server 192.168.2.1
4.(Optional)Specifying an interface on switch to communicate with NTP Server
Ruijie(config)#ntp server 192.168.1.2 sourceloopback 0 ------>specify interface loopback 0 to communicate with NTP Server
RG-S5310-24SFP4XS-E

Configuration Switch
There are no replies.
Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd