delete ip interface
Posted: 26 Apr 2011 04:56
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!
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!