Configuring NTP
Procedure
Step 1
Example
This example shows how to configure NTP to a source IP address:
switch(config)# ntp source 192.0.2.1
Configuring the NTP Source Interface
You can configure NTP to use a specific interface.
To configure the NTP source interface, use the following command in global configuration mode:
Procedure
Step 1
Example
This example shows how to configure NTP to a specific interface:
switch(config)# ntp source-interface
ethernet 2/1
Configuring NTP Logging
You can configure NTP logging in order to generate system logs with significant NTP events. NTP logging
is disabled by default.
Procedure
Step 1
Step 2
Command or Action
switch(config)# [no] ntp source ip-address
Command or Action
switch(config)# [no] ntp source-interface
interface
Command or Action
switch# configure terminal
switch(config)# [no] ntp logging
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
Configuring the NTP Source Interface
Purpose
Configures the source IP address for all NTP
packets. The ip-address can be in IPv4 or IPv6
format.
Purpose
Configures the source interface for all NTP
packets. Use the ? keyword to display a list of
supported interfaces.
Purpose
Enters global configuration mode.
Enables or disables system logs to be generated
with significant NTP events. NTP logging is
disabled by default.
29