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.
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 } ]
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. |
- |
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.