assocApplicationProtocol
NETWORK-SERVICES-MIB ·
.1.3.6.1.2.1.27.2.1.3
Object
column ObjectIdentifier
An identification of the protocol being used for the
application. For an OSI Application, this will be the
Application Context. For Internet applications, OID
values of the form {applTCPProtoID port} or {applUDPProtoID
port} are used for TCP-based and UDP-based protocols,
respectively. In either case 'port' corresponds to the
primary port number being used by the protocol. The
usual IANA procedures may be used to register ports for
new protocols.
Context
- MIB
- NETWORK-SERVICES-MIB
- OID
.1.3.6.1.2.1.27.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- assocEntry
- Groups
- 3
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 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETWORK-SERVICES-MIB::assocApplicationProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETWORK-SERVICES-MIB::assocApplicationProtocol.<applIndex>.<assocIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETWORK-SERVICES-MIB::assocApplicationProtocol'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.