NTP Configuration
此内容尚不支持你的语言。
NTP(Network Time Protocol),is a protocol used to synchronize the time of individual computers in a network.
show ntp
Section titled “show ntp”[Command] show ntp
[Purpose] Show NTP information
[View] System view
[Use Cases]
sonic# show ntpremote refid st t when poll reach delay offset jitter==============================================================================*10.250.0.240 203.107.6.88 3 u 46 64 377 0.165 10.575 3.198ntp server
Section titled “ntp server”[Command] ntp serverip-address**[prefer]** no ntp serverip-address
[Purpose] Configure NTP server
[Parameter]
| Parameter | Description |
|---|---|
| ip-address | NTP server ip address |
[View] System configuration view
[Use Cases]
sonic(config)# ntp server 10.250.0.242ntp source-interface
Section titled “ntp source-interface”[Command] ntp source-interfaceinterface-name**[vrf {default|mgmt}]** no ntp source-interfaceinterface
[Purpose] Specify the NTP source interface
[View] System configuration view
[Notes] Configuring the local source interface for sending/receiving NTP packets can help avoid using IP addresses from other interfaces on this device as the destination address for response packets.
[Use Cases]
sonic(config)# ntp source-interface Ethernet1 vrf default