< Home

snmp-agent trap enable feature-name easyoperatrap

Function

snmp-agent trap enable feature-name easyoperatrap command enables the trap function for the EASYOPERATRAP module.

undo snmp-agent trap enable feature-name easyoperatrap command disables the trap function for the EASYOPERATRAP module.

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

Format

snmp-agent trap enable feature-name easyoperatrap [ trap-name { hweasyoperationclientadded | hweasyoperationclientjoinnotpermit | hweasyoperationclientlost } ]

undo snmp-agent trap enable feature-name easyoperatrap [ trap-name { hweasyoperationclientadded | hweasyoperationclientjoinnotpermit | hweasyoperationclientlost } ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for a specified EASYOPERATRAP event.

-

hweasyoperationclientadded

Enables the trap function when a client is added.

-

hweasyoperationclientjoinnotpermit

Enables the trap function when the request of an unauthorized client is received.

-

hweasyoperationclientlost

Enables the trap function when a client leaves the management domain of the Commander.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When the trap function is enabled, a running device can generate traps and send the traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps or send traps to the NMS.

You can specify trap-name to enable the trap function for one or more events.

Example

# Enable the hweasyoperationclientadded trap of the EASYOPERATRAP module.

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