<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cli command to delete sub-interfaces in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252476#M71760</link>
    <description>&lt;P&gt;looking for the cli command to delete multiple subinterfaces in one go. Seems like it can be done?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 13:02:05 GMT</pubDate>
    <dc:creator>Gchander</dc:creator>
    <dc:date>2019-03-06T13:02:05Z</dc:date>
    <item>
      <title>Cli command to delete sub-interfaces</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252476#M71760</link>
      <description>&lt;P&gt;looking for the cli command to delete multiple subinterfaces in one go. Seems like it can be done?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:02:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252476#M71760</guid>
      <dc:creator>Gchander</dc:creator>
      <dc:date>2019-03-06T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cli command to delete sub-interfaces</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252485#M71762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In configure mode:&lt;/P&gt;&lt;P&gt;'show network interface ethernet ethernet1/20 layer3 units'&lt;/P&gt;&lt;P&gt;will show ethernet1/20's subinterfaces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I had to issue:&lt;/P&gt;&lt;P&gt;'delete import network interface ethernet1/20.111'&lt;/P&gt;&lt;P&gt;'delete network interface ethernet ethernet1/20 layer3 units ethernet1/20.111'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without the 'delete import' in my case i got a reference error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not think there is a delete * command for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:44:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252485#M71762</guid>
      <dc:creator>ShaiW</dc:creator>
      <dc:date>2019-03-06T13:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cli command to delete sub-interfaces</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252512#M71768</link>
      <description>&lt;P&gt;Thanks ShaiW for replying, can you please confirm me the function of this command here "&lt;SPAN&gt;delete import network interface ethernet1/20.111" &amp;amp; is this a tested solution for both physical and VM based deployments? I think you can only do it one by one, do u have any command for a range like cisco.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for all your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ganesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:25:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252512#M71768</guid>
      <dc:creator>Gchander</dc:creator>
      <dc:date>2019-03-06T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cli command to delete sub-interfaces</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252514#M71769</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interfaces and Sub Interfaces are added under import-&amp;gt;network as a list of interfaces. In my PA3020 I had to delete it from there before deleting the interface otherwise I got an error that it is referenced elsewhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I know this must be done one by one, but you should check you environment, you might get more errors that this is referenced in other places (virtual router for example) which will not let you delete the sub interface until all references are deleted first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a tip:&lt;/P&gt;&lt;P&gt;In operational mode ('&amp;gt;') type 'set cli config-output-format set'&lt;/P&gt;&lt;P&gt;Then all show commands in configure show the commands, one by one as 'set' commands - this will ease finding the correct command path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:42:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-command-to-delete-sub-interfaces/m-p/252514#M71769</guid>
      <dc:creator>ShaiW</dc:creator>
      <dc:date>2019-03-06T14:42:26Z</dc:date>
    </item>
  </channel>
</rss>

