Display Trapbuffer - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Log file size quota : 5 MB
Log file directory : flash:/logfile
Writing frequency : 24 hour 0 min 10 sec
Table 1-7 display logfile summary command output description
Log file is
Channel number
Log file size quota
Log file directory
Writing frequency

display trapbuffer

Syntax
display trapbuffer [ reverse ] [ size buffersize ]
View
Any view
Default Level
1: Monitor level
Parameters
reverse: Displays trap entries chronologically, with the most recent entry at the top. If this keyword is
not specified, trap entries will be displayed chronologically, with the oldest entry at the top.
size buffersize: Displays specified number of the latest trap messages in a trap buffer, where buffersize
represents the number of the latest trap messages in a trap buffer, in the range 1 to 1,024.
Description
Use the display trapbuffer command to display the state and the trap information recorded.
Absence of the size buffersize argument indicates that all trap information is displayed.
Examples
# Display the state of the trap buffer and the trap information recorded.
<Sysname> display trapbuffer
Trapping buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , channel name : trapbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 2
Field
Description
The current state of a log file, which could be enabled or
disabled.
The channel number of a log file, defaults to 9.
The maximum storage space reserved for a log file
Log file directory
Log file writing frequency
1-9

Advertisement

Table of Contents
loading

Table of Contents