agentInetPortNumber
EMD-MIB ·
.1.3.6.1.4.1.13742.8.0.0.18
Object
The UDP port number used for accessing
the SNMP agent on the device.
Examples:
If deviceCascadeType is 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
- EMD-MIB
- OID
.1.3.6.1.4.1.13742.8.0.0.18- 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 'EMD-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMD-MIB::agentInetPortNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMD-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMD-MIB::agentInetPortNumber'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of