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::Layer2
27       SNMP::Info::Layer3
28
29   Inherited Classes' MIBs
30       See "Required MIBs" in SNMP::Info::Layer2 for its own MIB requirements.
31
32       See "Required MIBs" in SNMP::Info::Layer3 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

TABLE METHODS

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