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