[rancid] Re: 2.3.2.a5: Cat2948s do not have "show inventory"
Michael Stefaniuc
mstefani at redhat.com
Wed Feb 7 13:06:57 UTC 2007
Any reason why this patch didn't make it to 2.3.2.a6? If it's due to the
copyright i'm changing it to whatever it takes to get the patch in
(thought i said that already in a later email).
bye
michael
Michael Stefaniuc wrote:
> The Cisco Catalyst 2948 switches (WS-C2948G and WS-C2948G-GE-TX) do not
> have the "show inventory" command. The attached patch prevents the line
> Unknown command "show inventory". Use 'show help' for more info.
> to be added to the saved config file of those devices.
>
>
> ------------------------------------------------------------------------
>
> Copyright Michael Stefaniuc <mstefani at redhat.com> for Red Hat
>
> The Cisco Cat2948s do not have the "show inventory" command.
>
> --- ./bin/cat5rancid.in.inv 2006-08-17 13:03:13.000000000 +0200
> +++ ./bin/cat5rancid.in 2006-08-17 13:14:39.000000000 +0200
> @@ -676,6 +676,7 @@
> last if (/^$prompt/);
> next if (/^(\s*|\s*$cmd\s*)$/);
> return(-1) if (/command authorization failed/i);
> + return(1) if (/Unknown command/);
> # the pager can not be disabled per-session on the PIX
> s/^<-+ More -+>\s*//;
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
More information about the Rancid-discuss
mailing list