Celestica Documentation Portal

Find your product documents here

NTP source-interface

Configures NTP source interface to pick the source IP used for the NTP packets.

Syntaxntp source-interface { Ethernet <eth-id> | PortChannel <po-id> | Loopback <lo-id> | Vlan <vl-id> | Management <mgmt-id> }
Command modeCONFIG
Parameters
  • eth-id – Physical interface identifier.

  • po-id – Portchannel number.

  • lo-id – Loopback identifier.

  • vl-id – VLAN identifier.

  • mgmt-id – Management interface identifier.

UsageUse no ntp source-interface to remove the configured ntp source-interface.
Supported Releases 1.0.0 or later
Click commandNone
Example
sonic# configure terminal
sonic(config)# ntp source-interface Management 0
sonic(config)# no ntp source-interface
sonic(config)#