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. Also Cisco Catalyst 2960, 2970,
8       3750 and 3850 series and blade switch CBS30x0 and CBS31x0 series
9       running IOS.
10

AUTHOR

12       Max Baker
13

SYNOPSIS

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

DESCRIPTION

30       Abstraction subclass for Cisco Catalyst 6500 Layer 2/3 Switches.
31
32       These devices run IOS but have some of the same characteristics as the
33       Catalyst WS-C family (5xxx). For example, forwarding tables are held in
34       VLANs, and extended interface information is gleaned from CISCO-SWITCH-
35       MIB.
36
37       It also supports the following IOS only series switches: Cisco Catalyst
38       2960, 2970, 3750 and 3850 series. Also blade switches from the CBS30x0
39       and CBS31x0 series.
40
41   Inherited Classes
42       SNMP::Info::CiscoStack
43       SNMP::Info::Layer3::CiscoSwitch
44       SNMP::Info::MAU
45
46   Required MIBs
47       CISCO-VIRTUAL-SWITCH-MIB
48       Inherited Classes' MIBs
49           See "Required MIBs" in SNMP::Info::CiscoStack for its own MIB
50           requirements.
51
52           See "Required MIBs" in SNMP::Info::Layer3::CiscoSwitch for its own
53           MIB requirements.
54
55           See "Required MIBs" in SNMP::Info::MAU for its own MIB
56           requirements.
57

GLOBALS

59       These are methods that return scalar value from SNMP
60
61       $c6500->vendor()
62           Returns 'cisco'
63
64       $c6500->cvsSwitchMode()
65           Returns the Switch status: multiNode or standalone.
66
67       $c6500->is_virtual_switch()
68           Return 1 if the switch ("cvsSwitchMode") is in multimode (VSS).
69
70       $c6500->serial()
71           Returns serial number of unit (falls back to
72           "entPhysicalSerialNum").
73
74   Globals imported from SNMP::Info::CiscoStack
75       See documentation in "GLOBALS" in SNMP::Info::CiscoStack for details.
76
77   Globals imported from SNMP::Info::Layer3::CiscoSwitch
78       See documentation in "GLOBALS" in SNMP::Info::Layer3::CiscoSwitch for
79       details.
80
81   Globals imported from SNMP::Info::MAU
82       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
83

TABLE METHODS

85       These are methods that return tables of information in the form of a
86       reference to a hash.
87
88   Overrides
89       $c6500->i_duplex()
90           Returns reference to hash of iid to current link duplex setting.
91
92           Newer software versions return duplex based upon the result of
93           $c6500->el_duplex().  Otherwise it uses the result of the call to
94           CiscoStack::i_duplex().
95
96           See SNMP::Info::EtherLike for el_duplex() method and
97           SNMP::Info::CiscoStack for its i_duplex() method.
98
99       $c6500->i_duplex_admin()
100           Returns reference to hash of iid to administrative duplex setting.
101
102           Newer software versions return duplex based upon the result of
103           $c6500->p_duplex().  Otherwise it uses the result of the call to
104           CiscoStack::i_duplex().
105
106           See SNMP::Info::CiscoStack for its i_duplex() and p_duplex()
107           methods.
108
109       $c6500->set_i_duplex_admin(duplex, ifIndex)
110           Sets port duplex, must be supplied with duplex and port "ifIndex".
111
112           Speed choices are 'auto', 'half', 'full'.
113
114           Crosses $c6500->p_port() with $c6500->p_duplex() to utilize port
115           "ifIndex".
116
117               Example:
118               my %if_map = reverse %{$c6500->interfaces()};
119               $c6500->set_i_duplex_admin('auto', $if_map{'FastEthernet0/1'})
120                   or die "Couldn't change port duplex. ",$c6500->error(1);
121
122       $c6500->set_i_speed_admin(speed, ifIndex)
123           Sets port speed, must be supplied with speed and port "ifIndex".
124
125           Speed choices are '10', '100', '1000'.
126
127           Crosses $c6500->p_port() with $c6500->p_speed() to utilize port
128           "ifIndex".
129
130   Table Methods imported from SNMP::Info::CiscoStack
131       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStack for
132       details.
133
134   Table Methods imported from SNMP::Info::Layer3::CiscoSwitch
135       See documentation in "TABLE METHODS" in SNMP::Info::Layer3::CiscoSwitch
136       for details.
137
138   Table Methods imported from SNMP::Info::MAU
139       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
140
141
142
143perl v5.34.0                      2021-09-13      SNMP::Info::Layer3::C6500(3)
Impressum