[rancid] Help: Add new ios command
sophanith.chhom at gmail.com
Fri Mar 24 02:02:30 UTC 2017
Thank you so much.
Could you share coding for this purpose please since I am not so good for
On Thu, Mar 23, 2017 at 10:57 PM, heasley <heas at shrubbery.net> wrote:
> Thu, Mar 23, 2017 at 10:18:17AM +0700, Sophanith Chhom:
> > Dear All,
> > Hope you are fine, I am having a question to add new command to Cisco
> > I would like to add new command: *#show bgp summary*
> > And I try to modify this file: *rancid.types.base* and add this new
> > as bellow:
> > cisco1;command;ios::WriteTerm;more system:running-config;ASA/PIX
> > cisco1;command;ios::WriteTerm;show running-config view full;workaround
> > role-based CLI
> > cisco1;command;ios::WriteTerm;show running-config
> > ##New command added
> > *cisco1;command;ios::ShowBGPSummary;show bgp summary*
> ios.pm, but i suggest that you create your own pm, chhomios.pm, for your
> function and just include that and ios.pm for cisco1.
> > Can you share which file config do I need to add some code more to make
> > works?
> > Thanks a lot.
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rancid-discuss