3Com Switch 8800 Configuration Guide
Chapter 46 System Maintenance and Debugging
46-15
Table 46-21
Configure to output information to the loghost
Operation
Command
Output information to the loghost
info
-
center loghost host
-
ip
-
addr
[
channel
{
channel
-
number
|
channel
-
name
} |
facility
local
-
number
|
language
{
chinese
|
english
} ]*
Cancel the configuration of
outputting information to loghost
undo info-center loghost host
-
ip
-
addr
Note that the IP address of log host must be correct.
Note:
Ensure to enter the correct IP address using the
info
-
center loghost
command to
configure loghost IP address. If you enter a loopback address, the system prompts of
invalid address appears.
3)
Configuring information source on the switch
By this configuration, you can define the information that sent to console terminal is
generated by which modules, information type, information level, and so on.
Perform the following configuration in system view.
Table 46-22
Define information source
Operation
Command
Define information source
info
-
center source
{
modu
-
name
|
default
}
channel
{
channel
-
number
|
channel
-
name
}
[
debug
{
level
severity
|
state
state
}* |
log
{
level
severity
|
state
state
}* |
trap
{
level
severity
|
state
state
}* ]*
Cancel the configuration of
information source
undo info
-
center source
{
modu
-
name
|
default
|
all
}
channel
{
channel
-
number
|
channel
-
name
}
modu
-
name
specifies the module name;
default
represents all the modules;
all
represents all the information filter configuration in channelnum chunnel except default;
level
refers to the severity levels;
severity
specifies the severity level of information.
The information with the level below it will not be output.
channel
-
number
specifies the
channel number and
channel
-
name
specifies the channel name.
When defining the information sent to the loghost,
channel
-
number
or
channel
-
name
must be set to the channel that corresponds to loghost direction.