Page 1 of 1

delete ip interface

Posted: 26 Apr 2011 04:56
by radup
Hi there,
so I must be missing something here, but I think I need help to find out what...:)
I have a router with the following IP interface configuration:

SGSN-Router#2> show ip interface
Total 4 interfaces
Name IP Address Subnet Mask Status Forward Device
--------------------+---------------+---------------+------+-------+--------
vlan-6 172.24.6.62 255.255.255.0 DOWN NO vlan 6
Loopback 127.0.0.1 255.0.0.0 UP NO Loopback
dhcp-client 0.0.0.0 0.0.0.0 DOWN NO vlan 1
vlan-39 10.16.39.61 255.255.255.192 UP YES vlan 39

SGSN-Router#2>

Now I want to delete interface vlan-6, but I get this:
SGSN-Router#2> no ip interface vlan-6
ERROR: No such interface - vlan-6.

SGSN-Router#2> no ip interface "vlan-6"
ERROR: No such interface - vlan-6.


I also noticed that if I declare an interface vlan-6 I have this:

SGSN-Router#2> ip interface vlan-6 address 1.2.3.4 mask 255.255.255.0
SGSN-Router#2> show ip interface
Total 5 interfaces
Name IP Address Subnet Mask Status Forward Device
--------------------+---------------+---------------+------+-------+--------
vlan-6 172.24.6.62 255.255.255.0 DOWN NO vlan 6
Loopback 127.0.0.1 255.0.0.0 UP NO Loopback
dhcp-client 0.0.0.0 0.0.0.0 DOWN NO vlan 1
vlan-39 10.16.39.61 255.255.255.192 UP YES vlan 39
vlan-6 1.2.3.4 255.255.255.0 DOWN NO unbound


SGSN-Router#2>

The interface was declared using the following syntax (taken from config snapshot):

ip interface "vlan-6" address 172.24.6.62 mask 255.255.255.0 vlan 6 ifindex 2

I also tried copy paste and adding "no" in front but same result. Any clues? I have declared vlan-39 as primary but to no avail. I can create/delete other interfaces with no problem. thanks!

Re: delete ip interface

Posted: 29 Apr 2011 14:01
by silvio
very strange....
There must be an error in software. You should do an update to the actual release (if not already done).
Than (or before update) you can try the following to delete the interface vlan-6:
- write terminal
- copy all config to a text-file
- delete there the command lines with vlan-6
- delete boot.cfg in working
- reload working no rollback-timeout
- copy config from text-file to cli
......

hope this will helpfull
regards
Silvio

Re: delete ip interface

Posted: 30 Apr 2011 06:15
by radup
thanks for the suggestion, I think that will work too. however in the meantime I discovered using the GUI that there was an invalid character in the interface name and I had no problems deleting the interface from GUI. :)