ipPolicyQueryL4SrcPort
POLICY-MIB ·
avaya variant
·
.1.3.6.1.4.1.81.36.5.1.6
Object
column r/w
Integer32
The source port of the packet. This fields is applicable only when ipPolicyQueryProtocol is TCP(6) or UDP(17). In all other cases its values is not used.
Context
- MIB
- POLICY-MIB
- OID
.1.3.6.1.4.1.81.36.5.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipPolicyQueryEntry
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 'POLICY-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'POLICY-MIB::ipPolicyQueryL4SrcPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'POLICY-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'POLICY-MIB::ipPolicyQueryL4SrcPort.<ipPolicyQuerySlot>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'POLICY-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'POLICY-MIB::ipPolicyQueryL4SrcPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65536