Command Line Reference
Device Management
CRM
15 min
crm crm show crm summary show crm summary \[command] show crm summary \[purpose] display the summary information of crm configuration \[view] system view \[usage scenario] when you want to view the resource statistics polling time configuration, you can do so by executing this command \[use cases] sonic# show crm summary polling interval 300 second(s) show crm thresholds {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} show crm thresholds {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} \[command] show crm thresholds {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} \[purpose] display the threshold configuration of the crm \[parameter] true 127,534 true#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system view \[usage scenario] when you want to view the threshold configuration of different types of resources, you can do so by executing this command \[use cases] sonic# show crm thresholds all show crm resources {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} show crm resources {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} \[command] show crm resources {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} \[purpose] display the resource information monitored by crm \[parameter] true 116,545 true#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system view \[usage scenario] when you want to view information about different types of resources, you can do so by executing this command \[use cases] sonic# show crm resources all show crm resource configuration show crm resource configuration \[command] show crm resource configuration \[purpose] display the configuration of crm statistical history information \[view] system view \[usage scenario] when you want to view the configuration of resource statistics history information, you can do so by executing this command \[use cases] sonic# show crm resource configuration show crm resource history {all|type{acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat}} show crm resource history {all|type{acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat}} \[command] show crm resource history {all|type{acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat}} \[purpose] display the historical resource information of crm statistics \[parameter] true 103,558#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system view \[usage scenario] when you want to view the historical statistics of various types of resources, you can do so by executing this command \[use cases] sonic# show crm resource history all crm polling interval crm polling interval interval \[command] crm polling interval interval \[purpose] configure the crm polling interval \[parameter] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[usage scenario] when adjusting the polling time for resource statistics, you can configure it by executing this command \[use cases] sonic# configure terminal sonic(config)# crm polling interval 10 crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} type {percentage|used|free} crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} type {percentage|used|free} \[command] crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} type {percentage|used|free} \[purpose] configure the threshold type of crm statistical resources \[parameter] true 194,467#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[usage scenario] when adjusting the threshold types for statistics of various types of resources, you can configure them by executing this command \[use cases] sonic# configure terminal sonic(config)# crm thresholds fdb type used crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} {high|low} crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} {high|low} crm threshold \[command] crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} {high|low} crm threshold \[purpose] configure the threshold for crm statistical resources \[parameter] true 122,539#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system configuration view \[usage scenario] when adjusting the thresholds for statistics of various types of resources, you can configure them by executing this command \[use cases] sonic# configure terminal sonic(config)# crm thresholds ipv4 neighbor high 85 crm history frequency crm history frequency frequency \[command] crm history frequency frequency \[purpose] configure the frequency of crm statistics on historical resource information and use it in conjunction with the polling time \[parameter] true 130,531#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[usage scenario] when adjusting the frequency of statistical historical resource information, this command can be executed to configure it \[use cases] sonic# configure terminal sonic(config)# crm history frequency 10 crm history max crm history max max \[command] crm history max max \[purpose] configure the maximum number of record entries for historical resource information statistics in crm \[parameter] true 150,511#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[usage scenario] when adjusting the maximum number of entries for statistical historical resource information records, this command can be executed to configure it \[use cases] sonic# configure terminal sonic(config)# crm history max 20
