Help for this page

Select Code to Download


  1. or download this
    my $interfaces = Net::SNMP::Interfaces->new( Hostname   => '192.168.18
    +4.11',
                             Community  => 'public',
    ...
    my @ifnames = $interfaces->all_interfaces();
    
    print Dumper (\@ifnames);
    
  2. or download this
    No response from remote host "127.0.0.1" at test.pl line 10
    
  3. or download this
    my $interfaces = Net::SNMP::Interfaces->new( Hostname   => '127.0.0.1'
    +,
                             Community  => 'public',
    ...
        );
    
    my @ifnames = $interfaces->all_interfaces();
    
  4. or download this
    Net::SNMP::Interfaces:  at test.pl line 10.
    
  5. or download this
    22:19:01.537280 IP 0.0.0.0 > 0.0.0.0: ICMP 0.0.0.0 udp port 1161 unrea
    +chable, length 36
    
  6. or download this
    my $interfaces = Net::SNMP::Interfaces->new( Hostname   => '192.168.18
    +4.11',
                             Community  => 'public',
    ...
    my @ifnames = $interfaces->all_interfaces();
    
    print Dumper (\@ifnames);
    
  7. or download this
    Can't call method "all_interfaces" on an undefined value at test.pl li
    +ne 12.