snmpCommunityContextEngineID
SNMP-COMMUNITY-MIB ·
.1.3.6.1.6.3.18.1.1.1.4
Object
The contextEngineID indicating the location of the
context in which management information is accessed
when using the community string specified by the
corresponding instance of snmpCommunityName.
The default value is the snmpEngineID of the entity in
which this object is instantiated.
Context
- MIB
- SNMP-COMMUNITY-MIB
- OID
.1.3.6.1.6.3.18.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snmpCommunityEntry
- 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 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-COMMUNITY-MIB::snmpCommunityContextEngineID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-COMMUNITY-MIB::snmpCommunityContextEngineID.<snmpCommunityIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-COMMUNITY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-COMMUNITY-MIB::snmpCommunityContextEngineID'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpEngineID
- Base type
OctetString
Values & Constraints
Type Constraints
range: 5..32
Conformance
Member of
Compliance refinements
snmpCommunityMIBCompliance
readonly
Write access is not required.