464 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
Description
Use the info-center logbuffer command to configure to output information
to the memory buffer. Use the
undo info-center logbuffer command to
cancel the information output to buffer
This command takes effect only after the system logging is enabled.
For the related commands, see info-center enable, display info-center.
Example
Send log information to buffer and sets the size of buffer as 50.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]info-center logbuffer 50
info-center loghost Syntax
info-center loghost
host-ip-addr
[ channel
{
channel-number
|
channel-name
}
| facility
local-number
| language
{ chinese | english
} ]
undo info-center loghost
host-ip-addr
View
System view
Parameter
host-ip-addr:
IP address of info-center loghost.
channel: Configure information channel of the info-center loghost.
channel-number:
Channel number, ranging from 0 to 9, that is, system has ten
channels.
channel-name:
Specify the channel name. The name can be channel6,
channel7, channel8, channel9, console, logbuffer, loghost, monitor,
snmpagent, trapbuffer.
facility: Configure the recording tool of info-center loghost.
local-number:
Record tool of info-center loghost, ranging from local0 to local7.
language: Set the logging language.
chinese, english: Language used in log file.
Description
Use the info-center loghost command to set the IP address of the info-center
loghost to send information to it. Use the
undo info-center loghost command
to cancel output to info-center loghost.
By default, switches do not output information to info-center loghost.
This command takes effect only after the system logging is enabled.