7-41
Catalyst 2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter 7 Administering the Switch
Managing the System Time and Date
Beginning in privileged EXEC mode, follow these steps to configure a specific interface from which the IP
source address is to be taken:
The specified interface is used for the source address for all packets sent to all destinations. If a source address
is to be used for a specific association, use the source keyword in the ntp peer or ntp server global
configuration command as described in the “Configuring NTP Associations” section on page 7-36.
Displaying the NTP Configuration
You can use two privileged EXEC commands to display NTP information:
• show ntp associations [detail]
• show ntp status
For detailed information about the fields in these displays, refer to the Cisco IOS Configuration
Fundamentals Command Reference for Release 12.1.
Configuring Time and Date Manually
If no other source of time is available, you can manually configure the time and date after the system is
restarted. The time remains accurate until the next system restart. We recommend that you use manual
configuration only as a last resort. If you have an outside source to which the switch can synchronize,
you do not need to manually set the system clock.
This section contains this configuration information:
• Setting the System Clock, page 7-42
• Displaying the Time and Date Configuration, page 7-42
• Configuring the Time Zone, page 7-43
• Configuring Summer Time (Daylight Saving Time), page 7-44
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ntp source type number Specify the interface type and number from which the IP source address
is taken.
By default, the source address is determined by the outgoing interface.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.