beautypg.com

Outputting system information to the snmp module – H3C Technologies H3C MSR 50 User Manual

Page 206

background image

Step Command

Remarks

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.

503.

Configure an output rule for

the log buffer.

See "Default output rules of system
information
."

Optional.

504.

Configure the timestamp
format.

info-center timestamp { debugging
| log | trap } { boot | date | none }

The timestamp format for log, trap
and debug information is date by

default.

Outputting system information to the SNMP module

The SNMP module only receives trap information, and discards log and debug information.
To monitor the device running status, trap information is usually sent to the SNMP network management

system (NMS). For this purpose, you must configure output of traps to the SNMP module, and set the trap

sending parameters for the SNMP module. For more information about SNMP, see "Configuring SNMP."
To output system information to the SNMP module:

Step Command

Remarks

505.

Enter system view.

system-view

N/A

Optional.

506.

Enable the information center. info-center enable

Enabled by default.

Optional.

info-center channel
channel-number name
channel-name

507.

Name the channel with a

specified channel number.

See

Table 6

for default channel

names.

Optional.

info-center snmp channel

{ channel-number |
channel-name }

By default, system information is
output to the SNMP module

through channel 5 (known as

snmpagent).

508.

Configure an output channel
for the SNMP module.

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.

509.

Configure an output rule for

the SNMP module.

See "Default output rules of system
information
."

Optional.

510.

Configure the timestamp
format.

info-center timestamp { debugging
| log | trap } { boot | date | none }

The timestamp format for log, trap
and debug information is date by

default.

193