Configuring the NTP Source Interface
Configuring the NTP Source Interface
You can configure NTP to use a specific interface.
Procedure
Step 1
Step 2
This example shows how to configure the NTP source interface:
switch# configure terminal
switch(config)# ntp source-interface ethernet
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
Step 3
Step 4
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
228
Command or Action
switch# configure terminal
[no] ntp source-interface interface
Command or Action
switch# configure terminal
switch(config)# [no] ntp logging
switch(config)# show ntp
logging-status
switch(config)# copy running-config
startup-config
Purpose
Enters global configuration mode.
Configures the source interface for all NTP packets. The
following list contains the valid values for interface.
• ethernet
• loopback
• mgmt
• port-channel
• vlan
Purpose
Enters global configuration mode.
Enables or disables system logs to be generated with
significant NTP events. NTP logging is disabled by
default.
(Optional)
Displays the NTP logging configuration status.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
Configuring NTP
OL-31641-01