2 basic system configuration and debugging, Basic system configuration, Displaying the system status – H3C Technologies H3C S3100 Series Switches User Manual

Page 823: Basic system configuration and debugging

Advertising
background image

2-1

2

Basic System Configuration and Debugging

Basic System Configuration

Table 2-1 Basic System Configuration

Operation

Command

Description

Set the current date and
time of the system

clock datetime HH:MM:SS
{ YYYY/MM/DD |
MM/DD/YYYY
}

Required

Execute this command in user view.

The default value is 23:55:00 04/01/2000
when the system starts up.

Set the local time zone

clock timezone zone-name
{ add | minus } HH:MM:SS

Optional

Execute this command in user view.

By default, it is the UTC time zone.

Set the name and time
range of the summer time

clock summer-time
zone_name { one-off |
repeating } start-time start-date
end-time end-date offset-time

Optional

Execute this command in user view.

z

When the system reaches the specified
start time, it automatically adds the
specified offset to the current time, so as
to toggle the system time to the summer
time.

z

When the system reaches the specified
end time, it automatically subtracts the
specified offset from the current time, so
as to toggle the summer time to normal
system time.

Enter system view from
user view

system-view

Set the system name of the
switch

sysname sysname

Optional

By default, the name is H3C.

Return from current view to
lower level view

quit

Optional

If the current view is user view, you will quit
the current user interface.

Return from current view to
user view

return

Optional

The composite key <Ctrl+Z> has the same
effect with the return command.

Displaying the System Status

You can use the following display commands to check the status and configuration information about

the system. For information about protocols and ports, and the associated display commands, refer to

relevant sections.

Advertising