- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 04:32 AM - edited 07-04-2021 11:59 PM
I've been trying to figure out how to delete/remove a dynamic interface in the WLC via GUI and/or CLI. Up till this point, I've only had to add them for our WLAN.
According to Cisco documentation I've read, under <Controller> you just click on the blue down arrow next to the <interface name>, under <Interfaces>, and select remove. When I attempt this, I get the following pop-up message, "Interface group is being used by WLAN."
When I go to Interface Groups> Edit, and click on the blue down arrow to remove the interface I want to remove under <Interface Name>, I get the following pop-up message, "Interface group is being used by WLAN."
Under WLANS> Edit, when I click on the WLAN ID for our WLAN I want to modify, there is no option to remove the interface i'm looking at trying to remove. I can see the interface listed under Interface/Interface (G).
Originally, I wanted to modify the name of the of the dynamic interface, but that isn't an option. Only the option to modify the IP parameters and VLAN ID. Since this dynamic interface is specifically named to match a previous AP deployment site that is no longer in use, I wanted to re-use the IP parameters associated to it, under a different VLAN number and dynamic interface name, which aligns via naming convention to the new install location.
Solved! Go to Solution.
- Labels:
-
Wireless LAN Controller
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 04:37 AM
HI,
First disable the WLAn where you are using these interafce or interface groups.
Then only you can remove it.
WLAN>WLAN ID>edit then admin status should be disabled.
It will good if you remove the Dynamic interface and then create the new interface withthe correct name and then assign to specif WLAN.
Regards
Dont forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 01:37 PM
You need to disable the SSID. Another method is to go to the SSID and change the interface to "management".
Then you are able to delete the dynamic interface before you delete the interface group.
Be aware that you will never be able to delete the "management" dynamic interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 02:41 PM
Here is how you can do it using CLI, If your dynamic interface is part of interface-group & map to a WLAN then you have to disable your WLAN & assign to to another temp interface (like management as Leo mentioned) prior to remove that dynamic interface from the group.
Here is an example. I have interface group called "test-int" with vlan148 & vlan31 dyanmic interfaces are part of it. This interface group is map to a WLAN with ID 6 & here is how I could remove vlan148 from this group.
(WLC3) >config interface delete vlan148
Request failed - a WLAN or AP Group is mapped to interface or interface is part of an interface group.
(WLC3) >config interface group interface delete test-int vlan148
Request failed - Interface group is being used by Wlan.
(WLC3) >config wlan disable 6
(WLC3) >config wlan interface 6 management
(WLC3) >config interface group interface delete test-int vlan148
(WLC3) >config interface delete vlan148
(WLC3) >config wlan interface 6 test-int
(WLC3) >config wlan enable 6
If you want to recreate a dynamic interface using this same IP details (but with different name) then you can create that dynamic interface first & then add to your interface group. Here shows I create vlan32 interface & add that to "test-int" interface group. No need to disable wlan when you are doing this.
(WLC3) >config interface create vlan32 32
(WLC3) >config interface address dynamic-interface vlan32 192.168.32.33 255.255.255.0 192.168.32.1
(WLC3) >config interface dhcp dynamic-interface vlan32 primary 192.168.32.1
(WLC3) >config interface group interface add test-int vlan32
Here is CLI verification
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 1
Number of AP Groups using the Interface Group.... 0
Number of Interfaces Contained................... 2
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
vlan32
Interface marked with * indicates DHCP dirty interface
Refer this post as well
http://mrncciew.com/2013/02/27/configuring-dynamic-interfaces-on-wlc/
HTH
Rasika
**** Pls rate all useful responses ****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2014 08:47 PM
Hi,
You can follow the similar process to CLI as well.
1. Remove the interface group mapping under AP group configuration
2. Delete the interface from interface group configuration
3. Re-create the interface group mapping under AP group configuration.
If we continue this using the same example provided in the previous resposne, let's create an apgroup (called APG-1) map that "test-int" interface group to WLAN ID 6 through AP group.
(WLC3) >config wlan apgroup add APG-1 "AP Group 1"
(WLC3) >config wlan apgroup interface-mapping ?
add Adds a new apgroup/WLAN/interface mapping.
delete Adds a new apgroup/WLAN/interface mapping.
(WLC3) >config wlan apgroup interface-mapping add APG-1 ?
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 ?
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 test-int
****** Then you can add ap to this AP group you created, AP will reboot during this time *****
(WLC3) >config ap group-name APG-1 LAP3
Changing the AP's group name will cause the AP to reboot.
Are you sure you want to continue? (y/n) y
*******************************************************************************************************
Now if you check interface-group detail you will see it is using by AP group as well
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 1
Number of AP Groups using the Interface Group.... 1
Number of Interfaces Contained................... 2
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
vlan32
Now let's say you want to delete interface vlan 32 from this interface-group.
(WLC3) >config interface delete vlan32
Request failed - a WLAN or AP Group is mapped to interface or interface is part of an interface group.
(WLC3) >config interface group interface delete test-int vlan32
Request failed - Interface group is being used by Wlan.
(WLC3) >config wlan disable 6
(WLC3) >config wlan interface 6 management <--- only required if you wlan is directly map to interface-group created.
(WLC3) >config interface group interface delete test-int vlan32
Request failed - Interface group is being used by AP Group.
(WLC3) >config wlan apgroup interface-mapping delete APG-1 6
(WLC3) >config interface group interface delete test-int vlan32
Once you delete the interface from interface group, you can add that interface group to the WLAN under AP-Group configuration.Also you look at you interface group detail you will see only vlan31 associate with it.
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 test-int
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 0
Number of AP Groups using the Interface Group.... 1
Number of Interfaces Contained................... 1
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
Interface marked with * indicates DHCP dirty interface
HTH
Rasika
**** Pls rate all useful resposnes ****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 04:37 AM
HI,
First disable the WLAn where you are using these interafce or interface groups.
Then only you can remove it.
WLAN>WLAN ID>edit then admin status should be disabled.
It will good if you remove the Dynamic interface and then create the new interface withthe correct name and then assign to specif WLAN.
Regards
Dont forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 01:37 PM
You need to disable the SSID. Another method is to go to the SSID and change the interface to "management".
Then you are able to delete the dynamic interface before you delete the interface group.
Be aware that you will never be able to delete the "management" dynamic interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014 02:41 PM
Here is how you can do it using CLI, If your dynamic interface is part of interface-group & map to a WLAN then you have to disable your WLAN & assign to to another temp interface (like management as Leo mentioned) prior to remove that dynamic interface from the group.
Here is an example. I have interface group called "test-int" with vlan148 & vlan31 dyanmic interfaces are part of it. This interface group is map to a WLAN with ID 6 & here is how I could remove vlan148 from this group.
(WLC3) >config interface delete vlan148
Request failed - a WLAN or AP Group is mapped to interface or interface is part of an interface group.
(WLC3) >config interface group interface delete test-int vlan148
Request failed - Interface group is being used by Wlan.
(WLC3) >config wlan disable 6
(WLC3) >config wlan interface 6 management
(WLC3) >config interface group interface delete test-int vlan148
(WLC3) >config interface delete vlan148
(WLC3) >config wlan interface 6 test-int
(WLC3) >config wlan enable 6
If you want to recreate a dynamic interface using this same IP details (but with different name) then you can create that dynamic interface first & then add to your interface group. Here shows I create vlan32 interface & add that to "test-int" interface group. No need to disable wlan when you are doing this.
(WLC3) >config interface create vlan32 32
(WLC3) >config interface address dynamic-interface vlan32 192.168.32.33 255.255.255.0 192.168.32.1
(WLC3) >config interface dhcp dynamic-interface vlan32 primary 192.168.32.1
(WLC3) >config interface group interface add test-int vlan32
Here is CLI verification
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 1
Number of AP Groups using the Interface Group.... 0
Number of Interfaces Contained................... 2
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
vlan32
Interface marked with * indicates DHCP dirty interface
Refer this post as well
http://mrncciew.com/2013/02/27/configuring-dynamic-interfaces-on-wlc/
HTH
Rasika
**** Pls rate all useful responses ****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2014 07:34 PM
I've tried the methods listed above in GUI and in CLI, but have run into another block. After I disabled our WLAN ID and placed it into the "Management Interface", I hit the same issue as before when trying to delete the dynamic interface and when I go to "Interface Groups > Edit" to remove the dynamic interface from the list I want to delete, I get this message, "Interface group is being used by AP Group."
Now for this particular WLAN, the way we are set up is that each AP is assigned a unique "Dynamic Interface / VLAN #", and all interfaces are placed under the same one "Interface Group," and it falls under one "AP Group" for this WLAN. Now, would I be able to remove the interface, If I go to "AP Groups > Edit" and click on the "WLANs" tab, and select the above WLAN ID to remove by pressing the blue down arrow? If I do this, would it be as simple as clicking "New" and adding the WLAN back into this AP Group, after I complete the deletion of the interface I'm looking to delete from the interface group? What is the procedure to do this in CLI, as I like to learn both methods?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2014 08:47 PM
Hi,
You can follow the similar process to CLI as well.
1. Remove the interface group mapping under AP group configuration
2. Delete the interface from interface group configuration
3. Re-create the interface group mapping under AP group configuration.
If we continue this using the same example provided in the previous resposne, let's create an apgroup (called APG-1) map that "test-int" interface group to WLAN ID 6 through AP group.
(WLC3) >config wlan apgroup add APG-1 "AP Group 1"
(WLC3) >config wlan apgroup interface-mapping ?
add Adds a new apgroup/WLAN/interface mapping.
delete Adds a new apgroup/WLAN/interface mapping.
(WLC3) >config wlan apgroup interface-mapping add APG-1 ?
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 ?
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 test-int
****** Then you can add ap to this AP group you created, AP will reboot during this time *****
(WLC3) >config ap group-name APG-1 LAP3
Changing the AP's group name will cause the AP to reboot.
Are you sure you want to continue? (y/n) y
*******************************************************************************************************
Now if you check interface-group detail you will see it is using by AP group as well
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 1
Number of AP Groups using the Interface Group.... 1
Number of Interfaces Contained................... 2
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
vlan32
Now let's say you want to delete interface vlan 32 from this interface-group.
(WLC3) >config interface delete vlan32
Request failed - a WLAN or AP Group is mapped to interface or interface is part of an interface group.
(WLC3) >config interface group interface delete test-int vlan32
Request failed - Interface group is being used by Wlan.
(WLC3) >config wlan disable 6
(WLC3) >config wlan interface 6 management <--- only required if you wlan is directly map to interface-group created.
(WLC3) >config interface group interface delete test-int vlan32
Request failed - Interface group is being used by AP Group.
(WLC3) >config wlan apgroup interface-mapping delete APG-1 6
(WLC3) >config interface group interface delete test-int vlan32
Once you delete the interface from interface group, you can add that interface group to the WLAN under AP-Group configuration.Also you look at you interface group detail you will see only vlan31 associate with it.
(WLC3) >config wlan apgroup interface-mapping add APG-1 6 test-int
(WLC3) >show interface group detailed test-int
Interface Group Name............................. test-int
Quarantine ...................................... No
Number of Wlans using the Interface Group........ 0
Number of AP Groups using the Interface Group.... 1
Number of Interfaces Contained................... 1
Interface Group Description...................... TEST INT GROUP
Next interface for allocation to client.......... vlan31
Interfaces Contained in this group ..............
vlan31
Interface marked with * indicates DHCP dirty interface
HTH
Rasika
**** Pls rate all useful resposnes ****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2014 03:44 AM
That worked. Thanks for the interesting ideas, learned a lot.
