1-8
To do…
Use the command…
Remarks
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
Follow these steps to set to output system information to the console:
To do…
Use the command…
Remarks
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-4
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.
Table 1-4
Default output rules for different output destinations
LOG
TRAP
DEBUG
Output
destination
Modules
allowed
Enable
d/disab
led
Severit
y
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
default (all
modules)
Enabled warning
s
Enabled
debuggin
g
Enabled
debuggin
g