3Com MSR 50 Series Configuration Manual page 2151

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

Configuration procedure
1 Configuring the device
# Enable information center.
<Sysname> system-view
[Sysname] info-center enable
# Specify the channel to output log information to the log host (optional, loghost
by default).
[Sysname] info-center loghost 1.2.0.1 channel loghost
# Disable the output of log, trap, and debug information of all modules to the log
host.
[Sysname] info-center source default channel loghost debug state off
log state off trap state off
c
CAUTION:
As the default system configurations for different channels vary, ensure that
the output of log, trap, and debug information for the specified channel
(loghost in this example) of all modules is disabled before the system
information can be output to meet the current network requirements.
Use the display channel command to display the state of a channel.
# Set the host with an IP address of 1.2.0.1/16 to be the log host, set the severity
to informational, and the source modules to be all modules.
[Sysname] info-center loghost 1.2.0.1 facility local7
[Sysname] info-center source default channel loghost log level informational
2 Configuring the log host
Step 1: issue the following commands as a root user.
# mkdir /var/log/MyDevice
# touch /var/log/MyDevice/information
Step 2: Edit the file /etc/syslog.conf as a root user and add the following
selector/action pair.
# MyDevice configuration messages
local7.info
n
Be aware of the following issues while editing the /etc/syslog.conf file
Comments must be on a separate line and must begin with the # sign.
The selector/action pair must be separated with a tab key, rather than a space.
No redundant spaces are allowed in the file name.
The device name and the accepted severity of the log information specified by
the /etc/syslog.conf file must be identical to those configured on the device
using the info-center loghost or info-center source command; otherwise
the log information may not be output properly to the log host.
Information Center Configuration Example
/var/log/MyDevice/information
2151

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

Do you have a question about the MSR 50 Series and is the answer not in the manual?

Table of Contents