---
title: CRM
slug: aidc/2ehE-crm
createdAt: 2025-12-29T10:34:40.430Z
---

Critical Resource Monitoring.

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

| **URL**                                            | **GET** | **POST** | **PATCH** | **PUT** | **DELETE** |
| -------------------------------------------------- | ------- | -------- | --------- | ------- | ---------- |
| /rest/v1/running/crm                               | Y       | N        | Y         | N       | N          |
| /rest/v1/running/crm/crm-threshold/&#x7B;resource} | Y       | N        | Y         | N       | N          |
| /rest/v1/rpc/show-crm-resource                     | N       | Y        | N         | N       | N          |

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

### <font color="#1d50a2">Show CRM resource</font>

```json
POST HTTPS://{switch IP}/rest/v1/rpc/show-crm-resource
```

### <font color="#1d50a2">GET Critical Resource Monitoring configurations.</font>

```json
GET HTTPS://{switch IP}/rest/v1/running/crm
```

### <font color="#1d50a2">Update a Critical Resource Monitoring threshold.</font>

```json
PATCH HTTPS://{switch IP}/rest/v1/running/crm/crm-threshold
{
    "resource": "nexthop-group-object",
    "type": "used-percentage",
    "high": "59",
    "low": "12"
}
```

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

### <font color="#1d50a2">CRM thresholds</font>

**Tree Diagrams**

```plaintext
  +--rw crm
     +--rw crm-threshold* [resource]
     |  +--rw resource
     |  +--rw type?
     |  +--rw low?
     |  +--rw high?
     +--rw polling-interval?
```

**Table of Properties**

| **Name**         | **Required** | **Type/Range**                                                                                                                                                                                                                                                                                                                                                                               | **Description**                                                                                                                                                                                                                                                                                                                                                              |
| ---------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| crm              | M            |                                                                                                                                                                                                                                                                                                                                                                                              | Path-only node, has no configurable value.<br />Critical Resource Monitoring for devices.                                                                                                                                                                                                                                                                                    |
| crm-threshold    | M            |                                                                                                                                                                                                                                                                                                                                                                                              | (sub-property of crm)<br />Path-only node, has no configurable value.                                                                                                                                                                                                                                                                                                        |
| resource         | M            | "ipv4-route"<br />"ipv4-neighbor"<br />"ipv4-nexthop"<br />"ipv6-route"<br />"ipv6-neighbor"<br />"ipv6-nexthop"<br />"mpls-inseg"<br />"mpls-nexthop"<br />"nexthop-group-object"<br />"nexthop-group-member"<br />"acl-table"<br />"acl-group"<br />"acl-group-entry"<br />"acl-group-counter"<br />"fdb"<br />"ipmc"<br />"snat"<br />"dnat"<br />"srv6-nexthop"<br />"srv6-my-sid-entry" | (sub-property of crm-threshold)<br />Resource select.                                                                                                                                                                                                                                                                                                                        |
| type             | O            | "used-percentage"<br />"used-count"<br />"free-count"                                                                                                                                                                                                                                                                                                                                        | (sub-property of crm-threshold)<br />Type of crm threshold.<br />Default value: "used-percentage"                                                                                                                                                                                                                                                                            |
| low              | O            | 1..65535                                                                                                                                                                                                                                                                                                                                                                                     | (sub-property of crm-threshold)<br />Lowest warning of crm threshold. If type is used-percentage or used-counts, when device counters lower than low threshold, crm will stop to warning. If type is free-counts, when device counters lower than low threshold, crm will start to warning. If type is used-percentage, this value range is 1..100<br />Default value: 70    |
| high             | O            | 1..65535                                                                                                                                                                                                                                                                                                                                                                                     | (sub-property of crm-threshold)<br />Highest warning of crm threshold. If type is used-percentage or used-counts, when device counters higher than low threshold, crm will start to warning. If type is free-counts, when device counters higher than low threshold, crm will stop to warning. If type is used-percentage, this value range is 1..100<br />Default value: 85 |
| polling-interval | O            | 1..9999                                                                                                                                                                                                                                                                                                                                                                                      | (sub-property of crm)<br />crm polling interval.<br />Default value: 300                                                                                                                                                                                                                                                                                                     |

### <font color="#1d50a2">show-crm-resource</font>

**Tree Diagrams**

```plaintext
    +---x show-crm-resource
       +---w input
       |  +---w resource?
       +--ro output
          +--ro crm-stats* [resource]
          |  +--ro resource
          |  +--ro used?
          |  +--ro available?
          +--ro acl-table-stats* [table-id resource]
          |  +--ro table-id
          |  +--ro resource
          |  +--ro used?
          |  +--ro available?
          +--ro acl-stats* [stage bind-point resource]
             +--ro stage
             +--ro bind-point
             +--ro resource
             +--ro used?
             +--ro available?
```

