- new() - create a new Cisco::SNMP::ProxyPing object
- proxy_ping() - execute proxy ping
- INHERITED METHODS
Cisco::SNMP::ProxyPing - Proxy Ping Interface for Cisco Management
The following methods are for proxy ping. These methods implement the
my $cm = Cisco::SNMP::ProxyPing->new([OPTIONS]);
Create a new Cisco::SNMP::ProxyPing object with OPTIONS as optional parameters. See Cisco::SNMP for options.
my $ping = $cm->proxy_ping([OPTIONS]);
Send proxy ping from the object defined in
$cm to the provided destination. Called with no options, sends the proxy ping to the localhost. Called with one argument, interpreted as the destination to proxy ping. Valid options are:
Option Description Default ------ ----------- ------- -count Number of pings to send 1 -family Address family IPv4/IPv6 [Inherit from new()] Valid values for IPv4: 4, v4, ip4, ipv4, AF_INET (constant) Valid values for IPv6: 6, v6, ip6, ipv6, AF_INET6 (constant) -host Destination to send proxy ping to (localhost) -size Size of the ping packets in bytes 64 -vrf VRF name to source pings from [none] -wait Time to wait for replies in seconds 1
A hostname value for host will be resolved to IPv4/v6 based on family. Family is inherited from the value set in new() but can be overriden. Providing a numeric address will also self-determine the IPv4/v6 address.
Allows the following accessors to be called.
Return the number of pings sent in the current proxy ping execution.
Return the number of pings received in the current proxy ping execution.
Return the minimum round trip time in milliseconds of pings sent and received in the current proxy ping execution.
Return the average round trip time in milliseconds of pings sent and received in the current proxy ping execution.
Return the maximum round trip time in milliseconds of pings sent and received in the current proxy ping execution.
The following are inherited methods. See Cisco::SNMP for more information.
None by default.
This distribution comes with several scripts (installed to the default
bin install directory) that not only demonstrate example uses but also provide functional execution.
This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.
Copyright (C) Michael Vincent 2015
All rights reserved