3com 4500 PWR 26-PORT Manuel D’Utilisation

Page de 466
Log Commands
365
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.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]info-center logbuffer 50
[SW4500]
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. 
For the related commands, see 
info-center enable
display info-center
.