Unable to delete the tunnel interface on the Panorama
8991
Created On 04/29/24 23:11 PM - Last Modified 05/21/24 02:41 AM
Symptom
- When trying to deleting the tunnel interface on Panorama, error message "Error deleting Tunnel interface" and "Failed to delete Tunnel interface" is displayed
- Although the message on GUI displays reference for template, the tunnel is not referenced anywhere.
Environment
- Panorama
- PANOS-10.2.8-hx
- Tunnel Interface
Cause
Software Issue.
Resolution
- The issue is resolved under PAN-25013
- Fix is available in 11.1.2h4 and 11.1.3 versions
- Fix will also be available in the upcoming releases of 11.0.5, 10.2.10.
The workaround is to delete the configuration from the CLI
- login to the CLI and set the cli config-output-format to set
- Search for any existing configuration for the tunnel interface associated with the template (Example command for interface tunnel.20 below).
admin@Secondary-panorama(secondary-active)# show template BGP-OSPF-FW | match tunnel.20
set template BGP-OSPF-FW config vsys vsys1 zone UNTRUST network layer3 [ ethernet1/1 ethernet1/2 tunnel.20 ]
set template BGP-OSPF-FW config vsys vsys1 import network interface [ ethernet1/1 ethernet1/2 ethernet1/3 ethernet1/4 ethernet1/5 vlan loopback tunnel sdwan tunnel.20 ]
set template BGP-OSPF-FW config network interface tunnel units tunnel.20
set template BGP-OSPF-FW config network virtual-router VR-1 interface [ ethernet1/1 ethernet1/2 ethernet1/3 ethernet1/4 ethernet1/5 tunnel.20 ]
- If there is any configuration still referenced in the template like below you can delete that configuration from the template
admin@Secondary-panorama(secondary-active)# delete template BGP-OSPF-FW config vsys vsys1 zone UNTRUST network layer3 tunnel.20
admin@Secondary-panorama(secondary-active)# delete template BGP-OSPF-FW config network virtual-router VR-1 interface tunnel.20
admin@Secondary-panorama(secondary-active)# delete template BGP-OSPF-FW config vsys vsys1 import network interface tunnel.20
admin@Secondary-panorama(secondary-active)# delete template BGP-OSPF-FW config network interface tunnel units tunnel.20