R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

371
Examples
# Set the format of logs sent to a log host as unicom.
<Sysname> system-view
[Sysname] info-center format unicom
info-center logbuffer
Use info-center logbuffer to configure log output to the log buffer.
Use undo info-center logbuffer to disable log output to the log buffer.
Syntax
info-center logbuffer
undo info-center logbuffer
Default
Logs are allowed to be output to the log buffer.
Views
System view
Predefined user roles
network-admin
Examples
# Configure output of log information to the log buffer.
<Sysname> system-view
[Sysname] info-center logbuffer
Related commands
display logbuffer
info-center enable
info-center logbuffer size
Use info-center logbuffer size to set the maximum number of logs that can be stored in the log buffer.
Use undo info-center logbuffer size to restore the default.
Syntax
info-center logbuffer size buffersize
undo info-center logbuffer size
Default
The log buffer can store up to 512 logs.
Views
System view
Predefined user roles
network-admin