The display snmp-agent trap feature-name vcmp all command displays all trap functions of the VCMP module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name vcmp all command to check the status of all traps of VCMP. You can use the snmp-agent trap enable feature-name vcmp command to enable the trap function of VCMP.
Prerequisites
SNMP has been enabled. See snmp-agent.
# Display all trap functions of the VCMP module.
<HUAWEI>display snmp-agent trap feature-name vcmp all
------------------------------------------------------------------------------ Feature name: VCMP Trap number : 2 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwVcmpServerMacConflict on on hwVcmpRevisionConflict on on
Item |
Description |
---|---|
Feature name |
Name of the module to which a trap message belongs. |
Trap number |
Number of trap messages. |
Trap name |
Name of a trap message of the VCMP module:
|
Default switch status |
Status of the default trap function:
|
Current switch status |
Status of the current trap function:
To specify the parameter, run the snmp-agent trap enable feature-name vcmp command. |