2 Configuring the device as an SNTP server

network until the last message is received from the system clock. To update the system clock with the last message received, you can enable the SNTP client to either listen to all NTP broadcast servers on any interface, or enable the SNTP client to listen to only one specific NTP broadcast server.

To enable an SNTP client in a broadcast mode to listen to all NTP servers on any interface, enter the sntp broadcast client command.

Brocade(config)#sntp broadcast client

Syntax: sntp broadcast client

The sntp broadcast client command enables an SNTP client to listen to all NTP servers, and update the client’s clock with the last message received from any NTP server.

To enable an SNTP client to listen to only one specific IPv4 NTP broadcast server, enter the following commands.

Brocade(config)#sntp broadcast client

Brocade(config)#sntp broadcast server 1.1.1.1

To enable an SNTP client to listen to only one specific IPv6 NTP broadcast server, enter the following commands.

Brocade(config)#sntp broadcast client

Brocade(config)#sntp broadcast server ipv6 2001:DB8:2:1::1

Syntax: sntp broadcast server [<ip-address> ipv6 <ipv6-address>]

The sntp broadcast client command must be configured with the sntp broadcast server command to allow for an SNTP client to listen to only one specific NTP server.

When both unicast and broadcast modes are enabled for an SNTP client, the priority by which the NTP server is used to update the client’s clock is as follows.

1.The last responsive unicast server.

2.The broadcast server on any interface.

Setting the system clock

In addition to SNTP support, Brocade switches and routers also allow you to set the system time counter. Using the clock set command starts the system clock with the time and date you specify.

NOTE

The time counter setting is not retained across power cycles. For more details about SNTP, refer to “Specifying an SNTP server” on page 20.

To set the system time and date to 10:15:05 on October 15, 2012, enter the following command.

Brocade# clock set 10:15:05 10-15-2012

Syntax: [no] clock set <hh:mm:ss> <mm-dd-yy> <mm-dd-yyyy>

To synchronize the time counter with your SNTP server time, enter the following command.

Brocade# sntp sync

26

Brocade ICX 6650 Administration Guide

 

53-1002600-01

Page 44
Image 44
Brocade Communications Systems 6650 manual Setting the system clock, Syntax sntp broadcast client