3com 4500 PWR 26-PORT User Manual

Page of 466
NTP Configuration Commands
413
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. If authentication is enabled, a client can only 
be synchronized to a server that can provide a trusted key. 
Use the 
undo ntp-service reliable authentication-keyid 
command to 
remove the configuration.
By default, no trusted authentication key is configured.
Example
Enable NTP authentication. The encryption algorithm is MD5, the key ID is 37, and 
the trusted key is 
BetterKey
.
<SW4500> system-view
System View: return to User View with Ctrl+Z. 
[SW4500] ntp-service authentication enable
[SW4500] ntp-service authentication-keyid 37 authentication-mode md5 
BetterKey
[SW4500] ntp-service reliable authentication-keyid 37
ntp-service 
source-interface
Syntax
ntp-service source-interface Vlan-interface 
vlan-id 
undo ntp-service source-interface
View
System view
Parameter
vlan-interface 
vlan-id
: Specifies an interface. The IP address of the interface 
serves as the source IP address of sent NTP messages. The 
vlan-id 
argument 
indicates the ID of the specified VLAN interface, ranging from 1 to 4094.
Description
Use the 
ntp-service source-interface
 command to specify a VLAN interface 
through which NTP messages are to be sent.