Error:
An unexpected error occurred. Please click Reload to try again.
Error:
An unexpected error occurred. Please click Reload to try again.
How to Delete the Interface Configuration from the CLI - Knowledge Base - Palo Alto Networks

How to Delete the Interface Configuration from the CLI

49568
Created On 09/25/18 17:58 PM - Last Modified 01/18/24 23:49 PM


Objective


To delete the configuration of an interface from CLI.

Environment


  • Palo Alto Firewalls
  • Supported PAN-OS
  • CLI


Procedure


  • The procedure is explained with an example shown below. The interface Ethernet 1/6 configured as Layer 3.
Original configuration
  1. Enter configuration mode.
>configure
Entering configuration mode
[edit]
  1. Delete the zone L3-Trust configure on a layer 3 network interface.
# delete zoneL3-Trust network layer3 ethernet1/6
[edit]
  1. Delete the IP Address configured on the interface eth1/6.
# delete network interface ethernet1/6 layer3 ip 192.168.53.1/24
[edit]

Note: Before committing, verify there are no zone/interface references in the Security policies of the running configuration.

  1. Commit and exit the Configuration.
# commit
.....................55%60%75%.98%.............100%
Configuration committed successfully
[edit]
# exit
  • Once committed, the configuration of eth1/6 has no zones and ip-address.

interface configuration after

 

 

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClM5CAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail