3Com 4500 50-PORT Switch User Manual


 
Log Commands 373
Example
Configure the debugging information timestamp format as boot.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]info-center timestamp debugging boot
[SW4500]
info-center trapbuffer Syntax
info-center trapbuffer [ size buffersize ] [ channel { channel-number
| channel-name } ]
undo info-center trapbuffer [ channel | size ]
View
System view
Parameter
size: Configure the size of the trap buffer.
buffersize: Size of trap buffer (numbers of messages).
channel: Configure the channel to output information to trap buffer.
channel-number: Channel number, ranging from 0 to 9, that is, the system has
ten channels.
channel-name: Specify the channel name.
Description
Use the info-center trapbuffer command to output information to the trap
buffer. Use the
undo info-center trapbuffer command to cancel output
information to trap buffer.
By default, output information is transmitted to trap buffer and size of trap buffer
is 256.
This command takes effect only after the system logging is enabled.
Related commands: info-center enable, display info-center.
Example
Send information to the trap buffer and sets the size of buffer as 30.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]info-center trapbuffer size 30
[SW4500]
reset logbuffer Syntax
reset logbuffer