Displaying and maintaining sntp, Sntp configuration example, Network requirements – H3C Technologies H3C MSR 5600 User Manual
Page 118: Configuration procedure
105
Step Command
Remarks
5.
Associate the SNTP
authentication key with the
specific NTP server.
•
For IPv4:
sntp unicast-server { ip-address
| server-name } [ vpn-instance
vpn-instance-name ]
authentication-keyid keyid
•
For IPv6:
sntp ipv6 unicast-server
{ ipv6-address | server-name }
[ vpn-instance
vpn-instance-name ]
authentication-keyid keyid
By default, no NTP server is
specified.
Displaying and maintaining SNTP
Execute display commands in any view.
Task Command
Display information about all SNTP associations.
display sntp sessions
Display information about all IPv6 SNTP associations.
display sntp ipv6 sessions
SNTP configuration example
Network requirements
Configure the local clock of Device A as a reference source, with the stratum level 2. Configure Device B
to operate in SNTP client mode, and specify Device A as the NTP server. Configure NTP authentication
on Device A and SNTP authentication on Device B.
Figure 40 Network diagram
Configuration procedure
1.
Set the IP address for each interface as shown in
. (Details not shown.)
2.
Configure Device A:
# Enable the NTP service.
[DeviceA] ntp-service enable
# Configure the local clock of Device A as a reference source, with the stratum level 2.
[DeviceA] ntp-service refclock-master 2
# Enable NTP authentication on Device A.
[DeviceA] ntp-service authentication enable