beautypg.com

Ntp server – Brocade Network OS Command Reference v4.1.0 User Manual

Page 564

background image

526

Network OS Command Reference

53-1003115-01

ntp server

2

ntp server

Specifies or adds an NTP server IP address and associates an authentication key to the server.

Synopsis

ntp server ip-address [key key-id]

no ntp server ip-address [key key-id]

Operands

ip-address

Specifies the NTP server IPv4 IP address (dot-decimal notation) or the IPv6
IP address (hexadecimal colon-separated notation).

key key-id

Associates a key from the key list to the specified server. The range for a
key ID is from 1 through 65535.

Defaults

The NTP server list is LOCL (no NTP server configured).

Command Modes

Global configuration mode

Description

Use this command to add an NTP server IPv4 or IPv6 address to a list of server IP addresses,

Also, use this command to associate an existing authentication key with an NTP server IP address.

Usage Guidelines

The maximum number of NTP servers allowed is five.

Network Time Protocol (NTP) commands must be configured on each individual switch.

Use the no ntp server ip-address command to remove the specified NTP server IP address.
Removing the current active NTP server resets the NTPstatus to “LOCL” until a new, active server is
selected.

Use the no ntp server ip-address key key-id command to remove the key from the specified NTP IP
address.

Examples

To associate a configured key ID of 15 to an NTP server:

switch(config)# ntp server 192.168.10.1 key 15

To remove an NTP server from the current list of NTP servers:

switch(config)# no ntp server 192.168.10.1

See Also

show ntp status, show clock,ntp authentication-key