1SNMP::Info::IPv6(3)   User Contributed Perl Documentation  SNMP::Info::IPv6(3)
2
3
4

NAME

6       SNMP::Info::IPv6 - SNMP Interface for obtaining IPv6 addresses and IPv6
7       address mappings
8

AUTHOR

10       Jeroen van Ingen and Carlos Vicente
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $info = new SNMP::Info(
15                                 AutoSpecify => 1,
16                                 Debug       => 1,
17                                 DestHost    => 'myswitch',
18                                 Community   => 'public',
19                                 Version     => 2
20                               )
21           or die "Can't connect to DestHost.\n";
22
23        my $class      = $info->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       The SNMP::Info::IPv6 class implements functions to for mapping IPv6
28       addresses to MAC addresses, interfaces and more. It will use data from
29       the IP-MIB, IPV6-MIB, or the CISCO-IETF-IP-MIB, whichever is supported
30       by the device.
31
32       This class is inherited by Info::Layer3 to provide IPv6 node tracking
33       across device classes.
34
35       For debugging purposes you can call this class directly as you would
36       SNMP::Info
37
38        my $info = new SNMP::Info::IPv6 (...);
39
40   Inherited Classes
41       none.
42
43   Required MIBs
44       IP-MIB
45       IPV6-MIB
46       CISCO-IETF-IP-MIB
47

GLOBALS

49       none.
50

TABLE METHODS

52       These are methods that return tables of information in the form of a
53       reference to a hash.
54
55   Internet Address Table
56       $info->ipv6_n2p_addr()
57       $info->ipv6_n2p_if()
58       $info->ipv6_n2p_mac()
59       $info->ipv6_n2p_state()
60       $info->ipv6_n2p_type()
61       $info->ipv6_index()
62           Maps an IPv6 address to an interface "ifIndex"
63
64       $info->ipv6_type()
65           Maps an IPv6 address to its type (unicast, anycast, etc.)
66
67       $info->ipv6_pfx_origin()
68           Maps an IPv6 prefix with its origin (manual, well-known, dhcp,
69           etc.)
70
71       $info->ipv6_addr_prefix()
72           Maps IPv6 addresses with their prefixes
73
74       $info->ipv6_addr_prefixlength()
75           Maps IPv6 addresses with their prefix length
76
77       $info->ipv6_addr()
78           Maps a table instance to an IPv6 address
79
80   Internet Address Translation Table
81       $info->c_inet_phys_address()
82           Maps an address of type "cInetNetToMediaNetAddressType" on
83           interface "ifIndex" to a physical address.
84

MUNGES

86       munge_physaddr()
87           Takes an octet stream (HEX-STRING) and returns a colon separated
88           ASCII hex string.
89
90
91
92perl v5.36.0                      2022-07-22               SNMP::Info::IPv6(3)
Impressum