Procedure
PurposeCommand or Action
Configures the source IP address for all NTP
packets. The ip-address can be in IPv4 or IPv6
format.
switch(config)# [no] ntp source ip-address
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
PurposeCommand or Action
Configures the source interface for all NTP
packets. Use the ? keyword to display a list of
supported interfaces.
switch(config)# [no] ntp source-interface
interface
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
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables or disables system logs to be generated
with significant NTP events. NTP logging is
disabled by default.
switch(config)# [no] ntp logging
Step 2
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
29
Configuring NTP
Configuring the NTP Source Interface