Share this
Configure Your Devices Network Time With This Guide
by Darin Knobbe on Dec 18, 2020 1:00:00 PM
Time management is most important when seeking to achieve maximum efficiency. Whether it is your day-to-day time management or your time management during a project, it all relates back to how effective you can be with your time. Today, we look at time a little bit different. We will be diving into the Network Time Protocol and configurations to synchronize your network devices. Think of it as helping your devices achieve the most effective time management. To help with configurations, we will use Cisco's Nexus 7000 series. Feel free to skip to the configurations by clicking here.
Nexus 7000 Overview
This Cisco Nexus series was built for mission-critical environments at the enterprise and service provider levels. As networks focus towards zero downtime goals, the Nexus 7000 series can be found at the core of your network bringing virtualization, efficiency, scalability, high density, and overall performance. As your data center grows, look towards the Nexus 7000 series to compete for a spot on your rack.
NTP & Nexus
Network Time Protocol (NTP) is a protocol used to synchronize computer clock times in a network. It belongs to and is one of the oldest parts of the TCP/IP protocol suite. The term NTP applies to both the protocol and the client-server programs that run on computers. NTP synchronizes the time of day among other time servers and clients with the goal that you can relate any troubleshooting or errors from different system devices.
A Few Things to Remember from Cisco
- NTP server begins in the Cisco NX-OS Release 5.2.
- Peer association with another device is necessary when you are certain that your clock is reliable
- A peer configured alone takes on the role of a server and should be used as a backup. If you have 2 servers or for more information, get in touch with a PivIT Representative.
- Up to 64 NTP entities can be configured.
- If CFS is disabled for NTP at that point, NTP doesn't disperse any configuration and doesn't acknowledge an appropriation from different devices in the system.
- After CFS is enabled for NTP the section of an NTP configuration command bolts the network for NTP configuration until a submit order is entered. During the lock, no progressions can be made to the NTP set up by some other device in the network aside from the device that started the lock.
- If CFS is used to disperse NTP all devices in the network ought to have the equivalent VRFs configured as we use for NTP.
- If NTP is used in a VRF guarantee that the NTP server and peers can arrive at one another through the configured VRFs.
- NTP authentication keys should be physically conveyed on the NTP server and Cisco NX-OS devices over the system.
Configuring NTP on Nexus 7000
The Network Time Protocol (NTP) synchronizes the time of day across your time servers and clients with the goal that you can relate occasions when you get system logs and other time-explicit events from different system devices. NTP utilizes the User Datagram Protocol (UDP) as its transport protocol. All NTP interchanges utilize Coordinated Universal Time (UTC).
NTP also utilizes a stratum to portray the separation between a network device and a definitive time source:
- A stratum 1-time server is appended to a definitive time source (for example, a radio or nuclear clock or a GPS time source).
- A stratum 2 NTP server gets its time through NTP from a stratum 1-time server.
Starting with Cisco NX-OS Release 5.2 the Cisco NX-OS device can utilize NTP to convey time. Different devices can configure it as a time server. We can likewise arrange the device to go about as a definitive NTP server to circulate time in any event, when it isn't synchronized to an outside time source.
Clocks are assets that should be shared across various procedures and across various VDCs. Multiple time synchronization protocols, for example, NTP and Precision Time Protocol (PTP) may be running in the framework and various occasions of a similar convention may be running in various VDCs.
NTP requires no license, any feature not included in a license package is gathered with the Cisco NX-OS system images and is provided with charges. NTP has the accompanying essentials:
- To arrange NTP we should have availability to in any event one server that is running NTP.
- To configure VDCs we should introduce the Advanced Services license.
Before we continue, ask yourself a couple of questions:
Do I have the time to handle configurations?
Do I have the bandwidth to configure my devices?
If you answered "No" to these questions, let PivIT handle the OSPF configuration on your network with EXTEND. Hire an engineer to take on these basic configurations and more. Click below to learn more about SmartHands.
NTP Enablement
Configuration Examples
We will walk through 11 configurations for NTP on the 7000 series Cisco Nexus switch. To quickly find one, just click below the configuration you'd like to find.
- Device as an Authoritative NTP Server
- NTP Server and Peer
- NTP Authentication
- NTP Access Restrictions
- NTP Source Interface
- NTP on Secondary VDC
- NTP Logging
- Enabling CFS Distribution for NTP
- Committing NTP Configuration Changes
- Discarding NTP Configuration Changes
- Verification
Device as an Authoritative NTP Server
We can configure the device to go about as an NTP server to convey time in any event when it isn't synchronized to a current time server.
NTP Server and Peer
An NX-OS device can be configured as an NTP server, also a peer. An NTP peer relationship enables network engineers to designate another host to consider synchronizing the time with in case a failure event occurs on the NTP server.
NTP Authentication
We can configure the device to authenticate the time sources to which the local clock is synchronized using the following steps:
In this example we can see how to configure the device to synchronize only to time sources that provide authentication key 42 in their NTP packets:
NTP Access Restrictions
NTP Source Interface
NTP on Secondary VDC
NTP Logging
Enabling CFS Distribution for NTP
NX-OS also has a built-in proprietary feature known as Cisco Fabric Services (CFS) that can be used to distribute data and configuration changes to all Nexus devices. CFS distributes all local NTP configuration across all the Nexus devices in the network. It applies a network-wide lock for NTP when the NTP configuration is started. When the configuration changes are made, users can discard or commit the changes, and the committed configuration replicates across all Nexus devices.
Committing NTP Configuration Changes
Discarding NTP Configuration Changes
Verification
More Configuration Guides
Are you needing to configure more than the Network Time Protocol? Click here to view the other configuration guides we have available. We are consistently adding more guides to the Tech Corner. Subscribe today to receive an update when we publish a new guide!
Share this
- Configuration Guides (47)
- Cisco Routers (29)
- Switches (27)
- Network Security (23)
- Cisco Switches (21)
- Routing Protocols (21)
- Routers (20)
- Cisco (19)
- Product Comparisons (19)
- Firewall (18)
- Cisco Security (17)
- Cisco Technical Information (17)
- IT Hardware Solutions (17)
- Network Protocols (17)
- Wireless (17)
- Security (15)
- OneCall (13)
- Servers (12)
- cisco asa (12)
- Cisco Wireless (11)
- Router Protocols (11)
- Cisco Catalyst (9)
- Cisco UCS (9)
- Upgrading Network (9)
- Cisco Servers (8)
- Product Highlight (8)
- Access Control Lists (7)
- Fortinet (7)
- Server Comparisons (7)
- Access Points (6)
- Arista Networks (6)
- OSPF (6)
- Wireless APs (6)
- Cisco ASR (5)
- Cloud Solutions (5)
- HPE-Aruba Wireless (5)
- Juniper Mist (5)
- Network Management (5)
- SD-WAN (5)
- Storage (5)
- Switch Comparison (5)
- Back To Basics (4)
- Cybersecurity (4)
- EIGRP (4)
- Firewall Architecture (4)
- HSRP (4)
- Juniper Networks (4)
- Network Automation (4)
- Network Servers (4)
- OEM Comparison (4)
- Aruba Central (3)
- Cisco Telephony (3)
- DHCP (3)
- DHCP Snooping (3)
- Dell EMC PowerEdge (3)
- Internet (3)
- Maintenance (3)
- Maintenance Renewal (3)
- Network Accessories (3)
- TPM (3)
- Telephony (3)
- aruba (3)
- Cisco NX-OS (2)
- Cisco Nexus (2)
- Dell Servers (2)
- Fortinet NGFWs (2)
- IT Trends (2)
- LAN Networks (2)
- Network Time Protocol (2)
- Palo Alto NGFWs (2)
- Rapid PVST+ (2)
- Remote Configuration (2)
- Software Defined Networking (2)
- WLAN (2)
- Ways to Save (2)
- fortigate (2)
- Asset Management (1)
- CPU Usage (1)
- Cisco AIR-CT (1)
- Cisco Aironet (1)
- Cisco DNA (1)
- Cisco ISR (1)
- Cisco Supervisor Engines (1)
- Cisco UCS Manager (1)
- Cognitive Campus (1)
- Cost of Downtime (1)
- Dell EMC Data Domain (1)
- Edge Switches (1)
- Fabric Extenders (1)
- GRE Tunnel (1)
- HPE BL (1)
- Juniper SRX (1)
- Nexus Switches (1)
- Nutanix (1)
- Optics (1)
- PowerEdge R740xd (1)
- STP Extension (1)
- Sparing Integrity Program (1)
- Switched Virtual Interface (1)
- TCP (1)
- UCS Fabric Interconnects (1)
- hyperconverge (1)
- April 2024 (2)
- March 2024 (1)
- February 2024 (2)
- January 2024 (1)
- December 2023 (1)
- November 2023 (2)
- October 2023 (1)
- September 2023 (3)
- August 2023 (5)
- July 2023 (2)
- June 2023 (4)
- May 2023 (5)
- April 2023 (8)
- March 2023 (7)
- February 2023 (5)
- January 2023 (2)
- December 2022 (3)
- November 2022 (3)
- October 2022 (8)
- September 2022 (9)
- August 2022 (9)
- July 2022 (8)
- June 2022 (9)
- May 2022 (5)
- April 2022 (3)
- March 2022 (1)
- February 2022 (2)
- November 2021 (2)
- October 2021 (1)
- September 2021 (2)
- August 2021 (2)
- July 2021 (3)
- June 2021 (2)
- May 2021 (4)
- April 2021 (4)
- March 2021 (2)
- February 2021 (1)
- January 2021 (2)
- December 2020 (2)
- November 2020 (2)
- October 2020 (2)
- September 2020 (2)
- August 2020 (4)
- July 2020 (5)
- June 2020 (4)
- May 2020 (6)
- April 2020 (2)
- March 2020 (1)
- February 2020 (2)
- January 2020 (2)
- December 2019 (1)
- May 2019 (2)
- April 2019 (5)
- February 2019 (1)
- January 2019 (3)
- December 2018 (1)
No Comments Yet
Let us know what you think