swACLEtherRuleEtherType
SW-ACLMGMT-MIB ·
.1.3.6.1.4.1.171.11.5.2.1.1.7
Object
column r/w
OctetString
Specifies that the access will apply only to packets with this hexidecimal 802.1Q Ethernet type value in the packet header.
Context
- MIB
- SW-ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.11.5.2.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLEtherRuleEntry
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 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-ACLMGMT-MIB::swACLEtherRuleEtherType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-ACLMGMT-MIB::swACLEtherRuleEtherType.<swACLEtherRuleProfileID>.<swACLEtherRuleAccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SW-ACLMGMT-MIB::swACLEtherRuleEtherType'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2