CRM
此内容尚不支持你的语言。
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
Section titled “show crm summary”[Command] show crm summary
[Purpose] Display CRM configuration summary information.
[View] Privileged User View
[Use Cases]
sonic# show crm summaryPolling 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}}
Section titled “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 allResource Name Threshold Type Low Threshold High Threshold-------------------- ---------------- --------------- ----------------ipv4_route percentage 70 85ipv6_route percentage 70 85ipv4_nexthop percentage 70 85ipv6_nexthop percentage 70 85ipv4_neighbor percentage 70 85ipv6_neighbor percentage 70 85nexthop_group_member percentage 70 85nexthop_group percentage 70 85acl_table percentage 70 85acl_group percentage 70 85acl_entry percentage 70 85acl_counter percentage 70 85fdb_entry percentage 70 85ipmc_entry percentage 70 85snat_entry percentage 70 85dnat_entry percentage 70 85mpls_inseg percentage 70 85mpls_nexthop percentage 70 85sonic# show crm thresholds acl tableResource Name Threshold Type Low Threshold High Threshold--------------- ---------------- --------------- ----------------acl_table percentage 70 85show 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}}
Section titled “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 allResource Name Used Count Available Count-------------------- ------------ -----------------ipv4_route 49 171971ipv6_route 9 84983ipv4_nexthop 5 36710ipv6_nexthop 0 36710ipv4_neighbor 5 36710ipv6_neighbor 0 36710nexthop_group_member 4 15356nexthop_group 2 4093fdb_entry 24 45032ipmc_entry 0 12288snat_entry 0 0dnat_entry 0 0mpls_inseg 0 235741413mpls_nexthop 0 235741413srv6_nexthop 0 235741413srv6_my_sid_entry 0 235741413Stage Bind Point Resource Name Used Count Available Count------- ------------ --------------- ------------ -----------------INGRESS PORT acl_group 1 254INGRESS PORT acl_table 1 9INGRESS LAG acl_group 0 254INGRESS LAG acl_table 1 9EGRESS PORT acl_group 1 254EGRESS PORT acl_table 1 9EGRESS LAG acl_group 0 254EGRESS LAG acl_table 1 9Table ID Resource Name Used Count Available Count--------------- --------------- ------------ -----------------0x7000000000566 acl_entry 3 1250x7000000000566 acl_counter 3 1250x7000000000569 acl_entry 3 2530x7000000000569 acl_counter 3 253sonic# show crm resources ipv4 neighborResource Name Used Count Available Count--------------- ------------ -----------------ipv4_neighbor 5 36710CRM Config
Section titled “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
Section titled “crm polling 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 terminalsonic(config)# crm polling interval 50crm 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}
Section titled “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 terminalsonic(config)# crm thresholds acl table type usedsonic(config)# crm thresholds acl group entry type usedsonic(config)# crm thresholds acl group counter type freesonic(config)# crm thresholds nexthop group member type percentagesonic(config)# crm thresholds ipv4 neighbor type usedsonic(config)# crm thresholds ipv6 neighbor type usedcrm 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}
Section titled “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}”[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 800sonic(config)# crm thresholds ipv4 neighbor low 100sonic(config)# crm thresholds ipv6 route high 500sonic(config)# crm thresholds ipv6 route low 50