Displaying The Ntp Configuration - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 4
Administering the Switch
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

Displaying the NTP Configuration

Use the following privileged EXEC commands to display NTP information:
For detailed information about the fields in these displays, see the
Cisco IOS Configuration Fundamentals Command Reference, Release 12.3.
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.
These sections contain this configuration information:
Setting the System Clock
If you have an outside source on the network that provides time services, such as an NTP server, you do
not need to manually set the system clock.
To set the system clock, perform this task:
Command
Step 1
clock set hh:mm:ss day month year
or
clock set hh:mm:ss month day year
This example shows how to manually set the system clock to 1:32 p.m. on July 23, 2001:
Switch# clock set 13:32:00 23 July 2001
OL-30933-01
show ntp associations [detail]
show ntp status
Setting the System Clock, page 4-11
Displaying the Time and Date Configuration, page 4-12
Configuring the Time Zone, page 4-12
Configuring Summer Time (Daylight Saving Time), page 4-13
Purpose
Manually sets the system clock using one of these formats.
"Configuring NTP Associations" section on page
For hh:mm:ss, specify the time in hours (24-hour format), minutes,
and seconds. The time specified is relative to the configured time
zone.
For day, specify the day by date in the month.
For month, specify the month by name.
For year, specify the year (no abbreviation).
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Managing the System Time and Date
4-11
4-6.

Advertisement

Table of Contents
loading

Table of Contents