Use this command to allow a dying-gasp notification to be sent through Syslog or Ethernet-OAM when the switch loses power or resets abruptly. The switch reset might be due to an unexpected software failure, a LOG_ERROR, or a user- triggered switch reload. The Dying Gasp feature also notifies dying gasp events as SNMP trap to the trap receiver
The ability to send a dying-gasp notification on loss of power depends on the platform hardware capability. The switch hardware must be able to supply back power for approximately 300 ms to send the dying gasp notification after the abrupt power loss or reset occurs.
| Format | dying-gasp primary {syslog | ethernet-oam | snmptrap} secondary { syslog | ethernet-oam |snmptrap} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| primary | Dying Gasp primary notification |
| secondary | Dying Gasp secondary notification |
| ethernet-oam | Enable Ethernet-OAM notification |
| syslog | Enable system logger |
| snmptrap | Enable SNMP trap notification |