ldapCurCfgPrimaryIpAddr
LENOVO-GbTOR-G8332-MIB ·
.1.3.6.1.4.1.20301.2.7.16.1.1.21.1
Object
scalar OctetString
The IP address of the Primary LDAP server,it can be an ipv4 or ipv6 address.
Context
- MIB
- LENOVO-GbTOR-G8332-MIB
- OID
.1.3.6.1.4.1.20301.2.7.16.1.1.21.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- agLdapConfig
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 'LENOVO-GbTOR-G8332-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8332-MIB::ldapCurCfgPrimaryIpAddr.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8332-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8332-MIB::ldapCurCfgPrimaryIpAddr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128