Setting The Time Zone - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 34
Configuring NTP
To configure authentication, perform this task in privileged mode:
Task
Step 1
Configure an authentication key pair for NTP and
specify whether the key is trusted or untrusted.
Step 2
Specify the IP address of the NTP server and the
public key.
Step 3
Enable NTP client mode.
Step 4
Enable NTP authentication.
Step 5
Verify the NTP configuration.
This example shows how to configure the NTP server address, enable NTP client and authentication
modes on the switch, and verify the configuration:
Console> (enable) set ntp server 172.20.52.65 key 879
NTP server 172.20.52.65 with key 879 added.
Console> (enable) set ntp client enable
NTP Client mode enabled
Console> (enable) set ntp authentication enable
NTP authentication feature enabled
Console> (enable) show ntp
Current time: Tue Jun 23 1998, 20:29:25
Timezone: '', offset from UTC is 0 hours
Summertime: '', disabled
Last NTP update: Tue Jun 23 1998, 20:29:07
Broadcast client mode: disabled
Broadcast delay: 3000 microseconds
Client mode: enabled
Authentication: enabled
NTP-Server
---------------------------------------- ----------
172.16.52.65
Key Number
----------
Console> (enable)

Setting the Time Zone

You can specify a time zone for the switch to display the time in that time zone. You must enable NTP
before you set the time zone. If NTP is not enabled, this command has no effect. If you enable NTP and
do not specify a time zone, UTC is shown by default.
To set the time zone, perform this task in privileged mode:
Task
Step 1
Set the time zone.
Step 2
Verify the time zone configuration.
OL-8978-04
Mode
Key String
---------
--------------------------------
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Command
set ntp key public_key [trusted | untrusted] md5
secret_key
set ntp server ip_addr [key public_key]
set ntp client enable
set ntp authentication enable
show ntp [noalias]
Server Key
Command
set timezone zone hours [minutes]
show timezone
Configuring NTP on the Switch
34-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents