
Logging Function 481
If you want to view the debugging information of some modules on the Switch, you
must select debugging as the information type when configuring the information
source, meantime using the debugging command to turn on the debugging Switch
of those modules.
You can use the following commands to configure log information, debugging
information and the time-stamp output format of trap information.
Perform the following operation in System View.
Table546 Configuring the Output Format of Time-stamp
Sending the Information
to the Trap Buffer
To send information to the trap buffer, follow the steps below:
1Enabling info-center
Perform the following operation in System View.
Table547 Enabling/Disabling Info-center
Info-center is enabled by default. After info-center is enabled, system performances
are affected when the system processes much information because of information
classification and outputting.
2Configuring to output information to the trap buffer.
Perform the following operation in System View.
Table548 Configuring to Output Information to Trap Buffer
3Configuring the information source on the Switch.
With this configuration, you can define the information that is sent to the trap buffer:
generated by which modules, information type, information level, and so on.
Perform the following operation in System View.
Table549 Defining Information Source
Operation Command
Configure the output format of
the time-stamp
info-center timestamp { log | trap |
debugging } { boot | date | none }
Output time-stamp is disabled undo info-center timestamp { log | trap |
debugging }
Operation Command
Enable info-center info-center enable
Disable info-center undo info-center enable
Operation Command
Output information to trap buffer info-center trapbuffer [ size buffersize ]
[ channel { channel-number | channel-name
} ]
Cancel the configuration of
outputting information to trap buffer
undo info-center trapbuffer [ channel |
size ]
Operation Command
Define information source info-center source { modu-name | default }
channel { channel-number | channel-name } [ { log
| trap | debug }* { level severity | state state }*
]
Cancel the configuration of
information source
undo info-center source { modu-name | default }
channel { channel-number | channel-name }