ppmPortProtocolTargetPort
PRINTER-PORT-MONITOR-MIB ·
.1.3.6.1.4.1.2699.1.2.1.3.1.1.6
Object
column Integer32
The transport (TCP, UDP, etc.) target port number for this
protocol, i.e., an alternate port from the protocol default, or
zero if not specified (use protocol default). This object MAY
be used for any print protocol (from the Internet, NetWare,
AppleTalk, or other protocol suite).
If this object is zero, then the actual target port number is
the default port for the specified 'ppmPortProtocolType' (e.g.,
'chPort9100(11)' uses '9100').
If this object is non-zero, then it SHOULD NOT conflict with the
default (e.g., IANA-registered) target port implied by the value
of 'ppmPortProtocolType' or the explicit transport target port
specified in 'ppmPortServiceNameOrURI'. In case of conflict,
the URI value in 'ppmPortServiceNameOrURI' is authoritative
(e.g., 'ipp://example.com:631/~smith/printer').
If 'ppmPortProtocolType' is 'chLPDServer(8)', then this object
MUST be ignored (because LPR target port is fixed at '515').
Context
- MIB
- PRINTER-PORT-MONITOR-MIB
- OID
.1.3.6.1.4.1.2699.1.2.1.3.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ppmPortEntry
- 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 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-PORT-MONITOR-MIB::ppmPortProtocolTargetPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRINTER-PORT-MONITOR-MIB::ppmPortProtocolTargetPort.<ppmPrinterIndex>.<ppmPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PRINTER-PORT-MONITOR-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PRINTER-PORT-MONITOR-MIB::ppmPortProtocolTargetPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of