31-3
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 31 Configuring NTP
Configuring NTP
•
Clearing NTP Servers, page 31-7
•
Disabling NTP, page 31-8
Enabling NTP in Broadcast-Client Mode
Configure the switch in NTP broadcast-client mode if an NTP broadcast server, such as a router,
regularly broadcasts time-of-day information on the network. To compensate for any server-to-client
packet latency, you can specify an NTP broadcast delay (a time adjustment factor for the receiving of
broadcast packets by the switch).
To enable NTP broadcast-client mode on the switch, perform this task in privileged mode:
This example shows how to enable NTP broadcast-client mode on the switch, set a broadcast delay of
4000 microseconds, and verify the configuration:
Console> (enable)
set ntp broadcastclient enable
NTP Broadcast Client mode enabled
Console> (enable)
set ntp broadcastdelay 4000
NTP Broadcast delay set to 4000 microseconds
Console> (enable)
show ntp
Current time: Tue Jun 23 1998, 20:25:43
Timezone: '', offset from UTC is 0 hours
Summertime: '', disabled
Last NTP update:
Broadcast client mode: enabled
Broadcast delay: 4000 microseconds
Client mode: disabled
NTP-Server
----------------------------------------
Console> (enable)
Configuring NTP in Client Mode
Configure the switch in NTP client mode if you want the client switch to regularly send time-of day
requests to an NTP server. You can configure up to ten server addresses per client.
To configure the switch in NTP client mode, perform this task in privileged mode:
Task
Command
Step 1
Enable NTP broadcast-client mode.
set ntp broadcastclient enable
Step 2
(Optional) Set the estimated NTP broadcast
packet delay.
set ntp broadcast delay
microseconds
Step 3
Verify the NTP configuration.
show ntp
[
noalias
]
Task
Command
Step 1
Configure the IP address of the NTP server.
set ntp server
ip_addr
Step 2
Enable NTP client mode.
set ntp client enable
Step 3
Verify the NTP configuration.
show ntp
[
noalias
]