hwAclUserRuleMask

HUAWEI-DSLAM-ACL-MIB · .1.3.6.1.4.1.2011.5.1.1.8.1.7

Object

column r/w OctetString
Describes the mask of the user-defined ACL rule. It is a positive mask. 
              
When it is 1, it indicates that matching is required. 
The device determines the field value of a packet that needs to match based on the mask, 
and then matches the corresponding field in hwAclUserRuleStr. 
If they are consistent, it indicates that matching is successful. 
              
The character string must be hexadecimal and bytes. 
The valid length, that is, the length of corresponding bytes whose value are 1, cannot exceed 32 bytes. 
              
Whether this leaf is delivered successfully also depends on the hardware chip.

Context

MIB
HUAWEI-DSLAM-ACL-MIB
OID
.1.3.6.1.4.1.2011.5.1.1.8.1.7
Type
column
Access
readwrite
Status
current
Parent
hwAclUserEntry

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 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclUserRuleMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclUserRuleMask.<hwAclUserAclNum>.<hwAclUserSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclUserRuleMask'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-80