vcware and modemware Versions on AS5300

Alexander Voropay a.voropay at vmb-service.ru
Mon Jan 12 07:43:01 UTC 2004


Hi!

 This commands are AS5200/AS5300/AS5400 specific, so it seems,
rancid should recognize this ciscos as "access server" not "router" in

sub ShowVersion {
...
} elsif ( $proc =~ /AS5300/) {
                $type = "AS5300";
                $device = "access server";
...

--
-=AV=-

-----Original Message-----
From: Yuval Ben-Ari [mailto:yuvalba at netvision.net.il] 
Sent: Friday, January 09, 2004 6:48 PM
To: a.voropay at vmb-service.ru; rancid-discuss at shrubbery.net
Subject: RE: vcware and modemware Versions on AS5300


show modem version seems too long,
you might want to monitor "show spe version"

this routine will do it:

sub ShowSpeVersion {
    print STDERR "    In ShowSpeVersion: $_" if ($debug);

    while (<INPUT>) {
        tr/\015//d;
        last if (/^$prompt/);
        next if (/^(\s*|\s*$cmd\s*)$/);
        return(1) if /^\s*\^\s*$/;
        return(1) if /(Invalid input detected|Type help or )/;
        return(-1) if (/command authorization failed/i);
        ProcessHistory("MODEM","","","!Modem: $_") && next;
    }
    ProcessHistory("MODEM","","","!\n");
    return(0);
}


also need to add the commands to trigger it in the right place:

        'show spe version'      => "ShowSpeVersion",

        'show spe version',

> -----Original Message-----
> From: owner-rancid-discuss at shrubbery.net
> [mailto:owner-rancid-discuss at shrubbery.net] On Behalf Of 
> Alexander Voropay
> Sent: Friday, January 09, 2004 12:49
> To: rancid-discuss at shrubbery.net
> Subject: vcware and modemware Versions on AS5300
> 
> 
> Hi!
> 
>  Does anyone have an idea how to add a monitoring of
> vcware and modemware versions on CISCOs AS5300 ?
> 
> 
> Gate#show vfc 1 version dspware
> Version of Dspware in VFC slot 1 is 3.6.15L
> 
> Gate#show vfc 1 version vcware
> 
> Voice Feature Card in Slot 1:
>      VCware Version     :  9.19
>      ROM Monitor Version:  1.3
>      DSPware Version    :  3.6.15L
>      Technology         :  C549
> 
> Caller#show modem version
> 
>   Codes:
>   d - DSP software download is required for achieving K56flex 
> connections
> 
>           Modem module     Firmware   Boot          DSP
>   Mdm     Number           Rev        Rev           Rev
>   2/0               0       2.9.4.0
>   2/1               0       2.9.4.0
>   2/2               0       2.9.4.0
>   2/3               0       2.9.4.0
>   2/4               0       2.9.4.0
>   2/5               0       2.9.4.0
>   2/6               0       2.9.4.0
>   2/7               0       2.9.4.0
>   2/8               0       2.9.4.0
>   2/9               0       2.9.4.0
> ...
> <skip>
> 
> --
> -=AV=-
> 
> 



More information about the Rancid-discuss mailing list