3com 8807 Reference Guide

Page of 1099
NTP Configuration Commands
939
Example
# Enable NTP authentication, adopt MD5 encryption, and designate Key 37 
BetterKey and configure it as reliable.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] ntp-service authentication enable
 
[SW8800] ntp-service authentication-keyid 37 authentication-mode 
 
md5 BetterKey
 
[SW8800] ntp-service reliable authentication-keyid 37 
ntp-service 
source-interface
Syntax
ntp-service source-interface interface-type interface-number
undo ntp-service source-interface
View
System view
Parameter
interface-type: Specifies the interface type and determine an interface with the 
interface-number argument.
interface-number: Specifies the interface number and determine an interface with 
the interface-type argument.
Description
Use the ntp-service source-interface command to designate an interface to 
transmit NTP message.
Use the undo ntp-service source-interface command to cancel the current 
setting.
By default, the source address specifies where the packets are transmitted from.
You can use this command to designate an interface to transmit all the NTP 
packets and take the source address of these packets from its IP address. If you do 
not want any other interface to receive the acknowledgement packets, use this 
command to specify one interface to send all the NTP packets.
Example
# Configure all the outgoing NTP packets to use the IP address of Vlan-Interface1 
as their source IP address.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] ntp-service source-interface Vlan-Interface 1 
ntp-service unicast-peer
Syntax
ntp-service unicast-peer ip-address [ version number ] [ authentication-keyid 
keyid ] [ source-interface interface-type interface-number ] [ priority ]*
undo ntp-service unicast-peer ip-address