Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 7 NTP Configuration Commands
Huawei Technologies Proprietary
7-13
interface-number
: Specifies the interface number and determine an interface with the
interface-type
parameter.
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.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ntp-service source-interface Vlan-Interface 1
7.1.16 ntp-service unicast-peer
Syntax
ntp-service
unicast-peer
ip-address
[
version
number
] [
authentication-key
keyid
]
[
source-interface
interface-type interface-number
] [
priority
]*
undo
ntp-service
unicast-peer
ip-address
View
System view
Parameter
ip-address
: Specifies the IP address of a remote server.
version
: Defines NTP version number.
number
: NTP version number, ranging from 1 to 3.
authentication-keyid
: Defines authentication key.
keyid
: Key ID used for transmitting messages to a remote server, ranging from 1 to
4294967295.
source-interface
: Specifies the name of an interface, the interface can be VLAN
interface and Loopback interface currently.