Commit Validation Error: "ha2 -> link-speed unexpected here" After Importing Device State
16293
Created On 12/29/21 00:30 AM - Last Modified 03/24/22 01:01 AM
Symptom
- Migrating from PA-30xx to PA-32xx
- Exported device state from PA-30xx then imported it to PA-32xx
- Committed, received error below:
paloaltonetworks@(active)# commit force
Commit job 30 is in progress. Use Ctrl+C to return to command prompt
......70%..
Validation Error:
deviceconfig -> high-availability -> interface -> ha2 -> link-speed unexpected here
deviceconfig -> high-availability -> interface -> ha2 is invalid
Commit failed[edit]Environment
- PA-32xx
- PA-52xx
- PAN-OS: 8.1.x, 9.0.x, 9.1.x, 10.0.x, 10.1.x, 10.2.x
Cause
This validation error occurs because of the device-state from the Palo Alto Networks firewall that supports the link-speed configuration being used on a Palo Alto Networks firewalls that does not support it.
Resolution
- Save named configuration:
- Export named configuration snapshot to your local directory:
- Remove the link-speed entries and the link-duplex entries from the named configuration file (Notepad++ editor used for the example below):
- Import and load the updated named configuration:
- Issue a commit force command from the CLI
Additional Information
This validation error will happen when importing the running configuration file or importing the device-state file from the earlier PA device (PA-30xx/50xx) configured with dedicated HA links on to the latest PA device (PA-32xx/52xx)