myPortSecurViolationType

DES7200-SECURITY-MIB · .1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3

Object

column r/w Enumeration
this object define 3 grades of port security:
violation-protect(1):
    normal security grade, indicate that when the a datagram received on a
    port with illegal MAC address will be discarded but not send trap, 
    legal and illegal MAC to a port security is 
    defined by per port's security below.
violation-restrict(2):
    normal security grade, indicate that when the a datagram received on a
    port with illegal MAC address will be discarded and send trap, legal and illegal MAC
    to a port security is defined by per port's security below.
violation-shutdown(3):
    strict security grade, indicate that when the a datagram received on a
    port with illegal MAC address, the port will be disabled for the violation
    of the port's security and send trap.

Context

MIB
DES7200-SECURITY-MIB
OID
.1.3.6.1.4.1.171.10.97.2.6.1.3.1.1.3
Type
column
Access
readwrite
Status
current
Parent
myPortSecurityEntry
Groups
1

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 'DES7200-SECURITY-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES7200-SECURITY-MIB::myPortSecurViolationType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES7200-SECURITY-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES7200-SECURITY-MIB::myPortSecurViolationType.<myPortSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES7200-SECURITY-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES7200-SECURITY-MIB::myPortSecurViolationType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1violation-protect
2violation-restrict
3violation-shutdown

Conformance