< Home

snmp-agent trap enable feature-name datasync

Function

The snmp-agent trap enable feature-name datasync command enables the trap function for the DataSync module.

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

By default, the trap function is enabled for the DataSync module.

Format

snmp-agent trap enable feature-name datasync [ trap-name hwcfgchgnotify ]

undo snmp-agent trap enable feature-name datasync [ trap-name hwcfgchgnotify ]

Parameters

Parameter Description Value
trap-name Enables the traps of DataSync events of specified types. -
hwcfgchgnotify Enables the device to send trap when the configuration has been changed. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The DataSync 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 configuration has been changed.

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