238
To do… Use the command… Remarks
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.
Outputting system information to the web interface
This feature allows you to control whether to output system information to the web interface and which
system information can be output to the web interface. The web interface provides abundant search
and sorting functions. If you configure the device to output the system information to the web interface,
view system information by clicking corresponding tabs after logging in to the device through the web
interface.
To set to output system information to the web interface:
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 web
interface.
info-center syslog channel
{ channel-number | channel-
name }
Optional.
By default, system information is
output to the web interface
through channel 6.
5. Configure the output rules of
the 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.
NOTE:
You can configure the device to output log, trap and debugging information to a channel. However,
when this channel is bound with the output destination web interface, after logging in through the web
interface, view log information of specific types only, and other types of information will be filtered out.