dhcpSnoopingActionType
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.13.3.18.1.2
Object
column r/w
Enumeration
If set(0), not to add any action, if set(1), add shutdown action , and if set(2), add blackhole action on a port when detectd the DHCP server protended .
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.13.3.18.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dhcpSnoopingPortActionEntry
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::dhcpSnoopingActionType'
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::dhcpSnoopingActionType.<dhcpSnoopingPortIndex>'
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::dhcpSnoopingActionType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noAction |
1 | shutdown |
2 | blackhole |