beautypg.com

Network time protocol, In this chapter, Time management with netconf overview – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 79: Date and time settings, Setting the date and time, Chapter 4, Chapter 4, “network time protocol

background image

Network OS NETCONF Operations Guide

47

53-1003231-02

Chapter

4

Network Time Protocol

In this chapter

Time management with NETCONF overview . . . . . . . . . . . . . . . . . . . . . . . . . 47

Date and time settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Time zone settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Network Time Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

Time management with NETCONF overview

Through the NETCONF interface, you can perform the following operations for managing time:

Use the action to set the local clock date and time.

Use the action to set the time zone.

Use the // action to clear the time zone data.

Use the RPC to return the local time, date, and time zone.

Use the RPC to configure an NTP server.

Use the custom RPC to obtain the NTP server address.

Use the RPC to validate configuration settings.

NTP parameters are defined in the brocade-ntp YANG module. Date and time parameters are
defined in the brocade-clock YANG module. For details, refer to the Network OS YANG Reference
Manual
.

Date and time settings

Brocade switches maintain the current date and time inside a battery-backed real-time clock (RTC)
circuit. Date and time are used for logging events. Switch operation does not depend on the date
and time; a switch with incorrect date and time settings can function correctly. However, because
the date and time are used for logging, error detection, and troubleshooting, you should set them
correctly.

Setting the date and time

The action sets the local clock date and time. This action is defined in the
urn:brocade.com:mgmt:brocade-clock namespace. An active NTP server, if configured,
automatically updates and overrides the local clock time. Time values are limited to between
January 1, 1970 and January 19, 2038.

To set the date and time, perform the following steps.