The snmp-agent trap enable feature-name vcmp command enables the trap function for the VCMP module.
The undo snmp-agent trap enable feature-name vcmp command disables the trap function for the VCMP module.
By default, the trap function is enabled for the VCMP module.
snmp-agent trap enable feature-name vcmp [ trap-name { hwvcmprevisionconflict | hwvcmpservermacconflict } ]
undo snmp-agent trap enable feature-name vcmp [ trap-name { hwvcmprevisionconflict | hwvcmpservermacconflict } ]
Parameter | Description | Value |
---|---|---|
trap-name |
Enables or disables the trap function for the specified event. |
- |
hwvcmprevisionconflict |
Sends a Huawei proprietary trap when the server in a VCMP domain receives a VCMP packet with a higher revision number. |
- |
hwvcmpservermacconflict |
Sends a Huawei proprietary trap when multiple servers coexist in the same VCMP domain. |
- |
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.