7-38
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter7 Administering the Switch
Managing the System Time and Date
To disable the interface from sending NTP broadcast packets, use the no ntp broadcast interface
configuration command.
This example shows how to configure an interface to send NTP version 2 packets:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ntp broadcast version 2
Beginning in privileged EXEC mode, follow these steps to configure the switch to receive NTP broadcast
packets from connected peers:
To disable an interface from receiving NTP broadcast packets, use the no ntp broadcast client interface
configuration command. To change the estimated round-trip delay to the default, use the no ntp
broadcastdelay global configuration command.
This example shows how to configure an interface to receive NTP broadcast packets:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ntp broadcast client
Configuring NTP Access Restrictions
You can control NTP access on two levels as described in these sections:
Creating an Access Group and Assigning a Basic IP Access List, page 7-39
Disabling NTP Services on a Specific Interface, page 7-40
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Step7 Configure the connected peers to receive NTP broadcast packets as
described in the next procedure.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface to receive NTP broadcast pack ets, and enter interfac e
configuration mode.
Step3 ntp broadcast client Enable the interface to receive NTP broadcast packets.
By default, no interfaces receive NTP broadcast packets.
Step4 exit Return to global configuration mode.
Step5 ntp broadcastdelay microseconds (Optional) Change the estimated round-trip delay between the switch and
the NTP broadcast server.
The default is 3000 microseconds; the range is 1 to 999999.
Step6 end Return to privileged EXEC mode.
Step7 show running-config Verify your entries.
Step8 copy running-config startup-config (Optional) Save your entries in the configuration file.