1-9
To do… Use the command… Remarks
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 directions
LOG TRAP DEBUG
Output
direction
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
Monitor
terminal
default (all
modules)
Enabled
warning
s
Enabled
debuggin
g
Enabled
debuggin
g
Log host
default (all
modules)
Enabled
informati
onal
Enabled
debuggin
g
Disabled
debuggin
g
Trap buffer
default (all
modules)
Disable
d
informati
onal
Enabled warnings Disabled
debuggin
g
Log buffer
default (all
modules)
Enabled
warning
s
Disabled
debuggin
g
Disabled
debuggin
g
SNMP NMS
default (all
modules)
Disable
d
debuggi
ng
Enabled warnings Disabled
debuggin
g
Enabling system information display on the console
After setting to output system information to the console, you need to enable the associated display
function to display the output information on the console.