c2900PortAddressViolationAction

CISCO-C2900-MIB · .1.3.6.1.4.1.9.9.87.1.4.1.1.26

Object

column r/w Enumeration
Indicates what action to take when an address violation
(an address mismatch or duplication) occurs on a
secure port.  The default action is to do nothing.
              
 doNothing(1)       : do nothing
 disablePort(2)     : disable port; the port can only be reenabled
                      by an explicit management action.
 sendNotify(3)        : generate address violation notification.
 disablePortAndNotify(4): disable port and send notification.

Context

MIB
CISCO-C2900-MIB
OID
.1.3.6.1.4.1.9.9.87.1.4.1.1.26
Type
column
Access
readwrite
Status
current
Parent
c2900PortEntry
Groups
6

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-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortAddressViolationAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortAddressViolationAction.<c2900PortModuleIndex>.<c2900PortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-C2900-MIB::c2900PortAddressViolationAction'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1doNothing
2disablePort
3sendNotify
4disablePortAndNotify