1SNMP::Info::Layer2::AdtUrsaenr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer2::Adtran(3)
2
3
4

NAME

6       SNMP::Info::Layer2::Adtran - SNMP Interface to Adtran Devices
7

SYNOPSIS

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

DESCRIPTION

23       Subclass for adtran Devices running JUNOS
24
25   Inherited Classes
26       SNMP::Info::Layer3
27       SNMP::Info::LLDP
28
29   Inherited Classes' MIBs
30       See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
31
32       See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements.
33

GLOBALS

35       These are methods that return scalar value from SNMP
36
37       $adtran->vendor()
38           Returns 'adtran'
39
40       $adtran->os()
41           Returns 'aos'
42
43       $adtran->layers()
44           Ensures that layer two is reported, at least.
45
46       $adtran->os_ver()
47           Returns the software version extracted first from "adProdSwVersion"
48           or "adAOSDeviceVersion".
49
50       $adtran->model()
51           Returns the model extracted first from "adProdName" or
52           "adAOSDeviceProductName".
53
54       $adtran->serial()
55           Returns serial number.
56
57   Globals imported from SNMP::Info::Layer3
58       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
59
60   Global Methods imported from SNMP::Info::LLDP
61       See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
62

TABLE METHODS

64       These are methods that return tables of information in the form of a
65       reference to a hash.
66
67       $adtran->v_name()
68           VLAN names table.
69
70       $adtran->i_name()
71           Interface names table.
72
73       $adtran->i_vlan()
74           Returns a mapping between "ifIndex" and the PVID or default VLAN.
75
76       $adtran->i_vlan_membership()
77           Returns reference to hash of arrays: key = "ifIndex", value = array
78           of VLAN IDs.  These are the VLANs which are members of the egress
79           list for the port.
80
81   Table Methods imported from SNMP::Info::Layer3
82       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
83
84   Table Methods imported from SNMP::Info::LLDP
85       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
86
87
88
89perl v5.28.0                      2018-11-29     SNMP::Info::Layer2::Adtran(3)
Impressum