Cisco RPD 8.4 supports the Dying Gasp feature, allowing you to receive a UDP syslog message notification when a Node RPD loses
power.
Dying Gasp is enabled by default on RPD firmware version 8.4 or later, and if the power-controller firmware is at version
2.05 or later.
To enable Dying Gasp, ensure that the default power-controller firmware is version 2.05 or later.
A syslog message example is as follows:
Feb 14 17:06:37 SYSTEM.CRITICAL 2020-02-14 22:08:30
POWER OFF ALARM NOTIFICATION; RPD-ID: 00:01:02:03:04:05
The RPD sends multiple copies of the message to the syslog server as it loses power. This ensures that the syslog server recieves
the notification.
Complete the following steps to configure Dying Gasp:
-
Configure the Node RPD syslog server information through the DHCP server.
Ensure that you use a valid IP address for the syslog server that is reachable from the RPD. An invalid IP address can cause
loss of service.
-
Update Node RPD power controller firmware to version V2.05. Run the following CLI on the RPD to update the power controller
firmware:
firmware power-controller [update|version|verify]
For example:
R-PHY# firmware power-controller
update update adm1260 firmware
verify verify the firmware in chip
version show adm1260 firmware version
R-PHY# firmware power-controller version
chip 0: version:V2.03
chip 1: version:V2.03
chip 2: version:V2.03
The firmware power-controller verify verification function compares the power-controller firmware with the current RPD release.
R-PHY# firmware power-controller verify
Verify input Ihex file for chip 0: OK
Verify input Ihex file for chip 1: OK
Verify input Ihex file for chip 2: OK
Successful verification of /firmware/Adm1260_v2_05.hex, checking firmware version next
chip 0: version:V2.05 file 0: version:V2.05
chip 1: version:V2.05 file 1: version:V2.05
chip 2: version:V2.05 file 2: version:V2.05
chip 0, verifying eeprom: OK
chip 1, verifying eeprom: OK
chip 2, verifying eeprom: OK
R-PHY#
R-PHY#firmware power-controller update
Verify input Ihex file for chip 0: OK
Verify input Ihex file for chip 1: OK
Verify input Ihex file for chip 2: OK
Successful verification of /firmware/Adm1260_v2_05.hex, checking firmware version next
chip 0: version:V2.03 file 0: version:V2.05
chip 1: version:V2.03 file 1: version:V2.05
chip 2: version:V2.03 file 2: version:V2.05
Warning, if you choose to continue, you must maintain power on for at least 30 seconds
Are you sure to continue with firmware update? [No/Yes]Yes
chip 0, erasing eeprom
chip 0, programming eeprom
chip 1, erasing eeprom
chip 1, programming eeprom
chip 2, erasing eeprom
chip 2, programming eeprom
chip 0, verifying eeprom: OK
chip 1, verifying eeprom: OK
chip 2, verifying eeprom: OK
all done
R-PHY#
The update process takes less than 30 seconds. The RPD might turn unusable if it loses power, is reset, or rebooted during
this process. Replace the RPD when it becomes unusable.
Note |
When the RPD detects drop in input power, it sends a syslog message to the configured syslog server (Step 1). This drop in
power may be the first stage of a complete power failure, or a partial temporary reduction in total system capacity. The RPD
continues to send the syslog message in either case.
|
-
Check the version and verify using the firmware power-controller verify command to see that the power-controller is running version 2.05 or later.
If the firmware is already up to date, the update process terminates without overwriting. If the command fails for any reason,
run the command again before power cycling or rebooting the RPD. Failure to program completely before power cycling may result
in an unusable RPD.