Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

snmp::info::ipv6(3pm) [debian man page]

Info::IPv6(3pm) 					User Contributed Perl Documentation					   Info::IPv6(3pm)

NAME
SNMP::Info::IPv6 - SNMP Interface for obtaining IPv6 addresses and IPv6 address mappings AUTHOR
Jeroen van Ingen and Carlos Vicente SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $info = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $info->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
The SNMP::Info::IPv6 class implements functions to for mapping IPv6 addresses to MAC addresses, interfaces and more. It will use data from the IP-MIB, IPV6-MIB or the CISCO-IETF-IP-MIB, whichever is supported by the device. This class is inherited by Info::Layer3 to provide IPv6 node tracking across device classes. For debugging purposes you can call this class directly as you would SNMP::Info my $info = new SNMP::Info::IPv6 (...); Inherited Classes none. Required MIBs IP-MIB =item IPV6-MIB =item CISCO-IETF-IP-MIB GLOBALS
none. TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. Internet Address Table $info->ipv6_n2p_addr() $info->ipv6_n2p_if() $info->ipv6_n2p_mac() $info->ipv6_n2p_state() $info->ipv6_n2p_type() $info->ipv6_index() Maps an IPv6 address to an interface "ifIndex" $info->ipv6_type() Maps an IPv6 address to its type (unicast, anycast, etc.) $info->ipv6_pfx_origin() Maps an IPv6 prefix with its origin (manual, well-known, dhcp, etc.) $info->ipv6_addr_prefix() Maps IPv6 addresses with their prefixes Internet Address Translation Table $info->c_inet_phys_address() Maps an address of type "cInetNetToMediaNetAddressType" on interface "ifIndex" to a physical address. MUNGES
munge_physaddr() Takes an octet stream (HEX-STRING) and returns a colon separated ASCII hex string. perl v5.12.4 2011-09-28 Info::IPv6(3pm)

Check Out this Related Man Page

Info::CiscoPower(3pm)					User Contributed Perl Documentation				     Info::CiscoPower(3pm)

NAME
SNMP::Info::CiscoPower - SNMP Interface to data stored in CISCO-POWER-ETHERNET-EXT-MIB. AUTHOR
Bill Fenner SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $poe = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $poe->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
The Info::PowerEthernet class needs a per-device helper function to properly map the "pethPsePortTable" to "ifIndex" values. This class provides that helper, using CISCO-POWER-ETHERNET-EXT-MIB. It does not define any helpers for the extra values that this MIB contains. Create or use a device subclass that inherit this class. Do not use directly. For debugging purposes you can call this class directly as you would SNMP::Info my $poe = new SNMP::Info::CiscoPower (...); Inherited Classes none. Note that it requires that the device inherits from Info::Entity. Required MIBs CISCO-POWER-ETHERNET-EXT-MIB GLOBALS
none. TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. Power Port Table $poe->peth_port_ifindex() Maps the "pethPsePortTable" to "ifIndex" by way of the ENTITY-MIB. $poe->peth_port_power() Power supplied by PoE ports, in milliwatts ("cpeExtPsePortPwrConsumption") CDP Port table $poe->peth_port_neg_power() Power negotiated using CDP, in milliwats ("cdpCachePowerConsumption") perl v5.12.4 2011-09-28 Info::CiscoPower(3pm)
Man Page