![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 577](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462577.webp)
39-3
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 39 Configuring NTP
Configuring NTP on 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
Specify 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]