1Info::CiscoPortSecurityU(s3e)r Contributed Perl DocumentaItnifoon::CiscoPortSecurity(3)
2
3
4

NAME

6       SNMP::Info::CiscoPortSecurity - SNMP Interface to data from
7       CISCO-PORT-SECURITY-MIB and CISCO-PAE-MIB
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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

DESCRIPTION

27       SNMP::Info::CiscoPortSecurity is a subclass of SNMP::Info that provides
28       an interface to the CISCO-PORT-SECURITY-MIB and CISCO-PAE-MIB.  These
29       MIBs are used across the Catalyst family under CatOS and IOS.
30
31       Use or create in a subclass of SNMP::Info.  Do not use directly.
32
33   Inherited Classes
34       None.
35
36   Required MIBs
37       CISCO-PORT-SECURITY-MIB
38       CISCO-PAE-MIB
39       IEEE8021-PAE-MIB
40

GLOBALS

42       These are methods that return scalar values from SNMP
43
44   CISCO-PORT-SECURITY-MIB globals
45       $cps->cps_clear()
46           ("cpsGlobalClearSecureMacAddresses")
47
48       $cps->cps_notify()
49           ("cpsGlobalSNMPNotifControl")
50
51       $cps->cps_rate()
52           ("cpsGlobalSNMPNotifRate")
53
54       $cps->cps_enable()
55           ("cpsGlobalPortSecurityEnable")
56
57       $cps->cps_mac_count()
58           ("cpsGlobalTotalSecureAddress")
59
60       $cps->cps_mac_max()
61           ("cpsGlobalMaxSecureAddress")
62

TABLE METHODS

64   "CISCO-PORT-SECURITY-MIB" - Interface Config Table
65       $cps->cps_i_limit_val()
66           ("cpsIfInvalidSrcRateLimitValue")
67
68       $cps->cps_i_limit()
69           ("cpsIfInvalidSrcRateLimitEnable")
70
71       $cps->cps_i_sticky()
72           ("cpsIfStickyEnable")
73
74       $cps->cps_i_clear_type()
75           ("cpsIfClearSecureMacAddresses")
76
77       $cps->cps_i_shutdown()
78           ("cpsIfShutdownTimeout")
79
80       $cps->cps_i_flood()
81           ("cpsIfUnicastFloodingEnable")
82
83       $cps->cps_i_clear()
84           ("cpsIfClearSecureAddresses")
85
86       $cps->cps_i_mac()
87           ("cpsIfSecureLastMacAddress")
88
89       $cps->cps_i_count()
90           ("cpsIfViolationCount")
91
92       $cps->cps_i_action()
93           ("cpsIfViolationAction")
94
95       $cps->cps_i_mac_static()
96           ("cpsIfStaticMacAddrAgingEnable")
97
98       $cps->cps_i_mac_type()
99           ("cpsIfSecureMacAddrAgingType")
100
101       $cps->cps_i_mac_age()
102           ("cpsIfSecureMacAddrAgingTime")
103
104       $cps->cps_i_mac_count()
105           ("cpsIfCurrentSecureMacAddrCount")
106
107       $cps->cps_i_mac_max()
108           ("cpsIfMaxSecureMacAddr")
109
110       $cps->cps_i_status()
111           ("cpsIfPortSecurityStatus")
112
113       $cps->cps_i_enable()
114           ("cpsIfPortSecurityEnable")
115
116   "CISCO-PORT-SECURITY-MIB::cpsIfVlanTable"
117       $cps->cps_i_v_mac_count()
118           ("cpsIfVlanCurSecureMacAddrCount")
119
120       $cps->cps_i_v_mac_max()
121           ("cpsIfVlanMaxSecureMacAddr")
122
123       $cps->cps_i_v()
124           ("cpsIfVlanIndex")
125
126   "CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrTable"
127       $cps->cps_i_v_mac_status()
128           ("cpsIfVlanSecureMacAddrRowStatus")
129
130       $cps->cps_i_v_mac_age()
131           ("cpsIfVlanSecureMacAddrRemainAge")
132
133       $cps->cps_i_v_mac_type()
134           ("cpsIfVlanSecureMacAddrType")
135
136       $cps->cps_i_v_vlan()
137           ("cpsIfVlanSecureVlanIndex")
138
139       $cps->cps_i_v_mac()
140           ("cpsIfVlanSecureMacAddress")
141
142   "CISCO-PORT-SECURITY-MIB::cpsSecureMacAddressTable"
143       $cps->cps_m_status()
144           ("cpsSecureMacAddrRowStatus")
145
146       $cps->cps_m_age()
147           ("cpsSecureMacAddrRemainingAge")
148
149       $cps->cps_m_type()
150           ("cpsSecureMacAddrType")
151
152       $cps->cps_m_mac()
153           ("cpsSecureMacAddress")
154
155   "IEEE8021-PAE-MIB::dot1xPaePortEntry"
156       $cps->pae_i_capabilities()
157           "dot1xPaePortCapabilities"
158
159           Indicates the PAE functionality that this Port supports and that
160           may be managed through this MIB munged to return either
161           'dot1xPaePortAuthCapable' or 'dot1xPaePortSuppCapable'.
162
163       $cps->pae_i_last_eapol_frame_source()
164           "dot1xAuthLastEapolFrameSource"
165
166           The source MAC address carried in the most recently received EAPOL
167           frame.
168

Data Munging Callback Subroutines

170       $cps->munge_pae_capabilities()
171           Return either 'dot1xPaePortAuthCapable' or
172           'dot1xPaePortSuppCapable' based upon bit value.
173
174
175
176perl v5.12.0                      2009-06-12        Info::CiscoPortSecurity(3)
Impressum