cisco — Disabling NTP Services on a Specific Interface

Disabling NTP Services on a Specific Interface To disable NTP packets from being received on an interface, perform this procedure: Procedure Administering the Device Disabling NTP Services on a Specific Interface Command or Action Purpose • peer: Allows time requests and NTP control queries and allows the device to synchronize to the remote device. • access-list-number: IP access list number. The range is from 1 to 99. Use the no form of this command to remove access control to the switch NTP services. Step 4 access-list access-list-number permit source [source-wildcard] Example: Device(config)# access-list 99 permit 172.20.130.5 Create the access list. • access-list-number:

IP access list number. The range is from 1 to 99. • permit: Permits access if the conditions are matched. • source: IP address of the device that is permitted access to the device. • source-wildcard: Wildcard bits to be applied to the source. Note When creating an access list, remember that, by default, the end of the access list contains an implicit deny statement for everything if it did not find a match before reaching the end. Use the no form of this command to remove authentication key. Step 5 end Example: Device(config)# end Returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example: Enables privileged EXEC mode. Enter your password if prompted.

Administering the Device 19