zxAnAclExtRuleDestPortOper
ZTE-AN-QOSPCL-MIB ·
.1.3.6.1.4.1.3902.1015.26.1.15.1.14
Object
Indicates how a packet's destination TCP/UDP port number is to
be compared.
If the zxAnAclExtRuleIpProtocol object in the same row does not
indicate TCP or UDP, this object has to be 'none(1)' and cannot
be changed.
'none(0)', which is the default value, means that no comparison is
to be made with the source TCP/UDP port number.
eq(1) means equal, ge(2) means greater than or equal,
le(3) means less than or equal.
Those 3 operators are using the zxAnAclExtRuleStartDestPort
object as an operand which is the only one needed.
range(7) means that it compares the port value between two numbers,
so this operator needs 2 operands. One operand is the starting port
number of the range which is zxAnAclExtRuleStartDestPort object,
and the other operand is the ending port number of the range which
the zxAnAclExtRuleEndDestPort object is in.
Context
- MIB
- ZTE-AN-QOSPCL-MIB
- OID
.1.3.6.1.4.1.3902.1015.26.1.15.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnAclExtendedRuleEntry
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 'ZTE-AN-QOSPCL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-QOSPCL-MIB::zxAnAclExtRuleDestPortOper'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-QOSPCL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-QOSPCL-MIB::zxAnAclExtRuleDestPortOper.<zxAnAclExtAclNumber>.<zxAnAclExtRuleId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-QOSPCL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-QOSPCL-MIB::zxAnAclExtRuleDestPortOper'
Syntax
- Source
- ZxAnAclPortOperator
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | eq |
2 | ge |
3 | le |
7 | range |