beautypg.com

Displaying the active ntp server, Removing an ntp server ip address – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 100

background image

Enter the ntp server ip_address command.

switch(config)# ntp server 192.168.10.1

Displaying the active NTP server

Use the show ntp status command to display the current active NTP server IP address. If an NTP
server is not configured or the server is unreachable, the output displays LOCL (for local switch time.
Otherwise, the command displays the NTP server IP address. The command displays the local NTP
server configuration only.

If the RBridge ID parameter is not provided, status results default to the local switch (LOCL). If
rbridge-id all is specified, the command displays the status for all switches in the cluster.

This example shows the local switch NTP status when an NTP server is not configured:

switch# show ntp status

rbridge-id 1: active ntp server is LOCL

This example shows the configured NTP server:

switch# show ntp status

active ntp server is 10.31.2.81

This example shows NTP status for all switches in a cluster.

switch# show ntp status rbridge-id all

rbridge-id 7: active ntp server is LOCL

Removing an NTP server IP address

To remove an NTP server IP address from the list of server IP addresses on a switch, enter no ntp
server
followed by the server IP address.

The following example removes the NTP server at 192.168.10.1 from the local server IP address
database.

switch(config)# no ntp server 192.168.10.1

switch# show ntp status

rbridge-id 1: active ntp server is LOCL

At least one IP address in the remaining list must be for a reachable and configured NTP server; if
there is not one the remove request will fail.

Displaying the active NTP server

100

Network OS Administrator’s Guide

53-1003225-04