---
oid: "1.3.6.1.2.1.60.1.2.1.1.5"
short-description: "acctngFileCommand OBJECT-TYPE"
last-modified: "2021-08-30"
parent-oid: "1.3.6.1.2.1.60.1.2.1.1"
---

## OID: `1.3.6.1.2.1.60.1.2.1.1.5`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) mgmt(2) mib-2(1) accountingControlMIB(60) acctngMIBObjects(1) acctngFileControl(2) acctngFileTable(1) acctngFileEntry(1) acctngFileCommand(5)}
```

### Description

```asn1
acctngFileCommand OBJECT-TYPE
SYNTAX INTEGER {
\-- the following two values are states: they may be read but not written
idle(1), cmdInProgress(2),
\-- the following two values are actions: they may be written, but are never read
swapToNewFile(3), collectNow(4)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"A control object for the collection of accounting data.
When read the value is either 'idle' or 'cmdInProgress'.
Writing a value is only allowed when the current value is 'idle'. When a value is successfully written, the value changes to 'cmdInProgress' until completion of the action, at which time the value reverts to 'idle'. Actions are invoked by writing the following values:
'swapToNewFile' - the collection of data into the current file is terminated, and collection continues into a new (version of the) file.
'collectNow' - the agent creates and stores a connection record into the current file for each active connection having a type matching acctngSelectionType and an age greater than acctngFileMinAge."
DEFVAL {idle}
```

**Classification:** MIB object for network management

### Supplementary information

Automatically extracted from IETF [RFC 2513](https://www.rfc-editor.org/rfc/rfc2513.html).

### 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.
