28
Examples
# Set the minimum storage period to 168 hours.
<Sysname> system-view
[Sysname] info-center syslog min-age 168
info-center syslog trap buffersize
Use
info-center syslog trap buffersize
to set the maximum number of log traps that can
be stored in the log trap buffer.
Use
undo info-center syslog trap buffersize
to restore the default.
Syntax
info-center syslog trap buffersize
buffersize
undo info-center syslog trap buffersize
Default
The log trap buffer can store a maximum of 1024 traps.
Views
System view
Predefined user roles
network-admin
Parameters
buffersize
: Specifies the maximum number of log traps that can be stored in the log trap buffer.
The value range is 0 to 65535. Value 0 indicates that the device does not buffer log traps.
Usage guidelines
Log traps are SNMP notifications stored in the log trap buffer. After the
snmp-agent trap
enable syslog
command is configured, the device sends log messages in SNMP notifications to
the log trap buffer. You can view the log traps by accessing the MIB corresponding to the trap buffer.
The default buffer size is usually used. You can adjust the buffer size according to your network
condition. New traps overwrite the oldest traps when the log trap buffer is full.
Examples
# Set the log trap buffer size to 2048.
<Sysname> system-view
[Sysname] info-center syslog trap buffersize 2048
Related commands
snmp-agent trap enable syslog
info-center timestamp
Use
info-center timestamp
to set the timestamp format for logs sent to the console, monitor
terminal, log buffer, and log file.
Use
undo info-center timestamp
to restore the default.
Syntax
info-center timestamp
{
boot
|
date
|
none
}
undo info-center timestamp
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...