
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 informationThe 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
& Note: Configurations for the six output destinations function independently and take effect only after the information center is enabled.
IV. Outputting system information by source moduleThe 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.
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.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Task |
Remarks |
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
|
Optional |
|
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/ |
Severity |
Enabled/ |
Severity |
Enabled/ |
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 |
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.
|
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. |
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… |
< |