agentInetPortNumber
ASSETMANAGEMENT-MIB ·
.1.3.6.1.4.1.13742.7.0.0.12
Object
The UDP port number used for accessing the SNMP agent on the device.
Examples:
If the associated device MIB (PX2-MIB, EMD-MIB) has deviceCascadeType set to portForwarding, then
master: 50500
slave 1: 50501
slave 2: 50502
......
If cascading mode is not portForwarding and default (Standard) ports are being used, then
port: 161
Context
- MIB
- ASSETMANAGEMENT-MIB
- OID
.1.3.6.1.4.1.13742.7.0.0.12- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- trapInformation
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASSETMANAGEMENT-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASSETMANAGEMENT-MIB::agentInetPortNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASSETMANAGEMENT-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASSETMANAGEMENT-MIB::agentInetPortNumber'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of