swACLPktContMaskOption2OffsetsReference
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.2.10.2.1.3
Object
column r/w
Enumeration
Specifies the reference of the offset.
L2 - The offset will start counting from the byte
after the end of the VLAN tags (start of ether type)
L3 - The offset will start counting right after the ether type field.
The packet must have a valid L2 header and a recognizeable ether type in
order to be recognized.
L4 - The offset will start counting right after the end of ip header.
The packet must have a valid IP header in order to be recognized.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.2.10.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLPktContMaskOption2OffsetsEntry
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 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContMaskOption2OffsetsReference'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLPktContMaskOption2OffsetsReference.<swACLPktContMaskOption2OffsetsProfileID>.<swACLPktContMaskOption2OffsetsNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACLMGMT-MIB::swACLPktContMaskOption2OffsetsReference'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | l2 |
2 | l3 |
3 | l4 |