H3C Technologies H3C S3100 Series Switches User Manual

Page 794

Advertising
background image

1-8

Operation

Command

Description

Log host
direction

info-center timestamp loghost
date

Set the time stamp
format in the output
direction of the
information center to
date

Non log host
direction

info-center timestamp { log | trap
| debugging } date

Required

Use either command

Set to display the UTC time zone in the
output information of the information
center

info-center timestamp utc

Required

By default, no UTC time
zone is displayed in the
output information

Setting to Output System Information to the Console

Setting to output system information to the console

Table 1-7 Set to output system information to the console

Operation

Command

Description

Enter system view

system-view

Enable the information center

info-center enable

Optional

Enabled by default.

Enable system information
output to the console

info-center console channel
{ channel-number | channel-name }

Optional

By default, the switch uses information
channel 0 to output
log/debugging/trap information to the
console.

Configure the output rules of
system information

info-center source { modu-name |
default
} channel
{ channel-number | channel-name }
[ { log | trap | debug } { level
severity | state state } ]*

Optional

Refer to

Table 1-8

for the default

output rules of system information.

Set the format of time stamp in
the output information

info-center timestamp { log | trap
| debugging } { boot | date |
none }

Optional

By default, the time stamp format of
the log and trap output information is
date, and that of the debugging output
information is boot.

To view the debugging information of some modules on the switch, you need to set the type of the

output information to debug when configuring the system information output rules, and use the

debugging command to enable debugging for the corresponding modules.

Advertising