3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2437
Parameter
dir-name: The name of the directory where a log file is saved, a string of 1 to 64 
characters.
Description
Use the info-center logfile switch-directory command to configure the 
directory where a log file is saved. For a device supporting CF partition, the 
directory to save a log file is the logfile directory in the second partition (cf1:) of 
the storage device. Ensure that the directory is created first before saving a log file 
into it.
By default, the directory to save a log file is the logfile directory under the root 
directory of the storage device.
Note that this command can be used to manually configure the directory to which 
a log file can be saved. The configuration will lose after system restarts or 
primary/backup switchover.
Example
# Create a directory with the name test under cf root directory.
<Sysname> mkdir test
%Created dir cf:/test. 
# Set the directory to save the log file to cf:/test.
<Sysname> system-View
[Sysname] info-center logfile switch-directory cf:/test 
info-center loghost
Syntax
info-center loghost host-ip [ channel { channel-number | channel-name facility 
local-number ] *
undo info-center loghost host-ip
View
System view
Parameter
host-ip: The IP address of the log host.
channel: Specifies the channel through which system information can be output 
to the log host.
channel-number: Specifies a channel number, in the range 0 to 9.
channel-name: Specifies a channel name, which could be a default name or one 
that is defined by the user. The user needs to specify a channel name first before 
using it as a self-defined channel name. For more information, refer to 
“info-center channel name” on page 2432.
facility local-number: The logging facility of the log host The value can be local0 
to local7 and defaults to local7.
Description
Use the info-center loghost command to specify a log host and to configure 
the related parameters.