hwAclAdvancedSrcOp
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.5.1.7
Object
column r/w
Enumeration
Describes the operation types of comparing packet source ports when the type of hwAclAdvancedProtocol is set to TCP or UDP.
Range: 0-5
Options:
1. invalid(0) -indicates an invalid field.
2. lt(1) -indicates '<'
3. eq(2) -indicates '='
4. gt(3) -indicates '>'
5. neq(4) -indicates '!='
6. range(5) -indicates within the range
Enter hwAclAdvancedSrcPort1 and hwAclAdvancedSrcPort2 for the comparison operation only when range(5) is entered.
For other values, enter only hwAclAdvancedSrcPort1.
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.5.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclAdvancedRuleEntry
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 '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::hwAclAdvancedSrcOp'
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::hwAclAdvancedSrcOp.<hwAclAdvancedAclNum>.<hwAclAdvancedSubitem>'
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::hwAclAdvancedSrcOp'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | invalid |
1 | lt |
2 | eq |
3 | gt |
4 | neq |
5 | range |