The snmp-agent trap enable feature-name configuration command enables the trap function for the Configuration module.
The undo snmp-agent trap enable feature-name configuration command disables the trap function for the Configuration module.
For details about whether the trap function for the Configuration module is enabled or disabled by default, see display snmp-agent trap feature-name configuration all.
snmp-agent trap enable feature-name configuration [ trap-name { hwcfgb2soperate | hwcfgb2stransferfail | hwcfgmaneventlog | hwcfgoperatecompletion | hwcfgrestorefail } ]
undo snmp-agent trap enable feature-name configuration [ trap-name { hwcfgb2soperate | hwcfgb2stransferfail | hwcfgmaneventlog | hwcfgoperatecompletion | hwcfgrestorefail } ]
Parameter |
Description |
Value |
---|---|---|
trap-name | Enables the traps of Configuration events of specified types. | - |
hwcfgb2soperate | Enables the device to send a trap when the device starts to back up the configuration file on the server. | - |
hwcfgb2stransferfail | Enables the device to send a trap when the configuration file fails to be backed up on the server. | - |
hwcfgmaneventlog | Enables the device to send a trap when the system event is changed. | - |
hwcfgoperatecompletion | Enables the device to send a trap when the copy operation of system configuration is complete. | - |
hwcfgrestorefail | Enables the device to send a trap when the system restores system configurations failed. | - |