Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Net::SNMP::HostInfo::IpRouteEntry 0.04

    Download button

    No screenshots available
    Downloads: 267  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    James Macfarlane | More programs
    Perl Artistic License / FREE
    January 21st, 2009, 14:15 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::SNMP::HostInfo::IpRouteEntry description

    An entry in the ipRouteTable of a MIB-II host

    Net::SNMP::HostInfo::IpRouteEntry is an entry in the ipRouteTable of a MIB-II host.

    SYNOPSIS

     use Net::SNMP::HostInfo;

     $host = shift || 'localhost';
     $hostinfo = Net::SNMP::HostInfo->new(Hostname => $host);

     print "
    Route Table:
    ";
     printf "%-15s %-15s %-15s %-11s %-10s %-3s %-3s
    ",
     qw/Dest Mask NextHop Type Proto If Cost/;
     for $route ($hostinfo->ipRouteTable) {
     printf "%-15s %-15s %-15s %-11s %-10s %-3s %-3s
    ",
     $route->ipRouteDest,
     $route->ipRouteMask,
     $route->ipRouteNextHop,
     $route->ipRouteType,
     $route->ipRouteProto,
     $route->ipRouteIfIndex,
     $route->ipRouteMetric1;
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    ipRouteTable entry | host information | Perl module | SNMP | Perl | ipRouteTable

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM