.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Info::IPv6 3pm" .TH Info::IPv6 3pm "2016-12-21" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" SNMP::Info::IPv6 \- SNMP Interface for obtaining IPv6 addresses and IPv6 address mappings .SH "AUTHOR" .IX Header "AUTHOR" Jeroen van Ingen and Carlos Vicente .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 9 \& # Let SNMP::Info determine the correct subclass for you. \& my $info = new SNMP::Info( \& AutoSpecify => 1, \& Debug => 1, \& DestHost => \*(Aqmyswitch\*(Aq, \& Community => \*(Aqpublic\*(Aq, \& Version => 2 \& ) \& or die "Can\*(Aqt connect to DestHost.\en"; \& \& my $class = $info\->class(); \& print "SNMP::Info determined this device to fall under subclass : $class\en"; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" The SNMP::Info::IPv6 class implements functions to for mapping IPv6 addresses to \s-1MAC\s0 addresses, interfaces and more. It will use data from the \fIIP-MIB\fR, \&\fI\s-1IPV6\-MIB\s0\fR, or the \fICISCO-IETF-IP-MIB\fR, whichever is supported by the device. .PP This class is inherited by Info::Layer3 to provide IPv6 node tracking across device classes. .PP For debugging purposes you can call this class directly as you would SNMP::Info .PP .Vb 1 \& my $info = new SNMP::Info::IPv6 (...); .Ve .SS "Inherited Classes" .IX Subsection "Inherited Classes" none. .SS "Required MIBs" .IX Subsection "Required MIBs" .IP "\fIIP-MIB\fR =item \fI\s-1IPV6\-MIB\s0\fR =item \fICISCO-IETF-IP-MIB\fR" 4 .IX Item "IP-MIB =item IPV6-MIB =item CISCO-IETF-IP-MIB" .SH "GLOBALS" .IX Header "GLOBALS" none. .SH "TABLE METHODS" .IX Header "TABLE METHODS" These are methods that return tables of information in the form of a reference to a hash. .SS "Internet Address Table" .IX Subsection "Internet Address Table" .ie n .IP "$info\->\fIipv6_n2p_addr()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_n2p_addr()\fR" 4 .IX Item "$info->ipv6_n2p_addr()" .PD 0 .ie n .IP "$info\->\fIipv6_n2p_if()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_n2p_if()\fR" 4 .IX Item "$info->ipv6_n2p_if()" .ie n .IP "$info\->\fIipv6_n2p_mac()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_n2p_mac()\fR" 4 .IX Item "$info->ipv6_n2p_mac()" .ie n .IP "$info\->\fIipv6_n2p_state()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_n2p_state()\fR" 4 .IX Item "$info->ipv6_n2p_state()" .ie n .IP "$info\->\fIipv6_n2p_type()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_n2p_type()\fR" 4 .IX Item "$info->ipv6_n2p_type()" .ie n .IP "$info\->\fIipv6_index()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_index()\fR" 4 .IX Item "$info->ipv6_index()" .PD Maps an IPv6 address to an interface \f(CW\*(C`ifIndex\*(C'\fR .ie n .IP "$info\->\fIipv6_type()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_type()\fR" 4 .IX Item "$info->ipv6_type()" Maps an IPv6 address to its type (unicast, anycast, etc.) .ie n .IP "$info\->\fIipv6_pfx_origin()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_pfx_origin()\fR" 4 .IX Item "$info->ipv6_pfx_origin()" Maps an IPv6 prefix with its origin (manual, well-known, dhcp, etc.) .ie n .IP "$info\->\fIipv6_addr_prefix()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_addr_prefix()\fR" 4 .IX Item "$info->ipv6_addr_prefix()" Maps IPv6 addresses with their prefixes .ie n .IP "$info\->\fIipv6_addr()\fR" 4 .el .IP "\f(CW$info\fR\->\fIipv6_addr()\fR" 4 .IX Item "$info->ipv6_addr()" Maps a table instance to an IPv6 address .SS "Internet Address Translation Table" .IX Subsection "Internet Address Translation Table" .ie n .IP "$info\->\fIc_inet_phys_address()\fR" 4 .el .IP "\f(CW$info\fR\->\fIc_inet_phys_address()\fR" 4 .IX Item "$info->c_inet_phys_address()" Maps an address of type \f(CW\*(C`cInetNetToMediaNetAddressType\*(C'\fR on interface \f(CW\*(C`ifIndex\*(C'\fR to a physical address. .SH "MUNGES" .IX Header "MUNGES" .IP "\fImunge_physaddr()\fR" 4 .IX Item "munge_physaddr()" Takes an octet stream (HEX-STRING) and returns a colon separated \s-1ASCII\s0 hex string.