09-17-2024 01:33 AM
Hi,
For better segmentation I need to modify policy-tag on many APs through 9800. I'm going to do it through AP regex filter as I found it the easiest and fastest one. Before doing it on live network I did some tests that it looks like it is not working properly.
This is the process I do
"ap filter name apinstall
ap name-regex ^install.*
tag policy Policy-tag-install
tag rf rf-tag-typical
tag site site-tag-typical
ap filter priority 20 filter-name apinstall "
I give a off/on to the AP but when it loads up it couldn't catch the config I mentioned in the policy. But, when I want to do the config for a new AP with no configuration on it (through other filter-regex config) , it is working and no problem on it.
Thanks for your comments and helps.
Solved! Go to Solution.
09-17-2024 04:53 AM
Perhaps the AP is stuck with statically configured tags. Could potentially work if you go to tags > ap > static and delete the AP from there and then do a reload of AP. If that doesn't work I'd do a factory reset of the AP.
09-17-2024 01:48 AM
Why is there a double-quote at the start and end?
09-17-2024 01:58 AM
It is just to mention it is a piece of code. Of course it is not part of the code I applied to the device.
09-17-2024 02:55 AM
What firmware is the WLC on?
Ok, so what are the name of the AP that is meant to hit this filter? Please provide a sample.
We use AP filters and I am not seeing anything wrong with it.
09-17-2024 03:06 AM
Hi Leo,
thanks for your reply,
As a test environment I tested these names: installXX and install-XX (the X is random number).
And of course I used this regex syntax for the - one, ^install*\-.*$
The firmware version: 17.9.3
As I mentioned when I use it for the AP with no configuration that its name is "APmac" everything works fine. Problem is for the APs that currently are provisioned and existed in the controller.
Thanks
09-17-2024 03:44 AM
ap name-regex ^install
Try that.
09-17-2024 03:50 AM
AP will automatically use IOS ver. Install??
İ don't think so, that why the filter not work.
MHM
09-17-2024 04:53 AM
Perhaps the AP is stuck with statically configured tags. Could potentially work if you go to tags > ap > static and delete the AP from there and then do a reload of AP. If that doesn't work I'd do a factory reset of the AP.
09-17-2024 06:40 AM
You can verify how the AP is getting its existing tags in Configuration > Wireless > Access Points, and in the table, there's a column for Tag Source (static/filter/AP/location/default).
If the source is Filter, there may be another filter with a higher (lower number) priority that the AP is hitting instead of the one you're testing. You'll have to remove or modify that other filter, or change priorities so the desired one is higher than the other one.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide