Discussion:
[rancid] Ommiting chatty configuration entries on Cisco WLC
Nesbitt, Kevin
2010-11-29 21:11:17 UTC
Permalink
Hello Folks,

I'm hoping one of you fine folks could point me in the direction of how to add a line into the ciscowlc5 script that will omit any lines in the configuration of a Cisco WLC starting with "rogue ap classify".

I've added the following line into the ciscwlc5 script which clearly isn't working. Then again, I'm quite the perl noob :)

/\s+rogue ap classify+$/ && next;

Again, any help is greatly appreciated.

Cheers,


This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
Lee
2010-12-01 03:23:40 UTC
Permalink
Post by Nesbitt, Kevin
Hello Folks,
I'm hoping one of you fine folks could point me in the direction of how to
add a line into the ciscowlc5 script that will omit any lines in the
configuration of a Cisco WLC starting with "rogue ap classify".
I've added the following line into the ciscwlc5 script which clearly isn't
working. Then again, I'm quite the perl noob :)
/\s+rogue ap classify+$/ && next;
It's not like I'm all that good w/ perl either, but try

next if (/ rogue ap classify\s*$/);

Lee

Loading...