hwAclPortPoolPortOp
HUAWEI-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.23.1.3
Object
column r/w
Enumeration
Operator that compares port numbers in an ACL port pool. The options are as follows: lt (matching packets whose port number is smaller than the specified port number) eq (matching packets with the specified port number) gt (matching packets whose port number is greater than the specified port number) neq (matching packets whose port number is different from the specified port number) invalid (invalid rule matching operation) range (matching packets with a specified port number in a certain range). Only range requires two port numbers as the operand. Other values require only one port number as the operand.
Context
- MIB
- HUAWEI-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.23.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclPortPoolPortEntry
- Groups
- 1
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-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ACL-MIB::hwAclPortPoolPortOp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ACL-MIB::hwAclPortPoolPortOp.<hwAclPortPoolPortPoolIndex>.<hwAclPortPoolPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ACL-MIB::hwAclPortPoolPortOp'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | invalid |
1 | lt |
2 | eq |
3 | gt |
4 | neq |
5 | range |
Conformance
Member of