cpsIfViolationCount

CISCO-PORT-SECURITY-MIB · .1.3.6.1.4.1.9.9.315.1.2.1.1.9

Object

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.

Context

MIB
CISCO-PORT-SECURITY-MIB
OID
.1.3.6.1.4.1.9.9.315.1.2.1.1.9
Type
column
Access
readonly
Status
current
Parent
cpsIfConfigEntry
Groups
3

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-SECURITY-MIB::cpsIfViolationCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-SECURITY-MIB::cpsIfViolationCount.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PORT-SECURITY-MIB::cpsIfViolationCount'

Syntax

Source
SNMPv2-SMICounter32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance

Member of
Compliance refinements
An implementation of violation count is
required only if the device can provide the
number of the violations occurred on the device.
An implementation of violation count is
required only if the device can provide the
number of the violations occurred on the device.
An implementation of violation count is
required only if the device can provide the
number of the violations occurred on the device.
An implementation of violation count is
required only if the device can provide the
number of the violations occurred on the device.
An implementation of violation count is
required only if the device can provide the
number of the violations occurred on the device.