< Home

snmp-agent trap enable feature-name info

Function

snmp-agent trap enable feature-name info command enables the trap function of the Information Center module.

undo snmp-agent trap enable feature-name info command disables the trap function of the Information Center module.

By default, the trap function of the Information Center module is enabled.

Format

snmp-agent trap enable feature-name info [ trap-name { hwiclogbufferlose | hwiclogfileaging } ]

undo snmp-agent trap enable feature-name info [ trap-name { hwiclogbufferlose | hwiclogfileaging } ]

Parameters

Parameter Description Value
trap-name Indicates the trap of a specified event type of the information center module. If the trap-name parameter is not specified, all the traps of the information center module are enabled. -
hwiclogbufferlose Enables or disables the trap generated when some logs in the log buffer were lost because of storage space insufficiency. -
hwiclogfileaging Enables or disables the trap generated when a log file aged and then was deleted. -

Views

System view

Default Level

3: Management level

Usage Guidelines

After the trap function is enabled, the trap about the Information Center module generated when the device is running will be sent to the NMS. Otherwise, the trap about the Information Center module will not be sent to the NMS. If you want to enable a specific trap or several traps, choose the trap-name parameter.

Example

# Enables hwiclogfileaging for the Information Center module.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name info trap-name hwiclogfileaging
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >