hwIpDslamBgpPeerLastError
HUAWEI-IPDSLAM-L3PROTOCOL-MIB ·
.1.3.6.1.4.1.2011.6.125.1.6.4
Object
scalar OctetString
The last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.
Context
- MIB
- HUAWEI-IPDSLAM-L3PROTOCOL-MIB
- OID
.1.3.6.1.4.1.2011.6.125.1.6.4- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwBgpAlarmTrapsVbOids
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 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB::hwIpDslamBgpPeerLastError.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-L3PROTOCOL-MIB::hwIpDslamBgpPeerLastError'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.