跳转到内容
Ask AI

CRM

此内容尚不支持你的语言。

[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}

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]

**** ParameterDescription
aclDisplay the threshold configuration information of ACL-related resources, including counter, entry, group and table
allDisplay the threshold configuration information of all resources
dnatDisplay the threshold configuration information of the dnat resource
fdbDisplay the threshold configuration information of the fdb resource
IPv4Display the threshold configuration information of ipv4 resources, including neighbor, nexthop, and route
IPv6Display the threshold configuration information of ipv6 resources, including neighbor, nexthop, and route
nexthop groupDisplay the threshold configuration information of the next-hop group resources, including member and object
snatDisplay 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 all

show 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
aclDisplay the threshold configuration information of ACL-related resources, including counter, entry, group and table
allDisplay the threshold configuration information of all resources
dnatDisplay the threshold configuration information of the dnat resource
fdbDisplay the threshold configuration information of the fdb resource
IPv4Display the threshold configuration information of ipv4 resources, including neighbor, nexthop, and route
IPv6Display the threshold configuration information of ipv6 resources, including neighbor, nexthop, and route
nexthop groupDisplay the threshold configuration information of the next-hop group resources, including member and object
snatDisplay 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 all

[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}}

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
allDisplay historical statistical information of all types of resources
typeDisplay 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 all

[Command] crm polling intervalinterval

[Purpose] Configure the CRM polling interval

[Parameter]

Parameter**** Description
intervarlValue 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 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}

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]

ParameterDescription
percentage/used/freeThe 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 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}

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]

**** ParameterDescription
high/lowThe maximum and minimum values of the resource statistics threshold
crm thresholdResource 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 terminal
sonic(config)# crm thresholds ipv4 neighbor high 85

[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]

ParameterDescription
frequencyHistorical 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 terminal
sonic(config)# crm history frequency 10

[Command] crm history maxmax

[Purpose] Configure the maximum number of record entries for historical resource information statistics in CRM

[Parameter]

ParameterDescription
maxValue 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 terminal
sonic(config)# crm history max 20