**Table of Properties**

| **Name**          | **Required** | **Type/Range**                                                                                                                                                                                                                                                                                                                                                                               | **Description**                                                                                                                                                              |
| ----------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| show-crm-resource | M            |                                                                                                                                                                                                                                                                                                                                                                                              | Path-only node, has no configurable value.<br />Display statistics about CRM resource(s)                                                                                     |
| resource          | O            | "ipv4-route"<br />"ipv4-neighbor"<br />"ipv4-nexthop"<br />"ipv6-route"<br />"ipv6-neighbor"<br />"ipv6-nexthop"<br />"mpls-inseg"<br />"mpls-nexthop"<br />"nexthop-group-object"<br />"nexthop-group-member"<br />"acl-table"<br />"acl-group"<br />"acl-group-entry"<br />"acl-group-counter"<br />"fdb"<br />"ipmc"<br />"snat"<br />"dnat"<br />"srv6-nexthop"<br />"srv6-my-sid-entry" | (sub-property of input)<br />Specify which crm resource to display. If not given, display information about all resources.                                                   |
| crm-stats         | RO           |                                                                                                                                                                                                                                                                                                                                                                                              | (sub-property of output)<br />Path-only node, has no configurable value.<br />This list exists when resource is not specified or not acl related.                            |
| resource          | RO           | "ipv4-route"<br />"ipv4-neighbor"<br />"ipv4-nexthop"<br />"ipv6-route"<br />"ipv6-neighbor"<br />"ipv6-nexthop"<br />"mpls-inseg"<br />"mpls-nexthop"<br />"nexthop-group-object"<br />"nexthop-group-member"<br />"acl-table"<br />"acl-group"<br />"acl-group-entry"<br />"acl-group-counter"<br />"fdb"<br />"ipmc"<br />"snat"<br />"dnat"<br />"srv6-nexthop"<br />"srv6-my-sid-entry" | (sub-property of crm-stats)<br />Resource select.                                                                                                                            |
| used              | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of crm-stats)<br />Resource used count.                                                                                                                        |
| available         | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of crm-stats)<br />Resource available count.                                                                                                                   |
| acl-table-stats   | RO           |                                                                                                                                                                                                                                                                                                                                                                                              | (sub-property of output)<br />Path-only node, has no configurable value.<br />This list exists when resource is not specified or one of acl table, acl entry and acl counter |
| table-id          | RO           | string                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-table-stats)                                                                                                                                            |
| resource          | RO           | "ipv4-route"<br />"ipv4-neighbor"<br />"ipv4-nexthop"<br />"ipv6-route"<br />"ipv6-neighbor"<br />"ipv6-nexthop"<br />"mpls-inseg"<br />"mpls-nexthop"<br />"nexthop-group-object"<br />"nexthop-group-member"<br />"acl-table"<br />"acl-group"<br />"acl-group-entry"<br />"acl-group-counter"<br />"fdb"<br />"ipmc"<br />"snat"<br />"dnat"<br />"srv6-nexthop"<br />"srv6-my-sid-entry" | (sub-property of acl-table-stats)<br />Resource select.                                                                                                                      |
| used              | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-table-stats)<br />Resource used count.                                                                                                                  |
| available         | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-table-stats)<br />Resource available count.                                                                                                             |
| acl-stats         | RO           |                                                                                                                                                                                                                                                                                                                                                                                              | (sub-property of output)<br />Path-only node, has no configurable value.<br />This list exists when resource is not specified or acl group                                   |
| stage             | RO           | "INGRESS"<br />"EGRESS"                                                                                                                                                                                                                                                                                                                                                                      | (sub-property of acl-stats)<br />                                                                                                                                            |
| bind-point        | RO           | "PORT"<br />"LAG"<br />"VLAN"<br />"RIF"<br />"SWITCH"                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-stats)<br />                                                                                                                                            |
| resource          | RO           | "ipv4-route"<br />"ipv4-neighbor"<br />"ipv4-nexthop"<br />"ipv6-route"<br />"ipv6-neighbor"<br />"ipv6-nexthop"<br />"mpls-inseg"<br />"mpls-nexthop"<br />"nexthop-group-object"<br />"nexthop-group-member"<br />"acl-table"<br />"acl-group"<br />"acl-group-entry"<br />"acl-group-counter"<br />"fdb"<br />"ipmc"<br />"snat"<br />"dnat"<br />"srv6-nexthop"<br />"srv6-my-sid-entry" | (sub-property of acl-stats)<br />Resource select.                                                                                                                            |
| used              | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-stats)<br />Resource used count.                                                                                                                        |
| available         | RO           | uint64                                                                                                                                                                                                                                                                                                                                                                                       | (sub-property of acl-stats)<br />Resource available count.                                                                                                                   |

