Setting the System Clock
System Name
------------------------ ------------------------ ------------------------ ---
Console> (enable)
Setting the System Clock
You can configure the switch to obtain the time and date using the Network Time Protocol (NTP). For
Note
information on configuring NTP, see
To set the system clock, perform this task in privileged mode:
Task
Step 1
Set the system clock.
Step 2
Display the current date and time.
This example shows how to set the system clock and display the current date and time:
Console> (enable) set time Fri 06/15/01 12:30:00
Fri Jun 15 2001, 12:30:00
Console> (enable) show time
Fri Jun 15 2001, 12:30:02
Console> (enable)
Creating a Login Banner
You can create a single or multiline message-of-the-day (MOTD) banner that appears on the screen when
someone logs in to the switch. The first character following the motd keyword is used to delimit the
beginning and end of the banner text. Characters following the ending delimiter are discarded. After
entering the ending delimiter, press Return. The banner must be fewer than 3070 characters.
Configuring a Login Banner
To configure a login banner, perform this task in privileged mode:
Task
Step 1
Enter the message of the day.
Step 2
Display the login banner by logging out and
logging back into the switch.
This example shows how to set the login banner on the switch using the # symbol as the beginning and
ending delimiter, but you can use any character for the delimiter.
Console> (enable) set banner motd #
Welcome to the Catalyst 4012 Switch!
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
26-4
System Location
Sunnyvale CA
Chapter 35, "Configuring NTP."
Command
set time [day_of_week] [mm/dd/yy] [hh:mm:ss]
show time
Command
set banner motd c message_of_the_day c
—
Chapter 26
Administering the Switch
System Contact
sysadmin@corp.com
CC
78-12647-02