Skip to content
Ask AI

CRM

Critical Resource Monitoring.

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/crmYNYNN
/rest/v1/running/crm/crm-threshold/{resource}YNYNN
/rest/v1/rpc/show-crm-resourceNYNNN
POST HTTPS://{switch IP}/rest/v1/rpc/show-crm-resource

GET Critical Resource Monitoring configurations.

Section titled “GET Critical Resource Monitoring configurations.”
GET HTTPS://{switch IP}/rest/v1/running/crm

Update a Critical Resource Monitoring threshold.

Section titled “Update a Critical Resource Monitoring threshold.”
PATCH HTTPS://{switch IP}/rest/v1/running/crm/crm-threshold
{
"resource": "nexthop-group-object",
"type": "used-percentage",
"high": "59",
"low": "12"
}

Tree Diagrams

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

Table of Properties

NameRequiredType/RangeDescription
crmMPath-only node, has no configurable value.
Critical Resource Monitoring for devices.
crm-thresholdM(sub-property of crm)
Path-only node, has no configurable value.
resourceM”ipv4-route"
"ipv4-neighbor"
"ipv4-nexthop"
"ipv6-route"
"ipv6-neighbor"
"ipv6-nexthop"
"mpls-inseg"
"mpls-nexthop"
"nexthop-group-object"
"nexthop-group-member"
"acl-table"
"acl-group"
"acl-group-entry"
"acl-group-counter"
"fdb"
"ipmc"
"snat"
"dnat"
"srv6-nexthop"
"srv6-my-sid-entry”(sub-property of crm-threshold)
Resource select.
typeO”used-percentage"
"used-count"
"free-count”(sub-property of crm-threshold)
Type of crm threshold.
Default value: “used-percentage”
lowO1..65535(sub-property of crm-threshold)
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
Default value: 70
highO1..65535(sub-property of crm-threshold)
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
Default value: 85
polling-intervalO1..9999(sub-property of crm)
crm polling interval.
Default value: 300

Tree Diagrams

+---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

NameRequiredType/RangeDescription
show-crm-resourceMPath-only node, has no configurable value.
Display statistics about CRM resource(s)
resourceO”ipv4-route"
"ipv4-neighbor"
"ipv4-nexthop"
"ipv6-route"
"ipv6-neighbor"
"ipv6-nexthop"
"mpls-inseg"
"mpls-nexthop"
"nexthop-group-object"
"nexthop-group-member"
"acl-table"
"acl-group"
"acl-group-entry"
"acl-group-counter"
"fdb"
"ipmc"
"snat"
"dnat"
"srv6-nexthop"
"srv6-my-sid-entry”(sub-property of input)
Specify which crm resource to display. If not given, display information about all resources.
crm-statsRO(sub-property of output)
Path-only node, has no configurable value.
This list exists when resource is not specified or not acl related.
resourceRO”ipv4-route"
"ipv4-neighbor"
"ipv4-nexthop"
"ipv6-route"
"ipv6-neighbor"
"ipv6-nexthop"
"mpls-inseg"
"mpls-nexthop"
"nexthop-group-object"
"nexthop-group-member"
"acl-table"
"acl-group"
"acl-group-entry"
"acl-group-counter"
"fdb"
"ipmc"
"snat"
"dnat"
"srv6-nexthop"
"srv6-my-sid-entry”(sub-property of crm-stats)
Resource select.
usedROuint64(sub-property of crm-stats)
Resource used count.
availableROuint64(sub-property of crm-stats)
Resource available count.
acl-table-statsRO(sub-property of output)
Path-only node, has no configurable value.
This list exists when resource is not specified or one of acl table, acl entry and acl counter
table-idROstring(sub-property of acl-table-stats)
resourceRO”ipv4-route"
"ipv4-neighbor"
"ipv4-nexthop"
"ipv6-route"
"ipv6-neighbor"
"ipv6-nexthop"
"mpls-inseg"
"mpls-nexthop"
"nexthop-group-object"
"nexthop-group-member"
"acl-table"
"acl-group"
"acl-group-entry"
"acl-group-counter"
"fdb"
"ipmc"
"snat"
"dnat"
"srv6-nexthop"
"srv6-my-sid-entry”(sub-property of acl-table-stats)
Resource select.
usedROuint64(sub-property of acl-table-stats)
Resource used count.
availableROuint64(sub-property of acl-table-stats)
Resource available count.
acl-statsRO(sub-property of output)
Path-only node, has no configurable value.
This list exists when resource is not specified or acl group
stageRO”INGRESS"
"EGRESS”(sub-property of acl-stats)
|

| bind-point | RO | “PORT” “LAG” “VLAN” “RIF” “SWITCH” | (sub-property of acl-stats) | | resource | RO | “ipv4-route” “ipv4-neighbor” “ipv4-nexthop” “ipv6-route” “ipv6-neighbor” “ipv6-nexthop” “mpls-inseg” “mpls-nexthop” “nexthop-group-object” “nexthop-group-member” “acl-table” “acl-group” “acl-group-entry” “acl-group-counter” “fdb” “ipmc” “snat” “dnat” “srv6-nexthop” “srv6-my-sid-entry” | (sub-property of acl-stats) Resource select. | | used | RO | uint64 | (sub-property of acl-stats) Resource used count. | | available | RO | uint64 | (sub-property of acl-stats) Resource available count. |