Outputting system information to the console
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable the information center. | info-center enable | Optional. Enabled by default. |
3. Specify a name for a channel identified by its number. | info-center channel channel-number name channel-name | Optional. See Table 2 for default channel names. |
4. Configure an output channel for the console. | info-center console channel { channel-number | channel-name } | Optional. By default, system information is output to the console through channel 0 (known as console). |
5. Configure an output rule for the console. | 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. |
6. Configure the timestamp format. | info-center timestamp { debugging | log | trap } { boot | date | none } | Optional. By default, the timestamp format for log, trap and debugging information is date. |
7. Return to user view. | quit | N/A |
8. Enable system information output to the console. | terminal monitor | Optional. The default setting is enabled. |
9. Enable the display of system information on the console. |
| Optional. By default, the console displays log and trap information, and discards debug information. |