beautypg.com

Chapter 60 commands for ntp, 1 ntp enable, 2 ntp server – PLANET XGS3-24040 User Manual

Page 840: 3 ntp broadcast server count, Ntp enable, Ntp server, Ntp broadcast server count

background image

60-1

Chapter 60 Commands for NTP

60.1 ntp enable

Command: ntp enable

ntp disable

Function: To enable/disable NTP function globally.

Parameter: None.

Default: Disabled.

Command Mode: Global Mode.

Usage Guide: None.

Example: To enable NTP function.

Switch(config)#ntp enable

60.2 ntp server

Command: ntp server {<ip-address> | } [version >] [key <key-id>]

no ntp server {<ip-address>|}

Function: To enable specified time server of time source, the no form of this command cancels the

specified time server of time source.

Parameter: ip-address: IPv4 address of time server.

ipv6-address: IPv6 address of time server.

version: The version information configured for server.

version_no: The version number of server, range is from 1 to 4, default is 4.

key: To configure key for server.

key-id: The key id.

Default: Disabled.

Command Mode: Global Mode.

Usage Guide: None.

Example: To configure time server address as 1.1.1.1 on switch.

Switch(config)#ntp server 1.1.1.1

60.3 ntp broadcast server count

Command: ntp broadcast server count

no ntp broadcast server count

Function: Set the max number of broadcast or multicast servers supported by the NTP client. The no

operation will cancel the configuration and restore the default value.

Parameters: number:1-100, the max number of broadcast servers.

Default: The default max number of broadcast servers is 50.

Command Mode: Global Mode.

Examples: Configure the max number of broadcast servers is 70 on the switch.