Huawei Technologies Proprietary
1-12
Operation Command Description
Define an
information source
info-center source
{ modu-name | default }
channel { channel-number |
channel-name } [ { log | trap
| debug } { level severity |
state state } ]*
Required
Set the format of
time stamp
info-center timestamp
{
log | trap | debugging }
{ boot | date | none }
Optional
This is to set the time stamp
format for log/debugging/trap
information output.
This determines how the time
stamp is presented to users.
Note:
To view debugging information of specific modules, you need to set the information
type as debug in the info-center source command, and enable debugging on
corresponding modules with the debugging command as well.
1.2.6 Enabling Information Output to the Trap Buffer
Table 1-11 lists the related configurations on the switch.
Table 1-11 Enable information output to the trap buffer
Operation Command Description
Enter system view
system-view
—
Enable the
information center
info-center enable
Optional
By default, the
information center is
enabled.
Enable information
output to the trap
buffer
info-center trapbuffer [channel
{ channel-number | channel-name }
| size buffersize]*
Optional
By default, the switch
uses information
channel 3 to output trap
information to the trap
buffer, which can holds
up to 256 items by
default.
Define an
information source
info-center source { modu-name |
default } channel
{ channel-number | channel-name }
[ { log | trap | debug } { level
severity | state state } ]*
Required