RESTAPI Manual
System
CRM
8 min
critical resource monitoring urls summary urls summary url get post patch put delete /rest/v1/running/crm y n y n n /rest/v1/running/crm/crm threshold/{resource} y n y n n /rest/v1/rpc/show crm resource n y n n n examples examples show crm resource show crm resource post https //{switch ip}/rest/v1/rpc/show crm resource get critical resource monitoring configurations get critical resource monitoring configurations get https //{switch ip}/rest/v1/running/crm update a critical resource monitoring threshold 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" } properties descriptions properties descriptions crm thresholds crm thresholds tree diagrams + 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 critical resource monitoring for devices crm threshold m (sub property of crm) path only node, has no configurable value resource m "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 type o "used percentage" "used count" "free count" (sub property of crm threshold) type of crm threshold default value "used percentage" low o 1 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 high o 1 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 interval o 1 9999 (sub property of crm) crm polling interval default value 300 show crm resource show crm resource 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 name required type/range description show crm resource m path only node, has no configurable value display statistics about crm resource(s) resource o "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 stats ro (sub property of output) path only node, has no configurable value this list exists when resource is not specified or not acl related 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 crm stats) resource select used ro uint64 (sub property of crm stats) resource used count available ro uint64 (sub property of crm stats) resource available count acl table stats ro (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 id ro string (sub property of acl table 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 table stats) resource select used ro uint64 (sub property of acl table stats) resource used count available ro uint64 (sub property of acl table stats) resource available count acl stats ro (sub property of output) path only node, has no configurable value this list exists when resource is not specified or acl group stage ro "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
