2441

Use the undo info-center source command to remove the specified output rules.

By default, the output rules for the system information are listed in Table 633.

This command can be used to filter and redirect system information.

For example, the user can set to output log information with severity higher than warnings to the log host, and information with severity higher than informational to the log buffer. The user can also set to output trap information of the IP module to a specified output direction.

Note that:

If you do not use the module-nameargument to set output rules for a module, the module uses the default output rules or the output rules set by the default keyword; otherwise the module uses the output rules separately set for it.

When you use the module-nameargument to separately set the output rules for a module, the default output rules for the module become: Log and trap information is enabled, with severity being informational; debug information is disabled, with severity being debugging.

After you separately set the output rules for a module, you must use the module-nameargument to modify or remove the rules. The new configuration by using the default keyword is invalid on the module.

Table 633 Default output rules for different output directions

 

 

LOG

 

TRAP

 

DEBUG

 

Output

Modules

Enabled/

 

Enabled/

 

Enabled/

 

direction

allowed

disabled

Severity

disabled

Severity

disabled

Severity

 

 

 

 

 

 

 

 

Console

default (all

Enabled

warnings

Enabled

debuggin

Enabled

debuggin

 

modules)

 

 

 

g

 

g

 

 

 

 

 

 

 

 

Monitorin

default (all

Enabled

warnings

Enabled

debuggin

Enabled

debuggin

g terminal

modules)

 

 

 

g

 

g

 

 

 

 

 

 

 

 

Log host

default (all

Enabled

informatio

Enabled

debuggin

Disabled

debuggin

 

modules)

 

nal

 

g

 

g

 

 

 

 

 

 

 

 

Trap

default (all

Disabled

informatio

Enabled

warnings

Disabled

debuggin

buffer

modules)

 

nal

 

 

 

g

 

 

 

 

 

 

 

 

Log buffer

default (all

Enabled

warnings

Disabled

debuggin

Disabled

debuggin

 

modules)

 

 

 

g

 

g

 

 

 

 

 

 

 

 

SNMP

default (all

Disabled

debuggin

Enabled

warnings

Disabled

debuggin

NMS

modules)

 

g

 

 

 

g

 

 

 

 

 

 

 

 

Log file

default (all

Enabled

debuggin

Enabled

debuggin

Disabled

debuggin

 

modules)

 

g

 

g

 

g

 

 

 

 

 

 

 

 

Example # Set the output channel for the log information of VLAN module to snmpagent and to output information with severity being emergencies.

<Sysname> system-view

[Sysname] info-center source vlan channel snmpagent log level emergencies

Page 2441
Image 2441
3Com MSR 50, MSR 30 manual Default output rules for different output directions, 2441, Nms