Reference Guide

Set the interface to receive NTP packets.
INTERFACE mode
ntp broadcast client
Example of Configuring NTP Broadcasts
2w1d11h : NTP: Maximum Slew:-0.000470, Remainder = -0.496884
Disabling NTP on an Interface
By default, NTP is enabled on all active interfaces. If you disable NTP on an interface, FTOS drops any NTP packets sent
to that interface.
To disable NTP on an interface, use the following command.
Disable NTP on the interface.
INTERFACE mode
ntp disable
To view whether NTP is configured on the interface, use the show config command in INTERFACE mode. If ntp
disable
is not listed in the show config command output, NTP is enabled. (The show config command
displays only non-default configuration information.)
Configuring a Source IP Address for NTP Packets
By default, the source address of NTP packets is the IP address of the interface used to reach the network.
You can configure one interface’s IP address include in all NTP packets.
To configure an IP address as the source address of NTP packets, use the following command.
Configure a source IP address for NTP packets.
CONFIGURATION mode
ntp source interface
Enter the following keywords and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword GigabitEthernet then the slot/port information.
For a loopback interface, enter the keyword loopback then a number between 0 and 16383.
For a port channel interface, enter the keyword lag then a number from 1 to 255 for TeraScale and
ExaScale.
For a SONET interface, enter the keyword sonet then the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port
information.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
To view the configuration, use the show running-config ntp command in EXEC privilege mode (refer to the
example in Configuring NTP Authentication).
688