Télécharger Imprimer la page

Siemens SIMATIC NET SINEC OS V2.4 Manuel De Configuration page 609

Pour scalance xch-300, xcm-300, xrh-300 et xrm-300

Publicité

Opé‐
ration
4
5
6
7
8
Exemple
Dans cet exemple, une clé d'authentification digne de confiance est configurée avec l'ID de
clé 19 et la méthode d'authentification sha-1
localhost# config
localhost(config)# system time-sync ntp authentication key-id 19
localhost(config-authentication-keys-19)# algorithm sha-1
localhost(config-authentication-keys-19)# key a96f4dbb14fb73...
localhost(config-authentication-keys-19)# trusted
localhost(config-authentication-keys-19)# commit
localhost(config-authentication-keys-19)# end
localhost# show running-config system time-sync ntp authentication
key-id 19
system
time-sync
ntp
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Instruction
Configurez la clé symétrique d'authentifica‐
tion.
Les caractères autorisés dépendent de la mé‐
thode d'authentification.
Conditions pour MD5 :
Elle doit compter de 1 à 40 caractères
Avec 1 à 20 caractères, les caractères ASCII
suivants sont permis :
0x21, 0x22 et 0x24 à 0x7E.
Avec 21 à 40 caractères, les caractères AS‐
CII suivants sont permis :
0x30 à 0x39, 0x41 à 0x5A et 0x61 à 0x7A
Conditions pour SHA-1 et SHA-256 :
Doit compter exactement 40 caractères
Les caractères suivants sont autorisés :
0x30 à 0x39, 0x41 à 0x5A et 0x61 à 0x7A
Marquez la clé d'authentification comme di‐
gne de confiance.
Validez les modifications.
Quittez le mode de configuration.
Contrôlez la configuration.
authentication
key-id 19
algorithm sha-1
key
a96f4dbb14fb73...
exit
exit
Réglages de la date/heure
Commande
key { clé }
trusted
commit
end
show running-config system time-
sync ntp authentication key-id
{ ID de clé }
13.3 NTP
609

Publicité

loading