<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:x="urn:schemas-microsoft-com:office:excel" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=koi8-r">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Courier New CYR";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:56.7pt 42.5pt 56.7pt 85.05pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=RU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>Hello all RANCID people!<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>I try to filter interface counters from output of Zyxel Prestige
791R ip route status :<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>- !<st1:Street w:st="on"><st1:address w:st="on">IP ROUTE</st1:address></st1:Street>:
default 01 0 mpoa01 172.17.100.1 2 00ab 0 409683<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>+ !<st1:Street w:st="on"><st1:address w:st="on">IP ROUTE</st1:address></st1:Street>:
default 01 0 mpoa01 172.17.100.1 2 00ab 0 412140<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>using these definitions:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>if (/^(default)/)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'> { ProcessHistory("","","","!<st1:Street
w:st="on"><st1:address w:st="on">IP ROUTE</st1:address></st1:Street>: default
$1 $2$3 mpoa01 $5$6<___>\n") && next; }<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>but something wrong – i receive this:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>!IP ROUTE: default default mpoa01 <___><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>How I can correctly setup this filter? <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>-- <br>
Regards,<br>
Alexandr Smirnov<br>
+7(812)3468600 # 54682<br>
Head of Data Transmission Networks Monitoring
Service
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'><a href="mailto:asmirnoff@office.beeline.ru"
title="mailto:asmirnoff@gldn.net"><span lang=EN-US><span
title="mailto:asmirnoff@gldn.net"><span title="mailto:asmirnoff@gldn.net">mailto:asmirnoff@office.beeline.ru</span></span></span></a></span></font><span
lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>