1Info::Layer3::AlteonAD(U3s)er Contributed Perl DocumentatIinofno::Layer3::AlteonAD(3)
2
3
4

NAME

6       SNMP::Info::Layer3::AlteonAD - SNMP Interface to Nortel Alteon Layer
7       2-7 Switches.
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $alteon = 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      = $alteon->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Abstraction subclass for Nortel Alteon Series Layer 2-7 load balancing
28       switches and Nortel BladeCenter Layer2-3 GbE Switch Modules.
29
30       For speed or debugging purposes you can call the subclass directly, but
31       not after determining a more specific class using the method above.
32
33        my $alteon = new SNMP::Info::Layer3::AlteonAD(...);
34
35   Inherited Classes
36       SNMP::Info::Layer3
37
38   Required MIBs
39       ALTEON-ROOT-MIB
40       ALTEON-TIGON-SWITCH-MIB
41       ALTEON-TS-PHYSICAL-MIB
42       ALTEON-TS-NETWORK-MIB
43       ALTEON-CS-PHYSICAL-MIB
44       ALTEON-CHEETAH-SWITCH-MIB
45       ALTEON-CHEETAH-NETWORK-MIB
46       Inherited Classes' MIBs
47           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
48           requirements.
49

GLOBALS

51       These are methods that return scalar value from SNMP
52
53       $alteon->model()
54           Returns model type.  Checks $alteon->id() against the ALTEON-ROOT-
55           MIB and then parses out "aceswitch", replaces "acedirector" with
56           AD, and replaces copperModule/fiberModule with BladeCenter GbESM.
57
58       $alteon->vendor()
59           Returns 'nortel'
60
61       $alteon->os()
62           Returns 'alteon'
63
64       $alteon->os_ver()
65           Returns the software version reported by "agSoftwareVersion"
66
67       $alteon->tftp_action()
68           ("agTftpAction")
69
70       $alteon->tftp_host()
71           ("agTftpServer")
72
73       $alteon->tftp_file()
74           ("agTftpCfgFileName")
75
76       $alteon->tftp_result()
77           ("agTftpLastActionStatus")
78
79   Globals imported from SNMP::Info::Layer3
80       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
81

TABLE METHODS

83       These are methods that return tables of information in the form of a
84       reference to a hash.
85
86   Overrides
87       $alteon->interfaces()
88           Returns reference to the map between IID and physical port.
89
90           Utilizes description for network interfaces.  Ports are determined
91           by formula ("ifIndex mod 256").
92
93       $alteon->i_duplex()
94           Returns reference to hash.  Maps port operational duplexes to IIDs.
95
96       $alteon->i_duplex_admin()
97           Returns reference to hash.  Maps port admin duplexes to IIDs.
98
99       $alteon->i_vlan()
100           Returns a mapping between "ifIndex" and the PVID or default VLAN.
101
102       $alteon->i_vlan_membership()
103           Returns reference to hash of arrays: key = "ifIndex", value = array
104           of VLAN IDs.  These are the VLANs which are members of the egress
105           list for the port.
106
107             Example:
108             my $interfaces = $alteon->interfaces();
109             my $vlans      = $alteon->i_vlan_membership();
110
111             foreach my $iid (sort keys %$interfaces) {
112               my $port = $interfaces->{$iid};
113               my $vlan = join(',', sort(@{$vlans->{$iid}}));
114               print "Port: $port VLAN: $vlan\n";
115             }
116
117       $alteon->v_index()
118           Returns VLAN IDs
119
120       $alteon->v_name()
121           Human-entered name for vlans.
122
123       $alteon->i_name()
124           Maps ("agPortCurCfgPortName") to port and returns the human set
125           port name if exists.
126
127       $alteon->bp_index()
128           Returns a mapping between "ifIndex" and the Bridge Table.
129
130   Table Methods imported from SNMP::Info::Layer3
131       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
132
133
134
135perl v5.12.0                      2009-06-12         Info::Layer3::AlteonAD(3)
Impressum