[rancid] Rancid 3.7 and Comware

heasley heas at shrubbery.net
Thu Nov 2 21:03:58 UTC 2017


Thu, Nov 02, 2017 at 04:54:07PM +0000, David Chapman:
> We recently upgraded an old Rancid install and had problems with Comware.  I found the new updated plugin for Rancid 3 and I realize this is not supported but wondering if some help could be provided.
> 
> The issue is one of our comware switches supports exit and quit while most typically only support quit so its not detecting it as a clean run.  It errors with “End of run not found”
> 
> 
> ---- Except from cmw.pm----
>         if (/[\]>#]\a?\s*quit/) {
>         #if (/[>#]\s?exit$/) {
#if (/[>#]\s?(quit|exit)$/) {
>             $clean_run = 1;
>             last;
>         }
> ----raw file---
> #
> return
> <XXXXXXX>exit
> Connection to XXXXXX closed.
> 
> ---raw file if non affected switch---
> 
> return
> <YYYYYY>exit
>               ^
>  % Unrecognized command found at '^' position.
> <YYYYYYY>quit
> Connection to YYYYYYY closed.
> 
> ---Version
> 
> display version
> HP Comware Software, Version 7.1.045, Release 2311P05
> Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P.
> HP 5900AF-48XG-4QSFP+ Switch uptime is 89 weeks, 1 day, 17 hours, 17 minutes
> Last reboot reason : Power on
> 
> 
> This email, including any attached files, may contain confidential and privileged information. If you received this communication in error, please contact the sender by reply e-mail and delete all copies of this message.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss



More information about the Rancid-discuss mailing list