GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Telnet::Cisco::IOS(3) User Contributed Perl Documentation Net::Telnet::Cisco::IOS(3)

Net::Telnet::Cisco::IOS -- Manage Cisco IOS Devices

Net::Telnet::Cisco::IOS (NTCI) is an extension of Joshua Kereos's Net::Telnet::Cisco module and provides an easy way to manage and monitor Cisco IOS devices. I'll mention this a lot, but make sure you read up on Net::Telnet::Cisco for a lot of information.

NTCI can do a lot, but it's not the best way to do all of it. I'd suggest you take a look at some SNMP solutions. It's up to you to figure out when and where you want to use it, but don't say I didn't warn you. :)

There are way too many methods to list here, so head over to http://ntci.sourceforge.net for a full list with documentation.

        use Net::Telnet::Cisco:IOS;

        # Connect and login
        $connection = Net::Telnet::Cisco::IOS->new( Host => 'hostname');
        $connection->login( Name => 'username', Password => 'password'  );

        # Get the IOS version
        if ( $ver = $connection->getIOSVer() )  {
                print "The device is running version " . $ver . "\n";
        }
        else  {
                print "Can't get the version:\n";
                print $connection->errmsg();
        }
        
        # Close the connection
        $connection->close();

For more information, examples, and some tips, turn your browser to http://ntci.sourceforge.net.

NTCI is written by Aaron Conaway. He can be reached at aaron at aconaway period com.

(c) 2005 by Aaron Conaway.

NTCI is distributed under the GPL and may be used by anyone without changes.

2006-03-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.