Command Line Reference
System Configuration
CRM
9 min
crm view crm view table 1 crm view table 1 crm view command purpose show crm summary display crm configuration summary information show crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} display the threshold configuration of crm show crm resources {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} display information about the resources monitored by crm show crm summary show crm summary \[command] show crm summary \[purpose] display crm configuration summary information \[view] privileged user view \[use cases] sonic# show crm summary polling interval 300 second(s) show crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} show crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} \[command] show crm thresholds { all | acl table | acl group | acl group entry | acl group counter | fdb | nexthop group member | nexthop group object |{ ipv4|ipv6 } { neighbor | nexthop | route }} \[purpose] display the threshold configuration of crm \[view] privileged user view \[use cases] show crm thresholds all resource name threshold type low threshold high threshold \ ipv4 route percentage 70 85 ipv6 route percentage 70 85 ipv4 nexthop percentage 70 85 ipv6 nexthop percentage 70 85 ipv4 neighbor percentage 70 85 ipv6 neighbor percentage 70 85 nexthop group member percentage 70 85 nexthop group percentage 70 85 acl table percentage 70 85 acl group percentage 70 85 acl entry percentage 70 85 acl counter percentage 70 85 fdb entry percentage 70 85 ipmc entry percentage 70 85 snat entry percentage 70 85 dnat entry percentage 70 85 mpls inseg percentage 70 85 mpls nexthop percentage 70 85 sonic# show crm thresholds acl table resource name threshold type low threshold high threshold \ acl table percentage 70 85 show crm resources {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} show crm resources {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} \[command] show crm resources { all | acl table | acl group | acl group entry | acl group counter | fdb | nexthop group member | nexthop group object |{ ipv4|ipv6 } { neighbor | nexthop | route }} \[purpose] display information about the resources monitored by crm display information about the resources monitored by crm \[view] privileged user view \[use cases] sonic# show crm resources all resource name used count available count \ ipv4 route 49 171971 ipv6 route 9 84983 ipv4 nexthop 5 36710 ipv6 nexthop 0 36710 ipv4 neighbor 5 36710 ipv6 neighbor 0 36710 nexthop group member 4 15356 nexthop group 2 4093 fdb entry 24 45032 ipmc entry 0 12288 snat entry 0 0 dnat entry 0 0 mpls inseg 0 235741413 mpls nexthop 0 235741413 srv6 nexthop 0 235741413 srv6 my sid entry 0 235741413 stage bind point resource name used count available count \ ingress port acl group 1 254 ingress port acl table 1 9 ingress lag acl group 0 254 ingress lag acl table 1 9 egress port acl group 1 254 egress port acl table 1 9 egress lag acl group 0 254 egress lag acl table 1 9 table id resource name used count available count \ 0x7000000000566 acl entry 3 125 0x7000000000566 acl counter 3 125 0x7000000000569 acl entry 3 253 0x7000000000569 acl counter 3 253 sonic# show crm resources ipv4 neighbor resource name used count available count \ ipv4 neighbor 5 36710 crm config crm config table 2 crm config table 2 crm config command purpose crm polling interval interval set the polling interval of crm crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} type {percentage|used|free} set the crm threshold type crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} {high|low} crm threshold set thresholds for crm resources crm polling interval crm polling interval interval \[command] crm polling interval interval \[purpose] set the polling interval of crm \[parameters] parameter description interval specify the polling interval in seconds, the range is 1 9999 \[view] global configuration view \[use cases] sonic# configure terminal sonic(config)# crm polling interval 50 crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} type {percentage|used|free} crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} type {percentage|used|free} \[command] crm thresholds { all | acl table | acl group | acl group entry | acl group counter | fdb | nexthop group member | nexthop group object |{ ipv4|ipv6 } { neighbor | nexthop | route }} type { percentage | used | free } \[purpose] set the crm threshold type \[view] global configuration view \[use cases] sonic# configure terminal sonic(config)# crm thresholds acl table type used sonic(config)# crm thresholds acl group entry type used sonic(config)# crm thresholds acl group counter type free sonic(config)# crm thresholds nexthop group member type percentage sonic(config)# crm thresholds ipv4 neighbor type used sonic(config)# crm thresholds ipv6 neighbor type used crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} {high|low} crm thresholds {all|acl table|acl group|acl group entry|acl group counter|fdb|nexthop group member|nexthop group object|{ipv4|ipv6} {neighbor|nexthop|route}} {high|low} crm threshold \[command] crm thresholds { all | acl table | acl group | acl group entry | acl group counter | fdb | nexthop group member | nexthop group object |{ ipv4|ipv6 } { neighbor | nexthop | route }} { high | low } crm threshold \[purpose] set thresholds for crm resources \[parameters] parameter description crm threshold the range is 0 65535 \[view] global configuration view \[use cases] sonic(config)# crm thresholds ipv4 neighbor high 800 sonic(config)# crm thresholds ipv4 neighbor low 100 sonic(config)# crm thresholds ipv6 route high 500 sonic(config)# crm thresholds ipv6 route low 50
