Use the following commands to define the filtering rules of the channels.
Perform the following operation in system view.
Table 41 Define the Filtering Rules of the Channels
Operation
Add the filtering record about a certain type
of information in a module to the information
channel
Delete the filtering record about a certain type
of information in a module or all the modules
from the channel
modu-name specifies the module name. level refers to the severity levels and
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.
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.
When there is more than one Telnet user or monitor user at the same time, some
configuration parameters are shared among the users, such as module-based
filtering settings and the severity threshold. When you modify these settings, the
changes affect all users.
Configuring the SNMP Timestamp Output Format
Perform the following operation in system view.
Table 42 Configuring the SNMP Timestamp Output Format
Operation
Configure the SNMP Timestamp Output
Format
Disable the output of the timestamp field
Configuring the Info-center Loghost
This configuration is performed on the info-center loghost. The following
configuration example is implemented on SunOS 4.0. The configurations on the
Unix operating systems of other vendors are similar.
1 Perform the following commands with the identity of root
mkdir /var/log/SW7700
touch /var/log/SW7700/config
touch /var/log/SW7700/security
2 Edit the file "/etc/syslog.conf" with the identity of root and add the following
selector/action pairs.
SW7700 configuration messages:
Maintaining and Debugging the System
Command
info-center source { modu-name | default }
channel { channel-number | channel-name } [
{ log | trap | debug } * { level severity | state
state ] } *
undo info-center source { modu-name |
default } channel { channel-number |
channel-name }
Command
info-center timestamp { log | trap |
debugging } { boot | date | none }
undo info-center timestamp { log | trap |
debugging }
343
Need help?
Do you have a question about the Switch 7700 and is the answer not in the manual?