<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I&#8217;m running the the latest build, and using the WLC script I have diffs a couple times a day because our Lobby Administrators are adding guest WiFi users all the time. I&#8217;m looking at a way to ignore the whole &#8220;net user&#8221; section of the config.
 If I have to recover the controller with the rancid config I really don&#8217;t care about what users had guest WiFi access, I care about production
<span style="font-family:Wingdings">J</span> <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m terrible at expect / regex, and by that I mean I can&#8217;t do it at all! Anyone have a line or two I can add in to ignore this.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Sample diff output:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Index: configs/10.10.3.25<o:p></o:p></p>
<p class="MsoPlainText">===================================================================<o:p></o:p></p>
<p class="MsoPlainText">- -- configs/10.10.3.25&nbsp;&nbsp;&nbsp; (revision 340)<o:p></o:p></p>
<p class="MsoPlainText">@@ -132,14 &#43;132,12 @@<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add jdelong **** wlan 2 userType guest lifetime 604800 description Guest of John DeLong<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add lchristiansen **** wlan 2 userType permanent description Doctor &quot;Emeralds!&quot;<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add ms **** wlan 2 userType guest lifetime 2592000 description
<o:p></o:p></p>
<p class="MsoPlainText">-&nbsp; netuser add mschick **** wlan 2 userType guest lifetime 172800 description
<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser add mwagner **** wlan 2 userType guest lifetime 1209600 description Mark Wagner - #108<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add savadelis **** wlan 2 userType guest lifetime 2592000 description Guest of Savadelis<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add todd **** wlan 2 userType permanent description AramarkIT<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser add yzhang **** wlan 2 userType permanent description Dr. Zhang<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser lifetime jdelong 604800<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser lifetime ms 2592000<o:p></o:p></p>
<p class="MsoPlainText">-&nbsp; netuser lifetime mschick 172800<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser lifetime mwagner 1209600<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser lifetime savadelis 2592000<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser wlan-id bparker 2 <o:p></o:p></p>
<p class="MsoPlainText">@@ -147,7 &#43;145,6 @@<o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp; netuser wlan-id jdelong 2 <o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser wlan-id lchristiansen 2 <o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser wlan-id ms 2 <o:p></o:p></p>
<p class="MsoPlainText">-&nbsp; netuser wlan-id mschick 2 <o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser wlan-id mwagner 2 <o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser wlan-id savadelis 2 <o:p></o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;netuser wlan-id todd 2 <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Also for anyone that has had trouble with the WLC scripts in the past, I had to change the command table from executing &#8220;show running-config&#8221; to show run-config commands&#8221; because show running-config was depreciated and made the 5.2.193
 version barf. I&#8217;m not sure about versions after that, because we are slow to upgrade due to high-availability needs.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Cheers<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Christopher DeRemer, CCENT<o:p></o:p></p>
<p class="MsoNormal">Network Administrator<o:p></o:p></p>
<p class="MsoNormal">Phoebe Services<o:p></o:p></p>
<p class="MsoNormal">484.619.2168 (Single # Reach)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">NOTICE: This confidential message/attachment contains information intended for a specific individual(s). Any inappropriate use, distribution or duplication is strictly prohibited. If received in error, notify the sender
 and immediately delete this transmission.<br>
</font>
</body>
</html>