<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Steve,<br>
<br>
I have tried your filter expression listed below and I am still getting
interface type 135 in my CFG files. Below is my cfgmaker command for
your review to see if I am missing anything. Thanks.<br>
<br>
-Patrick<br>
<br>
----------------------------<br>
<br>
cfgmaker --if-template=/etc/mrtg/Templates/routers2.tp
--output=/etc/mrtg/fsigt-002-eqla3.stk.cfg --global "workdir:
/var/www/mrtg/rrd" --ifref=descr --ifdesc=alias --global 'options[_]:
growright,bits' <a class="moz-txt-link-abbreviated" href="mailto:ubaVcj8PYF@fsigt-002-eqla3.stk:::::2">ubaVcj8PYF@fsigt-002-eqla3.stk:::::2</a> --no-down
--if-filter='($default or ($if_type==117)) and ($if_type!=135)'<br>
<br>
---------------------------<br>
<br>
Steve Shipway wrote:
<blockquote
cite="mid:6B587E8C999646469B54486AF219584606F58C9449@UXCHANGE7-1.UoA.auckland.ac.nz"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</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]-->
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">If you want
the default, plus type 117,
but NOT type 135, then use:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">--if-filter=’($default
or
($if_type==117)) and ($if_type!=135)’<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Steve<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt; color: windowtext;" lang="EN-US">
<hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;"
lang="EN-US">From:</span></font></b><font color="black" face="Tahoma"
size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext;"
lang="EN-US"> Patrick Topping
[<a class="moz-txt-link-freetext" href="mailto:ptopping@pobox.com">mailto:ptopping@pobox.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 21
October 2008
03:34<br>
<b><span style="font-weight: bold;">To:</span></b> Steve Shipway<br>
<b><span style="font-weight: bold;">Cc:</span></b>
'<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>'<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [mrtg]
Ignoring
certain types of interfaces</span></font><font color="black"><span
style="color: windowtext;" lang="EN-US"><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">Steve,
I have updated my cfgmaker with your filter suggestion and I am still getting the l2vlan interfaces in the CFG files. The ifType shows the l2vlan as 135. I wrote the filter to include $default and gigabitEthernet (117) but still no joy. Any ideas?
-Patrick
<o:p></o:p></span></font></pre>
</div>
</div>
</blockquote>
</body>
</html>