Chapter 7 Administering the Switch

Configuring a System Name and Prompt

Beginning in privileged EXEC mode, follow these steps if summer time in your area does not follow a recurring pattern (configure the exact date and time of the next summer time events):

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

 

 

 

Step 2 clock summer-time zone date [month

Configure summer time to start on the first date and end on the second

 

date year hh:mm month date year hh:mm

date.

 

[offset]]

Summer time is disabled by default.

 

 

 

or

For zone, specify the name of the time zone (for example, PDT) to be

 

 

 

clock summer-time zone date [date

displayed when summer time is in effect.

 

month year hh:mm date month year

(Optional) For week, specify the week of the month (1 to 5 or last).

 

hh:mm [offset]]

 

(Optional) For day, specify the day of the week (Sunday, Monday...).

 

 

 

 

(Optional) For month, specify the month (January, February...).

 

 

(Optional) For hh:mm, specify the time (24-hour format) in hours and

 

 

minutes.

 

 

(Optional) For offset, specify the number of minutes to add during

 

 

summer time. The default is 60.

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.

 

 

 

The first part of the clock summer-timeglobal configuration command specifies when summer time begins, and the second part specifies when it ends. All times are relative to the local time zone. The start time is relative to standard time. The end time is relative to summer time. If the starting month is after the ending month, the system assumes that you are in the southern hemisphere.

To disable summer time, use the no clock summer-timeglobal configuration command.

This example shows how to set summer time to start on October 12, 2000, at 02:00, and end on April 26, 2001, at 02:00:

Switch(config)# clock summer-time pdt date 12 October 2000 2:00 26 April 2001 2:00

Configuring a System Name and Prompt

You configure the system name on the switch to identify it. By default, the system name and prompt are Switch.

If you have not configured a system prompt, the first 20 characters of the system name are used as the system prompt. A greater-than symbol [>] is appended. The prompt is updated whenever the system name changes.

If you are accessing a stack member through the stack master, you must use the session stack-member-numberprivileged EXEC command. The stack member number range is from 1 through

9.When you use this command, the stack member number is appended to the system prompt. For example, Switch-2#is the prompt in privileged EXEC mode for stack member 2, and the system prompt for the switch stack is Switch.

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

7-14

OL-9775-02

 

 

Page 180
Image 180
Cisco Systems 3750E manual Configuring a System Name and Prompt, Clock summer-time zone date month