---
title: CRC
slug: aidc/crc
createdAt: 2025-12-29T10:27:24.129Z
---

Cyclic Redundancy Check.

## <font color="#1d50a2">URLs Summary</font>

| **URL**                        | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| ------------------------------ | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/crc-detection | Y       | Y        | Y         | N       | Y          |

## <font color="#1d50a2">Examples</font>

### <font color="#1d50a2">Create crc detection</font>

```json
POST HTTPS://{switch IP}/rest/v1/running/crc-detection
{
    "enable": "false",
    "period": 26,
    "count": 100
}
```

### <font color="#1d50a2">Modify crc detection</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/crc-detection
{
    "enable": "true",
    "period": 24,
    "count": 50
}
```

## <font color="#1d50a2">Properties Descriptions</font>

### <font color="#1d50a2">CRC Detection global configuration</font>

**Tree Diagrams**

```plaintext
  +--rw crc-detection
     +--rw enable?
     +--rw period?
     +--rw count?
```

**Table of Properties**

| **Name**      | **Required** | **Type/Range**      | **Description**                                                                                                                                                                                                                                                                                                                                      |
| ------------- | ------------ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| crc-detection | M            |                     | Path-only node, has no configurable value.<br />CRC error packets detection.                                                                                                                                                                                                                                                                         |
| enable        | O            | "true"<br />"false" | (sub-property of crc-detection)<br />A flag indicating whether or not enable Cyclic Redundancy Check detection.<br />"true" -- Sends a SNMP trap message and sets the port to "error-down" when the received CRC error packets exceed the count in threshold within the period in threshold.<br />"false" -- do nothing.<br />Default value: "false" |
| period        | O            | 2..60               | (sub-property of crc-detection)<br />Time period for receiving CRC error packets.<br />Default value: 10                                                                                                                                                                                                                                             |
| count         | O            | 1..65535            | (sub-property of crc-detection)<br />Number of CRC error packets received.<br />Default value: 100                                                                                                                                                                                                                                                   |

