Ntp-Service Reliable Authentication-Keyid - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Description
Use the ntp-service multicast-server command to configure an Ethernet switch to operate in the NTP
multicast server mode and send NTP multicast messages through the current interface.
Use the undo ntp-service multicast-server command to remove the configuration.
By default, no NTP operate mode is configured.
Example
# Configure the switch to send NTP multicast messages through Vlan-interface1, and set the multicast
group address to 224.0.1.2, keyid to 4, and the NTP version number to 2.
<Sysname>
system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1]ntp-service multicast-server 224.0.1.2
authentication-keyid 4 version 2

ntp-service reliable authentication-keyid

Syntax
ntp-service reliable authentication-keyid key-id
undo ntp-service reliable authentication-keyid key-id
View
System view
Parameter
key-id: Authentication key ID, in the range of 1 to 4294967295.
Description
Use the ntp-service reliable authentication-keyid command to specify an authentication key as a
trusted key.
Use the undo ntp-service reliable authentication-keyid command to remove the configuration.
By default, no trusted key is configured.
When NTP authentication is enabled, a client can be synchronized only to a server that can provide a
trusted authentication key.
Related commands: ntp-service authentication-keyid.
Example
# Enable NTP authentication. The encryption algorithm is MD5, the key ID is 37, and the trusted key is
abc.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ntp-service authentication enable
[Sysname] ntp-service authentication-keyid 37 authentication-mode md5 abc
# Specify this key as a trusted key.
[Sysname] ntp-service reliable authentication-keyid 37
1-10

Advertisement

Table of Contents
loading

Table of Contents