snmp-agent trap enable feature-name unimbrtrap command enables the trap function for the UNIMBRTRAP module.
undo snmp-agent trap enable feature-name unimbrtrap command disables the trap function for the UNIMBRTRAP module.
By default, the trap function is enabled for the UNIMBRTRAP module.
This command can only be executed on a parent switch.
snmp-agent trap enable feature-name unimbrtrap [ trap-name { hwasboardfail | hwasboardfailresume | hwasboardinvalid | hwasboardinvalidresume | hwasbrdtempalarm | hwasbrdtempresume | hwascommunicateerror | hwascommunicateresume | hwascpuutilizationresume | hwascpuutilizationrising | hwasfaninsert | hwasfaninvalid | hwasfaninvalidresume | hwasfanremove | hwasmadconflictdetect | hwasmadconflictresume | hwasmemutilizationresume | hwasmemutilizationrising | hwasopticalinvalid | hwasopticalinvalidresum | hwaspowerinsert | hwaspowerinvalid | hwaspowerinvalidresum | hwaspowerremove | hwunimbrasdiscoverattack | hwunimbrconnecterror | hwunimbrfabricportmemberdelete | hwunimbrillegalfabricconfig | hwunimbrlinkstatechange | hwunimbrasserviceabnormal } ]
undo snmp-agent trap enable feature-name unimbrtrap [ trap-name { hwasboardfail | hwasboardfailresume | hwasboardinvalid | hwasboardinvalidresume | hwasbrdtempalarm | hwasbrdtempresume | hwascommunicateerror | hwascommunicateresume | hwascpuutilizationresume | hwascpuutilizationrising | hwasfaninsert | hwasfaninvalid | hwasfaninvalidresume | hwasfanremove | hwasmadconflictdetect | hwasmadconflictresume | hwasmemutilizationresume | hwasmemutilizationrising | hwasopticalinvalid | hwasopticalinvalidresum | hwaspowerinsert | hwaspowerinvalid | hwaspowerinvalidresum | hwaspowerremove | hwunimbrasdiscoverattack | hwunimbrconnecterror | hwunimbrfabricportmemberdelete | hwunimbrillegalfabricconfig | hwunimbrlinkstatechange | hwunimbrasserviceabnormal } ]
Parameter |
Description |
Value |
---|---|---|
trap-name |
Enables or disables the trap function for the specified event. |
- |
hwasboardfail |
Enables the trap function when an AS becomes unavailable partially. |
- |
hwasboardfailresume |
Enables the trap function when an AS becomes available. |
- |
hwasboardinvalid |
Enables the trap function when an AS is invalid. |
- |
hwasboardinvalidresume |
Enables the trap function when an AS is valid. |
- |
hwasbrdtempalarm |
Enables the trap function when the AS temperature is out of the normal range. |
- |
hwasbrdtempresume |
Enables the trap function when the AS temperature restores to the normal range. |
- |
hwascommunicateerror |
Enables the trap function when a communication fault occurs. |
- |
hwascommunicateresume |
Enables the trap function when a communication fault is rectified. |
- |
hwascpuutilizationresume |
Enables the trap function when the AS CPU usage falls below the threshold. |
- |
hwascpuutilizationrising |
Enables the trap function when the AS CPU usage exceeds the threshold. |
- |
hwasfaninsert |
Enables the trap function when an AS fan module is installed. |
- |
hwasfaninvalid |
Enables the trap function when an AS fan module becomes unavailable completely. |
- |
hwasfaninvalidresume |
Enables the trap function when an AS fan module becomes available. |
- |
hwasfanremove |
Enables the trap function when an AS fan module is removed. |
- |
hwasmadconflictdetect |
Enables the trap function when a MAD conflict is detected. |
- |
hwasmadconflictresume |
Enables the trap function when a MAD conflict is resolved. |
- |
hwasmemutilizationresume |
Enables the trap function when the AS memory usage restores to the normal range. |
- |
hwasmemutilizationrising |
Enables the trap function when the AS memory usage exceeds the threshold. |
- |
hwasopticalinvalid |
Enables the trap function when the AS optical module is invalid. |
- |
hwasopticalinvalidresum |
Enables the trap function when the AS optical module is valid. |
- |
hwaspowerinsert |
Enables the trap function when an AS power module is installed. |
- |
hwaspowerinvalid |
Enables the trap function when an AS power module is invalid. |
- |
hwaspowerinvalidresum |
Enables the trap function when an AS power module is valid. |
- |
hwaspowerremove |
Enables the trap function when an AS power module is removed. |
- |
hwunimbrasdiscoverattack |
Enables the trap function when an AS discovers attacks. |
- |
hwunimbrconnecterror |
Enables the trap function when cable connection of a fabric port is incorrect. |
- |
hwunimbrfabricportmemberdelete |
Enables the trap function when a member port of a fabric port is removed. |
- |
hwunimbrillegalfabricconfig |
Enables the trap function when the fabric port configuration is invalid. |
- |
hwunimbrlinkstatechange |
Enables the trap function when the connection status changes. |
- |
hwunimbrasserviceabnormal |
Enables the trap function when services on an AS become abnormal. |
- |
When the trap function is enabled, the device generates traps during running and sends traps to the NMS through SNMP. When the trap function is not enabled, the device does not generate traps and the SNMP module does not send traps to the NMS.
You can specify trap-name to enable the trap function for one or more events.