482
Views
System view
Predefined user roles
network-admin
Examples
# Enable the information center.
<Sysname> system-view
[Sysname] info-center enable
Information center is enabled.
info-center format
Use
info-center format
to set the format for logs sent to log hosts.
Use
undo info-center format
to restore the default.
Syntax
info-center format
{
unicom
|
cmcc
}
undo info-center format
Default
Logs are sent to log hosts in standard format.
Views
System view
Predefined user roles
network-admin
Parameters
unicom
: Specifies the
unicom
format.
cmcc
: Specifies the China Mobile Communications Corporation (
cmcc
) format.
Usage guidelines
Logs can be sent to log hosts in standard,
unicom
, or
cmcc
format. For more information about log
formats, see
Network Management and Monitoring Configuration Guide.
Examples
# Set the log format to
unicom
for logs sent to log hosts.
<Sysname> system-view
[Sysname] info-center format unicom
info-center logbuffer
Use
info-center logbuffer
to enable log output to the log buffer.