Cannot replace device on Panorama
11127
Created On 11/08/19 03:45 AM - Last Modified 02/05/20 03:06 AM
Symptom
When replacing a device on Panorama with the replace device command (typically after a RMA), Error message "Server error: Could not execute rename command" is displayed.
>replace device old 001234567890 new 00123456789
Server error : Could not execute rename command
Environment
- Any Panorama.
- Any PAN-OS.
- Replacement of a device managed from Panorama.
Cause
The issue happens when number of digits between the serial number of the old device is larger than the new replacement device.
Example:
Old SN: 000123456789
New SN: 00012345678
Resolution
Check the number of digits of the new serial number with the number of digits in the old serial number. This number should match.
If there is a mismatch, prepend to the new serial number a '0'
Ex : 00012345678 ----> 0000123456789
> replace device old 00123456789 new 000012345678