Cisco-Version

## ---------------------------------------------------------------------------------------------- ## Cisco::Version
##
## Cisco "Show Version" parser.
## Try to parse some useful info from the "show version" output like memory, software, flash, etc. ##
## $Id: README 75 2007-07-23 20:59:08Z mwallraf $ ## $Author: mwallraf $
## $Date: 2007-07-23 22:59:08 +0200 (Mon, 23 Jul 2007) $ ##
## This program is free software; you can redistribute it and/or ## modify it under the same terms as Perl itself. ## ----------------------------------------------------------------------------------------------

NAME

Cisco::Version - Cisco 'show version' parser

VERSION

version 0.02

INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

SYNOPSIS

use Cisco::Version;

        my $cv = new Cisco::Version($show_version);
        $cv->parse();
        
        print $cv->get_memory();
        print $cv->get_software_version();
        print $cv->get_chassis_type();
        print $cv->get_uptime();
        
        use Data::Dumper;
        print &Dumper($cv->get_summary());
        
        print $cv->get_not_found_value();
        $cv->set_not_found_value("<NOT FOUND>");
        etc.

DESCRIPTION

This module is a parser for Cisco 'show version'.

We try to parse as much useful information as possible from the 'show version' output : software version, chassis type, memory information, flash information, uptime etc.

The 'show version' output may differ for each chassis type or software version so the parsed information may look different as well.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc Cisco::Version

You can also look for information at:

Search CPAN

http://search.cpan.org/dist/Cisco-Version

CPAN Request Tracker:

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cisco-Version

AnnoCPAN, annotated CPAN documentation:

http://annocpan.org/dist/Cisco-Version

CPAN Ratings:

http://cpanratings.perl.org/d/Cisco-Version

COPYRIGHT AND LICENCE

Copyright (C) 2007 Maarten Wallraf

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

CONTACT

perl@2nms.com