Logging Function 263
Figure 72 Turn on/off the Information Synchronization Switch in Fabric
Sending the Information
to Loghost
To send information to loghost, follow the steps below:
1 Perform the following operation in System View.
Tab le 286 Enable/disable info-center
Info-center is enabled by default. After info-center is enabled, system
performances are affected when the system processes much information because
of information classification and outputting.
2 Configuring to output information to loghost
Perform the following operation in system view.
Figure 73 Configuring to output information to loghost
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 loghost is
generated by which modules, information type, information level, and so on.
Perform the following operation in system view.
Device Configuration Default Value
Configuration
Description
Switch
Enable info-center By default, info-center is
enabled.
Other configurations are
valid only if the
info-center is enabled.
Set the information
output direction to
SNMP
By default, Switches of master
log in Fabric, debugging and trap
information synchronization are
turned on, so as log and strap
information synchronization
Switches in other Switches.
This configuration can
keep log information,
debugging information
and trap information in
Fabric in every Switch
synchronized.
Operation Command
Enable info-center info-center enable
Disable info-center undo info-center enable
Operation Command
Output information to 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