233
Outputting system information to the console
Outputting system information to the console
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enable information center.
info-center enable
Optional.
Enabled by default.
3. Name the channel with a
specified channel number.
info-center channel channel-
number name channel-name
Optional.
See Table 9 for
default channel
names.
4. Configure the channel through
which system information can
be output to the console.
info-center console channel
{ channel-number | channel-
name }
Optional.
By default, system information is
output to the console through
channel 0 (console).
5. Configure the output rules of
system information.
info-center source { module-name
| default } channel { channel-
number | channel-name } [ debug
{ level severity | state state } * |
log { level severity | state state } *
| trap { level severity | state
state } * ] *
Optional.
See “Default output rules of
system informat
ion.”
6. Configure the format of the
time stamp.
info-center timestamp { debugging
| log | trap } { boot | date |
none }
Optional.
The time stamp format for log,
trap and debugging information
is date by default.
Enabling the display of system information on the console
After setting to output system information to the console, you must enable the associated display
function to display the output information on the console.
Follow these steps in user view to enable the display of system information on the console:
To do… Use the command… Remarks
1. Enable the monitoring of
system information on the
console.
terminal monitor
Optional.
Enabled on the console and
disabled on the monitor terminal
by default.
2. Enable the display of
debugging information on the
console.
terminal debugging
Required.
Disabled by default.
3. Enable the display of log
information on the console.
terminal logging
Optional.
Enabled by default.
4. Enable the display of trap
information on the console.
terminal trapping
Optional.
Enabled by default.