Logging Function 337
Tab le 404 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:
1 Enabling info-center
Perform the following operation in System View.
Tab le 405 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.
2 Configuring to output information to the trap buffer.
Perform the following operation in System View.
Tab le 406 Configuring the Output Information to Trap Buffer
3 Configuring 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.
Tab le 407 Defining Information Source
modu-name
specifies the module name; default represents all the modules; level
refers to the severity levels;
severity
specifies the severity level of information.
The information with the level below it will not be output.
channel-number
specifies the channel number and
channel-name
specifies the channel name.
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
}