3Com 5500-SI Switch User Manual


 
Logging Function 477
Table 534 Configuring to Output Information to Control Terminal
3 Configuring the information source on the Switch.
With this configuration, you can define the information sent to the control terminal
that is generated by which modules, information type, information level, and so on.
Perform the following operation in System View:
Table 535 Defining Information Source
modu-name specifies the module name; default represents all the modules; 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 control terminal,
channel-number or
channel-name must be set to the channel that corresponds to the Console direction.
Every channel has been set with a default record, whose module name is
default
and the module number is 0xffff0000. However, for different channels, the default
record may have different default settings of log, trap and debugging. When there is
no specific configuration record for a module in the channel, use the default one.
If you want to view the debugging information of some modules on the Switch, you
must select
debugging as the information type when configuring information source,
meantime using the
debugging command to turn on the debugging Switch of those
modules.
You can use the following commands to configure log information, debugging
information and the time-stamp output format of trap information.
Perform the following operation in System View:
Table 536 Configuring the Output Format of Time-stamp
4 Enable terminal display function
To view the output information at the control terminal, you must first enable the
corresponding log, debugging and trap information functions at the Switch.
For example, if you have set the log information as the information sent to the control
terminal, now you need to use the
terminal logging command to enable the
terminal display function of log information on the Switch, then you can view the
information at the control terminal.
Operation Command
Output information to Console info-center console channel{ channel-number
| channel-name }
Cancel the configuration of
outputting information to Console
undo info-center console channel
Operation Command
Define information source info-center source { modu-name | default }
channel { channel-number | channel-name } [ {
log | trap | debug }* { level severity | state
state }* ]
Cancel the configuration of
information source
undo info-center source { modu-name | default }
channel { channel-number | channel-name }
Operation Command
Configure the output format of
the time-stamp
info-center timestamp { log | trap | debugging
} { boot | date | none }
Output time-stamp is disabled undo info-center timestamp { log | trap |
debugging }