When configuring information center, go to
these sections for information you are interested in:
l
Information
Center Overview
l
Configuring
Information Center
l
Displaying
and Maintaining Information Center
l
Information
Center Configuration Examples
1.1.1 Introduction to Information Center
Acting as the system information hub,
information center classifies and manages system information. Together with the
debugging functionality, information center offers a powerful support for
network administrators and developers in monitoring network performance and
diagnosing network problems.
By default, the
information center is enabled. An enabled information center affects the system
performance in some degree due to information classification and output. Such impact
becomes more obvious in the event that there is enormous information waiting
for processing.
The information center of the system has
the following features:
I. Classification of system
information
The system is available with three types of
information:
l
Log information
l
Trap information
l
Debugging information
II. Eight levels of system
information
The information is classified into eight
levels by severity and can be filtered by level. More emergent information has
a smaller severity level.
Table 1-1 Severity description
|
Severity
|
Severity value
|
Description
|
|
emergencies
|
0
|
The system is unavailable.
|
|
alerts
|
1
|
Information that demands prompt reaction
|
|
critical
|
2
|
Critical information
|
|
errors
|
3
|
Error information
|
|
warnings
|
4
|
Warnings
|
|
notifications
|
5
|
Normal information that needs to be
noticed
|
|
informational
|
6
|
Informational information to be recorded
|
|
debugging
|
7
|
Information generated during debugging
|
Information filtering by severity works this
way: information with the severity value greater than the configured threshold
is not output during the filtering.
l
If the threshold is set to 0, only information
with the severity being emergencies will be output;
l
If the threshold is set to 7, information of all
severities will be output.
III. Ten channels and six output
destinations of system information
The system supports six information output
destinations, including the console, monitor, logbuffer, loghost, trapbuffer,
and SNMP.
The system supports ten channels. The
channels 0 through 5 have their default channel names and are associated with
six output destinations by default. Both the channel names and the associations
between the channels and output destinations can be changed through commands.
Table 1-2 Information channels and
output destinations
|
Information channel number
|
Default channel name
|
Default output destination
|
|
0
|
console
|
Console
(Receives log, trap and debugging information)
|
|
1
|
monitor
|
Monitor
terminal (Receives log, trap and debugging information, facilitating remote
maintenance)
|
|
2
|
loghost
|
Log host (Receives log, trap and
debugging information and information will be stored in files for future
retrieval.)
|
|
3
|
trapbuffer
|
Trap buffer (Receives trap information, a
buffer inside the router for recording information.)
|
|
4
|
logbuffer
|
Log buffer (Receives log information, a
buffer inside the router for recording information.)
|
|
5
|
snmpagent
|
SNMP NMS (Receives trap information)
|
|
6
|
channel6
|
Not specified (Receives log, trap, and
debugging information)
|
|
7
|
channel7
|
Not specified (Receives log, trap, and
debugging information)
|
|
8
|
channel8
|
Not specified (Receives log, trap, and
debugging information)
|
|
9
|
channel9
|
Not specified (Receives log, trap, and
debugging information)
|
Configurations for the
six output destinations function independently and take effect only after the
information center is enabled.
IV. Outputting system information
by source module
The system is composed of a variety of
protocol modules, board drivers, and configuration modules. The system
information can be classified, filtered, and output by source module. Some
source module names and descriptions are shown in Table 1-3.
Table 1-3 Source module list
|
Module name
|
Description
|
|
8021X
|
802.1X module
|
|
ACL
|
Access Control List module
|
|
ARP
|
Address Resolution Protocol module
|
|
BGP
|
Border Gateway Protocol module
|
|
CFM
|
Configuration File Management module
|
|
CLST
|
Cluster Configuration module
|
|
CMD
|
Command line module
|
|
default
|
Default setting of all modules
|
|
DEV
|
Device management module
|
|
DHCP
|
Dynamic Host Configuration Protocol
module
|
|
DNS
|
Domain Name System module
|
|
ETH
|
Ethernet module
|
|
FTPS
|
FTP Server module
|
|
GARP
|
Generic Attribute Registration Protocol
module
|
|
HABP
|
Huawei Authentication Bypass Protocol
module
|
|
HWCM
|
Huawei Configuration Management MIB
module
|
|
IFNET
|
Interface management module
|
|
IP
|
Internet Protocol module
|
|
ISIS
|
Intermediate System-to-Intermediate
System intra-domain routing information exchange protocol module
|
|
LAGG
|
Link Aggregation module
|
|
LINE
|
Line module
|
|
MSDP
|
Multicast Source Discovery Protocol
module
|
|
MSTP
|
Multiple Spanning Tree Protocol module
|
|
NAT
|
Network Address Translation module
|
|
NTP
|
Network Time Protocol module
|
|
PKI
|
Public Key Infrastructure module
|
|
OSPF
|
Open Shortest Path First module
|
|
POE
|
Power over Ethernet module
|
|
QoS
|
Quality of Service module
|
|
RDS
|
Radius module
|
|
RM
|
Routing Management module
|
|
RMON
|
Remote monitor module
|
|
SHELL
|
User interface module
|
|
SNMP
|
Simple Network Management Protocol module
|
|
SOCKET
|
Socket module
|
|
SSH
|
Secure Shell module
|
|
SYSMIB
|
System MIB module
|
|
TAC
|
Terminal Access Controller module
|
|
TELNET
|
Telnet module
|
|
UDPH
|
UDP Helper module
|
|
VFS
|
Virtual File System module
|
|
VLAN
|
Virtual Local Area Network module
|
|
VOS
|
Virtual Operating System module
|
|
VRRP
|
Virtual Router Redundancy Protocol module
|
|
VTY
|
Virtual Type Terminal module
|
To sum up, the major task of the
information center is to output the three types of information of the modules onto
the ten channels in terms of the eight severity levels and according to the
user’s settings, and then redirect the system information from ten
channels to the six output destinations.
1.1.2 System Information Format
System information has the following format:
<priority>timestamp sysname
module/level/digest:content
l
The closing set of angel brackets < >, the
space, the forward slash /, and the colon are all required in the above format.
l
Before the <priority>, there may be a %,
“#, or * followed with a space, indicating log, alarm, or debugging
information respectively.
l
This format is the standard format of system
information. After the system information is sent to the log host, the
displayed format depends on the tools you use to view the logs.
Below is an example of the format of log
information to be output to a log host:
% <188>Sep 28 15:33:46:235 2005
MyDevice SHELL/5/LOGIN: Console login from aux0
What follows is a detailed explanation of
the fields involved:
I. Priority
The priority is calculated using the
following formula: facility*8+severity, in which facility represents the
logging facility name and can be configured when you set the log host
parameters. The facility ranges from local0 to local7 (16 to 23 in decimal
integers) and defaults to local7. The facility is mainly used to mark different
log sources on the log host, query and filter the logs of the corresponding log
source. Severity ranges from 0 to 7. Table 1-1 details the value and meaning
associated with each severity.
Note that there is no space between the
priority and timestamp fields and that the priority takes effect only when the
information has been sent to the log host.
II. Timestamp
Timestamp records the time when system
information is generated to allow users to check and identify system events.
Note that there is a space between the
timestamp and sysname (host name) fields.
III. Sysname
Sysname is the system name of the current
host. You can use the sysname command to modify the system name. (Refer
to System Maintaining and Debugging for details)
Note that there is a space between the
sysname and module fields.
IV. Module
The module field represents the name of the
module that generates system information. You can enter the info-center
source ? command in system view to view the module list.
Refer to Table 1-3 for module name and description.
Between “module” and
“level” is a “/”.
V. Level (Severity)
System information can be divided into
eight levels based on its severity, from 0 to 7. Refer to Table 1-1 for
definition and description of these severity levels. Note that there is a
forward slash between the levels (severity) and digest fields.
VI. Digest
The digest field is a string of up to 32
characters, outlining the system information.
Note that there is a colon between the
digest and content fields.
VII. Content
This field provides the content of the
system information.
1.2 Configuring Information Center
1.2.1 Information Center Configuration Task
List
Complete the following tasks to configure
information center:
I. Setting to output system
information to the console
|
To do…
|
Use the command…
|
Remarks
|
|
Enter system view
|
system-view
|
—
|
|
Enable information center
|
info-center enable
|
Optional
Enabled by default
|
|
Name the channel with a specified channel
number
|
info-center channel channel-number name channel-name
|
Optional
Refer to Table 1-2 for default channel names.
|
|
Configure the channel through which
system information can be output to the console
|
info-center console channel { channel-number | channel-name
}
|
Optional
System information is output to the console
by default, with channel 0 as the default channel.
|
|
Configure the output rules of system
information
|
info-center source { module-name | default } channel
{ channel-number | channel-name } [ debug {
level severity | state state } * | log { level
severity | state state } * | trap { level severity
| state state } * ] *
|
Optional
Refer to Table 1-4 for the default output rules
of system information.
|
|
Configure the format of the time stamp
|
info-center timestamp { debugging | log | trap } { boot |
date | none }
|
Optional
The time stamp format for log, trap and
debugging information is date by default.
|
Table 1-4 Default output rules for
different output destinations
|
Output destination
|
Modules allowed
|
LOG
|
TRAP
|
DEBUG
|
|
Enabled/disabled
|
Severity
|
Enabled/disabled
|
Severity
|
Enabled/disabled
|
Severity
|
|
Console
|
default (all modules)
|
Enabled
|
warnings
|
Enabled
|
debugging
|
Enabled
|
debugging
|
|
Monitoring terminal
|
default (all modules)
|
Enabled
|
warnings
|
Enabled
|
debugging
|
Enabled
|
debugging
|
|
Log host
|
default (all modules)
|
Enabled
|
informational
|
Enabled
|
debugging
|
Disabled
|
debugging
|
|
Trap buffer
|
default (all modules)
|
Disabled
|
informational
|
Enabled
|
warnings
|
Disabled
|
debugging
|
|
Log buffer
|
default (all modules)
|
Enabled
|
warnings
|
Disabled
|
debugging
|
Disabled
|
debugging
|
|
SNMP NMS
|
default (all modules)
|
Disabled
|
debugging
|
Enabled
|
warnings
|
Disabled
|
debugging
|
II. Enabling the display of system
information on the console
After setting to output system information to
the console, you need to enable the associated display function to display the
output information on the console.
Follow these steps in user view to enable
the display of system information on the console:
|
To do…
|
Use the command…
|
Remarks
|
|
Enable the monitoring of system
information on the console
|
terminal monitor
|
Optional
Enabled on the console and disabled on
the monitoring terminal by default.
|
|
Enable the display of debugging
information on the console
|
terminal debugging
|
Required
Disabled by default
|
|
Enable the display of log information on
the console
|
terminal logging
|
Optional
Enabled by default
|
|
Enable the display of trap information on
the console
|
terminal trapping
|
Optional
Enabled by default
|
System information can also be output to a
monitor terminal, which is a user terminal that has login connections through
the AUX, or VTY user interface.
I. Setting to output system
information to a monitor terminal
|
To do…
|
Use the command…
|
Remarks
|
|
Enter system view
|
system-view
|
—
|
|
Enable information center
|
info-center enable
|
Optional
Enabled by default
|
|
Name the channel with a specified channel
number
|
info-center channel channel-number name channel-name
|
Optional
Refer to Table 1-2 for default channel names.
|
|
Configure the channel through which
system information can be output to a monitor terminal
|
info-center monitor channel { channel-number | channel-name }
|
Optional
System information is output to the monitor
terminal by default with channel 1 as the default channel.
|
|
Configure the output rules of the system
information
|
info-center source { module-name | default } channel
{ channel-number | channel-name } [ debug {
level severity | state state } * | log {
level severity | state state } * | trap {
level severity | state state } * ] *
|
Optional
Refer to Table 1-4 for the default output rules
of the system information.
|
|
Configure the format of the time stamp
|
info-center timestamp { debugging | log | trap } { boot |
date | none }
|
Optional
By default, the time stamp format for
log, trap and debugging information is date.
|
II. Enabling the display of system
information on a monitor terminal
After setting to output system information
to a monitor terminal, you need to enable the associated display function in
order to display the output information on the monitor terminal.
Follow these steps to enable the display of
system information on a monitor terminal:
|
To do…
|
Use the command…
|
Remarks
|
|
Enable the monitoring of system
information on a monitor terminal
|
terminal monitor
|
Required
Enabled on the console disabled on the monitoring
terminal by default.
|
|
Enable the display of debugging
information on a monitor terminal
|
terminal debugging
|
Required
Disabled by default
|
|
Enable the display of log information on
a monitor terminal
|
terminal logging
|
Optional
Enabled by default
|
|
Enable the display of trap information on
a monitor terminal
|
terminal trapping
|
Optional
Enabled by default
|
|
To do…
|
Use the command…
|
Remarks
|
|
Enter system view
|
system-view
|
—
|
|
Enable information center
|
info-center enable
|
Optional
Enabled by default
|
|
Name the channel with a specified channel
number
|
info-center channel channel-number name channel-name
|
Optional
Refer to Table 1-2 for default channel names.
|
|
Specify a log host and configure the
parameters when system information is output to the log host
|
info-center loghost host-ip [ channel { channel-number
| channel-name } | facility local-number
] *
|
Required
By default, the system does not output
information to a log host. If you specify to output system information to a
log host, the system uses channel 2 (loghost) by default.
|
|
Configure the source interface through
which log information can be output to a log host
|
info-center loghost source interface-type interface-number
|
Optional
No source interface is configured by
default, and the system selects an interface as the source interface.
|
|
Configure the output rules of the system
information
|
|