Sntp Unicast-Server - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Syntax
sntp reliable authentication-keyid keyid
undo sntp reliable authentication-keyid keyid
Default
No trust key is specified.
Views
System view
Predefined user roles
network-admin
Parameters
keyid: Specifies an authentication key number in the range of 1 to 4294967295.
Usage guidelines
If SNTP is enabled, the SNTP client is only synchronized to an NTP server that provides a trusted key.
Before you use the command, make sure SNTP authentication is enabled and an authentication key is
configured. The key automatically changes to untrusted after you delete the key. In this case, you do not
need to execute the undo sntp-service reliable authentication-keyid command.
Examples
# Enable NTP authentication, and specify the MD5 encryption algorithm, with the key ID of 37 and key
value of BetterKey.
<Sysname> system-view
[Sysname] sntp authentication enable
[Sysname] sntp authentication-keyid 37 authentication-mode md5 BetterKey
# Specify this key as a trusted key.
[Sysname] sntp reliable authentication-keyid 37
Related commands
sntp authentication-keyid
sntp authentication enable

sntp unicast-server

Use sntp unicast-server to specify an NTP server for the device.
Use undo sntp unicast-server to remove the NTP server.
Syntax
sntp
unicast-server
[ authentication-keyid keyid | source interface-type interface-number | version number ] *
undo sntp unicast-server { ip-address | server-name } [ vpn-instance vpn-instance-name ]
Default
No NTP server is specified for the device.
{
ip-address
|
server-name
52
}
[
vpn-instance
vpn-instance-name
]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents