Cisco Systems 2940 Switch User Manual


 
6-10
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter 6 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 6-5.
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 Cisco IOS 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 6-11
Displaying the Time and Date Configuration, page 6-11
Configuring the Time Zone, page 6-12
Configuring Summer Time (Daylight Saving Time), page 6-13
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.