In configure mode:
'show network interface ethernet ethernet1/20 layer3 units'
will show ethernet1/20's subinterfaces
Then I had to issue:
'delete import network interface ethernet1/20.111'
'delete network interface ethernet ethernet1/20 layer3 units ethernet1/20.111'
Without the 'delete import' in my case i got a reference error.
I do not think there is a delete * command for this.
Thanks ShaiW for replying, can you please confirm me the function of this command here "delete import network interface ethernet1/20.111" & 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.
Thanks for all your help!
Interfaces and Sub Interfaces are added under import->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.
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.
Here is a tip:
In operational mode ('>') type 'set cli config-output-format set'
Then all show commands in configure show the commands, one by one as 'set' commands - this will ease finding the correct command path.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!