< Home

snmp-agent trap enable feature-name configuration

Function

The snmp-agent trap enable feature-name configuration command enables the trap function for the Configuration module.

The undo snmp-agent trap enable feature-name configuration command disables the trap function for the Configuration module.

By default, the trap function is disabled for the Configuration module.

Format

snmp-agent trap enable feature-name configuration [ trap-name { hwcfgb2soperate | hwcfgb2stransferfail | hwcfgmaneventlog | hwcfgoperatecompletion } ]

undo snmp-agent trap enable feature-name configuration [ trap-name { hwcfgb2soperate | hwcfgb2stransferfail | hwcfgmaneventlog | hwcfgoperatecompletion } ]

Parameters

Parameter Description Value
trap-name Enables the traps of Configuration events of specified types. -
hwcfgb2soperate Enables the device to send trap when the device begins to back up the configuration to specified server automatically. -
hwcfgb2stransferfail Enables the device to send trap when the system fails to back up the configuration to specified server automatically. -
hwcfgmaneventlog Enables the device to send trap when the system configuration is changed. -
hwcfgoperatecompletion Enables the device to send trap when the copy operation of system configuration is complete. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The Configuration module is not configured with the function of excessive traps. To enable the traps of one or more events, you can specify trap-name.

Example

# Enables the device to send trap when the copy operation of system configuration is complete.

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