portSecurityVioMode
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.32.1.1.10
Object
column r/w
Enumeration
The violation mode of secure port mac count reach the threshold.The default mode is shutdown,if you want to disable violation mode,you can config shutdown mode.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.32.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- newPortSecurityEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::portSecurityVioMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::portSecurityVioMode.<portSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::portSecurityVioMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | protect |
2 | restrict |
3 | shutdown |