Switch 7700 Command reference Guide, v2.0

Table Of Contents
NTP Configuration Commands 501
View
System view
Parameter
interface-name : Specify an interface. The source IP address of the packets will
be taken from the address of the interface.
interface-type : Specify the interface type and determine an interface with the
interface-number parameter.
interface-number : Specify the interface number and determine an interface
with the interface-type parameter.
Description
Using ntp-service source-interface command, you can designate an
interface to transmit NTP message. Using
undo ntp-service source-interface
command, you can cancel the current setting.
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.
[SW7700]ntp-service source-interface Vlan-Interface 1
ntp-service in-interface
disable
Syntax
ntp-service in-interface disable
undo ntp-service in-interface disable
View
VLAN interface view
Parameter
None
Description
Using ntp-service in-interface disable command, you can disable an
interface to receive NTP message. Using
undo ntp-service in-interface
disable
command, you can enable an interface to receive NTP message.
By default, an interface is enabled to receive NTP message.
Example
Disable Vlan-Interface1 to receive NTP message.
[SW7700] interface vlan-interface1
[SW7700-Vlan-Interface1] ntp-service in-interface disable