source reference stra reach poll now offset delay disper
**************************************************************************
[12345] 1.0.1.11 127.127.1.0 2 63 64 3 -75.5 31.0 16.5
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
Total associations : 1
Configuring NTP broadcast mode with authentication
Network requirements
As shown in Figure 28, Switch C functions as the NTP server for multiple devices on different network
segments and synchronizes the time among multiple devices as follows:
• Switch C’s local clock is to be used as a reference source, with the stratum level of 3.
• Switch C works in broadcast server mode and sends out broadcast messages from VLAN-interface
2.
• Switch D works in broadcast client mode and receives broadcast messages through VLAN-interface
2.
• NTP authentication is enabled on both Switch C and Switch D.
Figure 28 Network diagram for configuration of NTP broadcast mode with authentication
Vlan-int3
1.0.1.11/24
Vlan-int3
1.0.1.10/24
Vlan-int2
3.0.1.31/24
Vlan-int2
3.0.1.32/24
Vlan-int2
3.0.1.30/24
Switch A Switch B
Switch C
Switch D
Configuration procedure
1. Set the IP address for each interface as shown in Figure 28. (Details not shown)
2. Configuration on Switch C:
# Configure NTP authentication.
[SwitchC] ntp-service authentication enable
[SwitchC] ntp-service authentication-keyid 88 authentication-mode md5 123456
[SwitchC] ntp-service reliable authentication-keyid 88
# Specify Switch C as an NTP broadcast server, and specify an authentication key.
[SwitchC] interface vlan-interface 2
[SwitchC-Vlan-interface2] ntp-service broadcast-server authentication-keyid 88
3. Configuration on Switch D:
# Configure NTP authentication.
70