1SNMP::Info::Layer3::C65U0s0e(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::C6500(3)
2
3
4

NAME

6       SNMP::Info::Layer3::C6500 - SNMP Interface to Cisco Catalyst 6500 Layer
7       2/3 Switches running IOS and/or CatOS
8

AUTHOR

10       Max Baker
11

SYNOPSIS

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

DESCRIPTION

28       Abstraction subclass for Cisco Catalyst 6500 Layer 2/3 Switches.
29
30       These devices run IOS but have some of the same characteristics as the
31       Catalyst WS-C family (5xxx). For example, forwarding tables are held in
32       VLANs, and extended interface information is gleaned from CISCO-SWITCH-
33       MIB.
34
35       For speed or debugging purposes you can call the subclass directly, but
36       not after determining a more specific class using the method above.
37
38        my $c6500 = new SNMP::Info::Layer3::C6500(...);
39
40   Inherited Classes
41       SNMP::Info::CiscoStack
42       SNMP::Info::Layer3::CiscoSwitch
43       SNMP::Info::MAU
44
45   Required MIBs
46       Inherited Classes' MIBs
47           See "Required MIBs" in SNMP::Info::CiscoStack for its own MIB
48           requirements.
49
50           See "Required MIBs" in SNMP::Info::Layer3::CiscoSwitch for its own
51           MIB requirements.
52
53           See "Required MIBs" in SNMP::Info::MAU for its own MIB
54           requirements.
55

GLOBALS

57       These are methods that return scalar value from SNMP
58
59       $c6500->vendor()
60               Returns 'cisco'
61
62       $c6500->cvsSwitchMode()
63           Returns the Switch status: multiNode or standalone.
64
65       $c6500->is_virtual_switch()
66           Return 1 if the switch ("cvsSwitchMode") is in multimode (VSS).
67
68       $c6500->serial()
69           Returns serial number of unit (falls back to
70           "entPhysicalSerialNum").
71
72   Globals imported from SNMP::Info::CiscoStack
73       See documentation in "GLOBALS" in SNMP::Info::CiscoStack for details.
74
75   Globals imported from SNMP::Info::Layer3::CiscoSwitch
76       See documentation in "GLOBALS" in SNMP::Info::Layer3::CiscoSwitch for
77       details.
78
79   Globals imported from SNMP::Info::MAU
80       See documentation in "GLOBALS" in SNMP::Info::MAU 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       $c6500->i_duplex()
88           Returns reference to hash of iid to current link duplex setting.
89
90           Newer software versions return duplex based upon the result of
91           $c6500->el_duplex().  Otherwise it uses the result of the call to
92           CiscoStack::i_duplex().
93
94           See SNMP::Info::Etherlike for el_duplex() method and
95           SNMP::Info::CiscoStack for its i_duplex() method.
96
97       $c6500->i_duplex_admin()
98           Returns reference to hash of iid to administrative duplex setting.
99
100           Newer software versions return duplex based upon the result of
101           $c6500->p_duplex().  Otherwise it uses the result of the call to
102           CiscoStack::i_duplex().
103
104           See SNMP::Info::CiscoStack for its i_duplex() and p_duplex()
105           methods.
106
107       $c6500->set_i_duplex_admin(duplex, ifIndex)
108           Sets port duplex, must be supplied with duplex and port "ifIndex".
109
110           Speed choices are 'auto', 'half', 'full'.
111
112           Crosses $c6500->p_port() with $c6500->p_duplex() to utilize port
113           "ifIndex".
114
115               Example:
116               my %if_map = reverse %{$c6500->interfaces()};
117               $c6500->set_i_duplex_admin('auto', $if_map{'FastEthernet0/1'})
118                   or die "Couldn't change port duplex. ",$c6500->error(1);
119
120       $c6500->set_i_speed_admin(speed, ifIndex)
121           Sets port speed, must be supplied with speed and port "ifIndex".
122
123           Speed choices are '10', '100', '1000'.
124
125           Crosses $c6500->p_port() with $c6500->p_speed() to utilize port
126           "ifIndex".
127
128   Table Methods imported from SNMP::Info::CiscoStack
129       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStack for
130       details.
131
132   Table Methods imported from SNMP::Info::Layer3::CiscoSwitch
133       See documentation in "TABLE METHODS" in SNMP::Info::Layer3::CiscoSwitch
134       for details.
135
136   Table Methods imported from SNMP::Info::MAU
137       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
138
139
140
141perl v5.28.0                      2018-11-29      SNMP::Info::Layer3::C6500(3)
Impressum