zbrNetIfTcpAlternateRawPortNumber
ZEBRA-MIB ·
.1.3.6.1.4.1.10642.20.10.20.15.2.1.15
Object
An alternate TCP RAW port number to listen on for print jobs. The default port is 9100 or 6101. Setting this value to a TCP port that is in use by another TCP application will return an error.
Context
- MIB
- ZEBRA-MIB
- OID
.1.3.6.1.4.1.10642.20.10.20.15.2.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zbrNetIfTcpSettingsEntry
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 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZEBRA-MIB::zbrNetIfTcpAlternateRawPortNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZEBRA-MIB::zbrNetIfTcpAlternateRawPortNumber.<zbrNetIfTcpInterfaceType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZEBRA-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZEBRA-MIB::zbrNetIfTcpAlternateRawPortNumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647