Command Line Interface
4-68
4
ntp server
This command sets the IP addresses of the servers to which NTP time requests are
issued. Use the
no
form of the command to clear a specific time server or all servers
from the current list.
Syntax
ntp server
ip-address
[
version
number
] [
key
key-number
]
no ntp server
[
ip-address
]
•
ip-address
- IP address of an NTP time server.
•
number
- The NTP version number supported by the server. (Range: 1-3)
•
key-number
- The number of an authentication key to use in
communications with the server. (Range: 1-65535)
Default Setting
Version number: 3
Command Mode
Global Configuration
Command Usage
• This command specifies time servers that the switch will poll for time updates
when set to NTP client mode. It issues time synchronization requests based
on the interval set with the
ntp poll
command. The client will poll all the time
servers configured, the responses received are filtered and compared to
determine the most reliable and accurate time update for the switch.
• You can configure up to 50 NTP servers on the switch. Re-enter this
command for each server you want to configure.
• NTP authentication is optional. If enabled with the
ntp authenticate
command, you must also configure at least one key number using the
ntp
authentication-key
command.
• Use the
no
form of this command without an argument to clear all configured
servers in the list.
Example
Related Commands
ntp client (4-67)
ntp poll (4-69)
show ntp (4-71)
Console(config)#ntp server 192.168.3.20
Console(config)#ntp server 192.168.3.21
Console(config)#ntp server 192.168.4.22 version 2
Console(config)#ntp server 192.168.5.23 version 3 key 19
Console(config)#
Summary of Contents for 6128PL2
Page 2: ......
Page 8: ...viii ...
Page 26: ...Contents xviii ...
Page 30: ...Tables xxii ...
Page 52: ...Initial Configuration 2 10 2 ...
Page 308: ...Configuring the Switch 3 256 3 ...
Page 473: ...SNMP Commands 4 165 4 ...
Page 644: ...Command Line Interface 4 336 4 ...
Page 648: ...Software Specifications A 4 A ...
Page 663: ......