Howto delete sub-interace from cli

cancel
Showing results for 
Search instead for 
Did you mean: 

Howto delete sub-interace from cli

Not applicable

Hi,

I`m trying to delete a sub-interface from CLI but cant seem to find the correct command, i managed to remove the IP address and tag but not the entire sub-interface.

admin@PA-200# delete network interface ethernet ethernet1/4 layer3 units ethernet1/4.20

Server error : ethernet1/4.20 cannot be deleted because of references from:

import -> network -> interface

[edit]                       

Thanx

Kristian

12 REPLIES 12

can you do a commit force once using the command "commit force" and try deleting the interface once, if it does not work I would recommend you to open a case with support for further assistance on this.

Thanks,

Sandeep T

Looks the same... This might be a PA-200 issue, i`l try it on a bigger box when I get the time.

Thanks for all the help.

admin@PA-200# show network interface ethernet ethernet1/4

set network interface ethernet ethernet1/4 link-speed auto

set network interface ethernet ethernet1/4 link-duplex auto

set network interface ethernet ethernet1/4 link-state auto

set network interface ethernet ethernet1/4 layer3 units ethernet1/4.10 tag 10

[edit]                                                                                                                                                                     

admin@PA-200# delete network interface ethernet ethernet1/4 layer3 units ethernet1/4.10 tag

[edit]                                                                                                                                                                     

admin@PA-200# show network interface ethernet ethernet1/4

set network interface ethernet ethernet1/4 link-speed auto

set network interface ethernet ethernet1/4 link-duplex auto

set network interface ethernet ethernet1/4 link-state auto

set network interface ethernet ethernet1/4 layer3 units ethernet1/4.10

[edit]                                                                                                                                                                     

admin@PA-200# delete network interface ethernet ethernet1/4 layer3 units ethernet1/4.10

Server error : ethernet1/4.10 cannot be deleted because of references from:

import -> network -> interface

[edit]                                                                                                                                                                     

admin@PA-200# commit force

+ partial   partial

  <Enter>   Finish input

admin@PA-200# commit force

..

network -> interface -> ethernet -> ethernet1/4 -> layer3 -> units -> ethernet1/4.10 constraints failed : tag is required

[edit]                                                                                                                                                                     

admin@PA-200# show network interface ethernet ethernet1/4

set network interface ethernet ethernet1/4 link-speed auto

set network interface ethernet ethernet1/4 link-duplex auto

set network interface ethernet ethernet1/4 link-state auto

set network interface ethernet ethernet1/4 layer3 units ethernet1/4.10

[edit]                                                                                                                                                                     

admin@PA-200#

Just ran into this. This worked:

 

delete import network interface ethernet1/4.10
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!