---
oid: "1.3.6.1.4.1.644.2.4.2.6.2.1.1.12"
short-description: "ds0dpDiagCmdStatus OBJECT-TYPE"
last-modified: "2018-01-03"
parent-oid: "1.3.6.1.4.1.644.2.4.2.6.2.1.1"
---

## OID: `1.3.6.1.4.1.644.2.4.2.6.2.1.1.12`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 644 eriProducts(2) dnx(4) devices(2) dnxDS0DP(6) ds0DpDiag(2) ds0dpPortDiagTable(1) ds0dpPortDiagEntry(1) ds0dpDiagCmdStatus(12)}
```

### Description

```asn1
ds0dpDiagCmdStatus OBJECT-TYPE
SYNTAX INTEGER {
\-- Initial default status for a row
ready-for-command (0),
\-- Action States used in SET Command (1..99)
update (1),
clearErrors (14),
insertError (16),

\-- Response States used in GET RESPONSE Command (100..199)
update-successful (101),
clear-successful (114),
insert-successful (116),

\-- Error Codes used in GET RESPONSE Command (200..799)
err-general-diag-error (200),
err-link-out-of-service (201),
err-invalid-loop (202),
err-invalid-bert (203),
err-test-in-progress (205),
err-field-cannot-be-set (206),
err-invalid-command (208),
err-snmp-parse-failed(500),
err-invalid-snmp-type(501),
err-invalid-snmp-var-size(502)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the command status for the DS0DP Port Row.
The value used in a SET will be replaced by a response
value in the GET RESPONSE indicating success or failure.
Default Response State used in GET RESPONSE Command
ready-for-command (0)
initial default status for a row

DS0DP Action Commands used in SET Command (1..99)
update (1)
Can be used optionally when inserting errors
in order to get status code back in response
clearErrors (14)
Resets all error counters and bert test time to zero
insertError (16)
Inserts the current invalid bit pattern as indicated
by the value of ds0dpPortDiagInsErrMode.

Response States used in GET RESPONSE Command (100..199)
update-successful (101)
Action has been successfully performed
clear-successful (114)
Error counts have been successfully cleared
insert-successful (116)
Errored bits have been successfully inserted

The Error Codes used in GET RESPONSE Command (200..799)
err-general-diag-error (200)
Unknown request error occurred.
err-invalid-loop (202)
Unrecognized loop Command requested
err-invalid-bert (203)
Unrecognized Bert Command requested
err-test-in-progress (205)
Requested action cannot be performed during bert
err-field-cannot-be-set (206)
Read-only field was included in SET request
err-invalid-command (208)
Unrecognized framer Command requested
err-snmp-parse-failed (500)
Agent could not parse variable
err-invalid-snmp-type (501)
Variable ASN type does not match Agent defined type
err-invalid-snmp-var-size (502)
Variable size is too big"
```

**Classification:** MIB object for network management

### Child OIDs

No child OID

### Terms of Use

[Terms of use](https://oid-base.com/disclaimer.htm.md)

**Note to implementers:**: The OID repository is constantly updated but does not necessarily store the latest (or most accurate) version of this formal description. For an implementation, it is recommended to search the web for a more recent description. If this is the case, please update the above description.
