< Home

display cpu-defend dynamic-adjust history-record

Function

The display cpu-defend dynamic-adjust history-record command displays historical adaptive CPCAR adjustment records of protocol packets.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this function.

Format

display cpu-defend dynamic-adjust history-record [ packet-type { arp-reply | arp-request | arp-request-uc | dhcp-client | dhcp-server | igmp | nd } ] { all | mcu | slot slot-id }

Parameters

Parameter

Description

Value

packet-type

Specifies the type of protocol packets.

NOTE:

If this parameter is not specified, the historical adaptive CPCAR adjustment records of all supported types of protocol packets are displayed.

-

arp-reply

Specifies ARP reply packets.

-

arp-request

Specifies ARP request packets.

-

arp-request-uc

Specifies unicast ARP request packets.

-

dhcp-client

Specifies the packets sent by DHCP clients.

-

dhcp-server

Specifies the packets sent by DHCP servers.

-

igmp

Specifies IGMP packets.

-

nd

Specifies IPv6 neighbor discovery packets.

-

all

Specifies all switches in a stack if stacking is enabled or the local switch if stacking is disabled.

-

mcu

Specifies MPUs.

-

slot slot-id

  • Specifies the ID of a slot on a standalone switch if stacking is not enabled.
  • Specifies a stack ID if stacking is enabled.

The value must be set according to the device configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After adaptive CPCAR adjustment for protocol packets is enabled, you can run this command to view the historical adaptive CPCAR adjustment records of protocol packets. The information includes the adjustment time, CPCAR adjustments, and reason for the adjustments.

You can use this command to check a maximum of 100 latest historical records.

Example

# Display historical adaptive CPCAR adjustment records of protocol packets.

<HUAWEI> display cpu-defend dynamic-adjust history-record all
Dynamic-adjust history-record on mainboard:                                     
----------------------------------------------------------------------------------------                                                                        
Adjustment time     Packet type     Default/Previous/Current(kbps) Reason       
2019-04-22 11:00:41 arp-request-uc  384/672/720                    CPCAR drop packet                                                                            
2019-04-22 10:59:41 arp-request-uc  384/624/672                    CPCAR drop packet                                                                            
2019-04-22 10:58:41 arp-request-uc  384/576/624                    CPCAR drop packet                                                                            
2019-04-22 10:57:41 arp-request-uc  384/528/576                    CPCAR drop packet                                                                            
2019-04-22 10:56:41 arp-request-uc  384/480/528                    CPCAR drop packet                                                                            
2019-04-22 10:55:41 arp-request-uc  384/432/480                    CPCAR drop packet                                                                            
2019-04-22 10:54:41 arp-request-uc  384/384/432                    CPCAR drop packet                                                                            
----------------------------------------------------------------------------------------                                                                        
Dynamic-adjust history-record on slot 0                                         
----------------------------------------------------------------------------------------                                                                        
Adjustment time     Packet type     Default/Previous/Current(kbps) Reason      
----------------------------------------------------------------------------------------                                                                        
Table 1 Description of the display cpu-defend dynamic-adjust history-record command output

Item

Item

Dynamic-adjust history-record on mainboard

Historical adaptive CPCAR adjustment records of protocol packets on MPUs.

Adjustment time

Time when the CPCAR value was adjusted.

Packet type

Type of protocol packets.

Default/Previous/Current(kbps)

  • Default: default CPCAR value (in kbit/s)
  • Previous: CPCAR value after the last adjustment (in kbit/s)
  • Current: current CPCAR value (in kbit/s)

Reason

Reason for the adjustment:
  • CPCAR drop packet: Packet loss occurred due to CPCAR.
  • CPU queue drop packet: Packet loss occurred in the CPU queue.
  • CPU overload: The CPU was overloaded.
  • Set default: CPCAR was restored to the default value.

Dynamic-adjust history-record on slot 0

Historical adaptive CPCAR adjustment records of protocol packets in a slot.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >