display cpu-defend protocol-group

Function

The display cpu-defend protocol-group command displays the bandwidth and weight of the packets to be sent to the CPU in protocol groups.

Format

display cpu-defend protocol-group { whitelist | user-defined-flow | management | route-protocol | multicast | arp | mpls | access-user | link-layer | network-layer | system-message | blacklist | check-failed | fwddata-to-cp | all } configuration slot slot-id

Parameters

Parameter Description Value
whitelist

Indicates a whitelist.

-

user-defined-flow

Indicates a user-defined flow.

-

management

Indicates management packets.

-

route-protocol

Indicates routing packets.

-

multicast

Indicates multicast packets.

-

arp

Indicates ARP packets.

-

mpls

Indicates MPLS packets.

-

access-user

Indicates access user packets.

-

link-layer

Indicates link layer packets.

-

network-layer

Indicates network layer packets.

-

all

Indicates all packets.

-

configuration

Configuration.

-

slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 256 case-sensitive characters, spaces not supported.

system-message

Indicates system message packets.

-

blacklist

Indicates packets matching the blacklist.

-

check-failed

Indicates packets failing the check.

-

fwddata-to-cp

Indicates forward packets to CPU.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
cpu-defend read

Usage Guidelines

Usage Scenario

To query the bandwidth and weight of the packets to be sent to the CPU in protocol groups for analysis on the packets exceeding the specification, run the display cpu-defend protocol-group configuration command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the bandwidth and weight of the whitelist packets to be sent to the CPU on the interface board in slot 1.
<HUAWEI> display cpu-defend protocol-group whitelist configuration slot 1
C:Configured information                                                                                                            
D:Default information                                                                                                               
--------------------------------------------------------------------------                                                          
Protocol-group           Cir(C/D)(Unit:kbit/s)    Weight(C/D)                                                                       
--------------------------------------------------------------------------                                                          
whitelist                1024/1024                10/10                                                                             
--------------------------------------------------------------------------                                                          
Que-name                                          Weight(C/D)                                                                       
--------------------------------------------------------------------------                                                          
whitelist-bgp                                     1/1                                                                               
whitelist-ldp                                     1/1                                                                               
whitelist-management                              1/1                                                                               
whitelist-multicast                               1/1                                                                               
whitelist-reserve                                 1/1                                                                               
--------------------------------------------------------------------------
# Display the bandwidth and weight of the packets to be sent to the CPU in all protocol groups on the interface board in slot 1.
<HUAWEI> display cpu-defend protocol-group all configuration slot 1
Slot   : 1                                                                                                                          
C:Configured information                                                                                                            
D:Default information                                                                                                               
--------------------------------------------------------------------------                                                          
Protocol-group           Cir(C/D)(Unit:kbit/s)    Weight(C/D)                                                                       
--------------------------------------------------------------------------                                                          
whitelist                1024/1024                10/10                                                                             
user-defined-flow        0/0                      4/4                                                                               
management               0/0                      4/4                                                                               
route-protocol           0/0                      4/4                                                                               
multicast                0/0                      4/4                                                                               
arp                      0/0                      2/2                                                                               
mpls                     0/0                      2/2                                                                               
access-user              0/0                      3/3                                                                               
link-layer               0/0                      4/4                                                                               
network-layer            0/0                      3/3                                                                               
system-message           100/100                  1/1                                                                               
blacklist                0/0                      1/1                                                                               
check-failed             0/0                      1/1                                                                               
fwddata-to-cp            0/0                      1/1                                                                               
--------------------------------------------------------------------------
Table 1 Description of the display cpu-defend protocol-group command output
Item Description
Protocol-group

Name of a protocol group.

Slot

Slot ID of an interface board.

C/D

Configured value/default value.

Cir

CIR.

Weight

Weight.

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