CRM
此内容尚不支持你的语言。
show crm summary
Section titled “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 summaryPolling 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}
Section titled “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]
| **** Parameter | Description |
|---|---|
| acl | Display the threshold configuration information of ACL-related resources, including counter, entry, group and table |
| all | Display the threshold configuration information of all resources |
| dnat | Display the threshold configuration information of the dnat resource |
| fdb | Display the threshold configuration information of the fdb resource |
| IPv4 | Display the threshold configuration information of ipv4 resources, including neighbor, nexthop, and route |
| IPv6 | Display the threshold configuration information of ipv6 resources, including neighbor, nexthop, and route |
| nexthop group | Display the threshold configuration information of the next-hop group resources, including member and object |
| snat | Display the threshold configuration information of the snat resource |
[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 allshow crm resources {acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat}
Section titled “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]
| ****Parameter | **** Description |
|---|---|
| acl | Display the threshold configuration information of ACL-related resources, including counter, entry, group and table |
| all | Display the threshold configuration information of all resources |
| dnat | Display the threshold configuration information of the dnat resource |
| fdb | Display the threshold configuration information of the fdb resource |
| IPv4 | Display the threshold configuration information of ipv4 resources, including neighbor, nexthop, and route |
| IPv6 | Display the threshold configuration information of ipv6 resources, including neighbor, nexthop, and route |
| nexthop group | Display the threshold configuration information of the next-hop group resources, including member and object |
| snat | Display the threshold configuration information of the snat resource |
[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 allshow crm-resource configuration
Section titled “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 configurationshow crm-resource history {all|type{acl {counter|entry|group|table}|all|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat}}
Section titled “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]
| Parameter | **** Description |
|---|---|
| all | Display historical statistical information of all types of resources |
| type | Display historical statistical information of different types of resources, including acl, dnat, fdb, ipv4, ipv6, nexthop and snat |
[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 allcrm polling interval
Section titled “crm polling interval”[Command] crm polling intervalinterval
[Purpose] Configure the CRM polling interval
[Parameter]
| Parameter | **** Description |
|---|---|
| intervarl | Value range: 1-9999, unit: seconds |
[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 terminalsonic(config)# crm polling interval 10crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} type {percentage|used|free}
Section titled “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]
| Parameter | Description |
|---|---|
| percentage/used/free | The resource types are respectively percentage, the number of used items and the number of available items |
[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 terminalsonic(config)# crm thresholds fdb type usedcrm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} {high|low}
Section titled “crm thresholds {acl {{group}{counter|entry}|table}|dnat|fdb|{ipv4|ipv6} {neighbor|nexthop|route}|nexthop group {member|object}|snat} {high|low}”[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]
| **** Parameter | Description |
|---|---|
| high/low | The maximum and minimum values of the resource statistics threshold |
| crm threshold | Resource statistics threshold, value range: 0-65535 |
[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 terminalsonic(config)# crm thresholds ipv4 neighbor high 85crm history frequency
Section titled “crm history frequency”[Command] crm history frequencyfrequency
[Purpose] Configure the frequency of CRM statistics on historical resource information and use it in conjunction with the polling time
[Parameter]
| Parameter | Description |
|---|---|
| frequency | Historical resource statistics frequency, value range: 1-9999 seconds |
[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 terminalsonic(config)# crm history frequency 10crm history max
Section titled “crm history max”[Command] crm history maxmax
[Purpose] Configure the maximum number of record entries for historical resource information statistics in CRM
[Parameter]
| Parameter | Description |
|---|---|
| max | Value range: 1 to 100 items |
[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 terminalsonic(config)# crm history max 20