All MIBs › CISCO-PORT-SECURITY-MIB › cpsIfViolationCount
cpsIfViolationCount
Module: CISCO-PORT-SECURITY-MIB
OID (symbolic): CISCO-PORT-SECURITY-MIB::cpsIfViolationCount
OID (numeric): 1.3.6.1.4.1.9.9.315.1.2.1.1.9
Node type: OBJECT-TYPE
Type: Counter32
Access: read-only
Description: This object indicates the number of violations occurred on a secure interface. The counter will be initialized to zero when the port security feature is enabled on an interface. This MIB object is only instantiated if the device can provide this violation statistics on the interface.
What is cpsIfViolationCount?
Counts the number of port security violations that have occurred on a secured interface, resetting to zero when port security is enabled on that interface.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.9 snmpwalk -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfViolationCount
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.9.1 snmpget -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfViolationCount.1
Start monitoring Cisco Catalyst switch (Layer 2 port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-PORT-SECURITY-MIB::cpsIfViolationCount OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (Layer 2 port security) from a single console.
How to Use in IPNetwork Monitor
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.315 | ciscoPortSecurityMIB | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.1 | ciscoPortSecurityMIBObjects | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.1.2 | cpsInterfaceObjects | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.1.2.1 | cpsIfConfigTable | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.1.2.1.1 | cpsIfConfigEntry | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.1.2.1.1.9 | cpsIfViolationCount | CISCO-PORT-SECURITY-MIB |