<div dir="ltr">Thank you so much.<div><br></div><div>Could you share coding for this purpose please since I am not so good for it.</div><div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 23, 2017 at 10:57 PM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thu, Mar 23, 2017 at 10:18:17AM +0700, Sophanith Chhom:<br>
<span class="">> Dear All,<br>
><br>
> Hope you are fine, I am having a question to add new command to Cisco router<br>
><br>
</span>> I would like to add new command: *#show bgp summary*<br>
><br>
> And I try to modify this file: *rancid.types.base* and add this new command<br>
<span class="">> as bellow:<br>
><br>
> cisco1;command;ios::WriteTerm;<wbr>more system:running-config;ASA/PIX<br>
> cisco1;command;ios::WriteTerm;<wbr>show running-config view full;workaround for<br>
> role-based CLI<br>
> cisco1;command;ios::WriteTerm;<wbr>show running-config<br>
> ##New command added<br>
</span>> *cisco1;command;ios::<wbr>ShowBGPSummary;show bgp summary*<br>
<br>
<a href="http://ios.pm" rel="noreferrer" target="_blank">ios.pm</a>, but i suggest that you create your own pm, <a href="http://chhomios.pm" rel="noreferrer" target="_blank">chhomios.pm</a>, for your<br>
function and just include that and <a href="http://ios.pm" rel="noreferrer" target="_blank">ios.pm</a> for cisco1.<br>
<span class=""><br>
> Can you share which file config do I need to add some code more to make it<br>
> works?<br>
><br>
><br>
> Thanks a lot.<br>
<br>
</span>> ______________________________<wbr>_________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>mailman/listinfo/rancid-<wbr>discuss</a><br>
<br>
</blockquote></div><br></div>