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 =item IPV6-MIB =item CISCO-IETF-IP-MIB
45

GLOBALS

47       none.
48

TABLE METHODS

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

MUNGES

84       munge_physaddr()
85           Takes an octet stream (HEX-STRING) and returns a colon separated
86           ASCII hex string.
87
88
89
90perl v5.28.0                      2018-11-29               SNMP::Info::IPv6(3)
Impressum