F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
109
Examples
# Configure the time stamp format for system information sent to the log host as no-year-date.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
Related commands
info-center timestamp
info-center trapbuffer
Use info-center trapbuffer to configure information output to the trap buffer.
Use undo info-center trapbuffer to disable information output to the trap buffer.
Syntax
info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] *
undo info-center trapbuffer [ channel | size ]
Default
The system outputs information to the trap buffer through channel 3 (trapbuffer), and the maximum buffer
size is 256.
Views
System view
Default command level
2: System level
Parameters
size buffersize: Specifies the maximum number of trap messages allowed in the trap buffer, in the range
of 0 to 1024. The default is 256.
channel-number: Specifies a channel by its number in the range of 0 to 9.
channel-name: Specifies a channel by its name, a default name or a self-defined name. For information
about configuring a channel name, see info-center channel name.
Usage guidelines
The info-center trapbuffer command takes effect only after the information center has been enabled with
the info-center enable command.
Examples
# Output system information to the trap buffer through the default channel, and set the trap buffer size to
30.
<Sysname> system-view
[Sysname] info-center trapbuffer size 30
logfile save
Use logfile save to manually save logs in the log file buffer into the log file.
Syntax
logfile save