display cpu-defend protocol-group statistics

Function

The display cpu-defend protocol-group statistics command displays statistics about 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 } statistics 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.

-

slot slot-id

Specifies the slot ID of a board.

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

system-message

Indicate system message packets.

-

blacklist

Indicate blacklist packets.

-

check-failed

Indicate check-failed packets.

-

fwddata-to-cp

Indicates forward packets to CPU.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
soc read

Usage Guidelines

Usage Scenario

To query statistics about 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 statistics command.

Example

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

# Display statistics about the packets to be sent to the CPU in the route-protocol group on the board in slot 1.
<HUAWEI> display cpu-defend protocol-group route-protocol statistics slot 1
Slot   : 1                                                                                                                          
--------------------------------------------------------------------------------                                                    
Protocol-group             Passed-Packets      Dropped-Packets                                                                      
--------------------------------------------------------------------------------                                                    
route-protocol             826                 0                                                                                    
--------------------------------------------------------------------------------                                                    
Que-name                   Passed-Packets      Dropped-Packets                                                                      
--------------------------------------------------------------------------------                                                    
bgp                        0                   0                                                                                    
bgpv6                      0                   0                                                                                    
isis                       782                 0                                                                                    
ospf                       0                   0                                                                                    
ospfv3                     44                  0                                                                                    
rip                        0                   0                                                                                    
--------------------------------------------------------------------------------
# Display statistics about the packets to be sent to the CPU in all protocol group on the board in slot 1.
<HUAWEI> display cpu-defend protocol-group all statistics slot 1
Slot   : 1                                                                                                                         
--------------------------------------------------------------------------------                                                    
Protocol-group             Passed-Packets      Dropped-Packets                                                                      
--------------------------------------------------------------------------------                                                    
whitelist                  0                   0                                                                                    
user-defined-flow          0                   0                                                                                    
management                 0                   0                                                                                    
route-protocol             0                   0                                                                                    
multicast                  0                   0                                                                                    
arp                        0                   0                                                                                    
mpls                       0                   0                                                                                    
access-user                0                   0                                                                                    
link-layer                 690                 0                                                                                    
network-layer              0                   0                                                                                    
system-message             0                   0                                                                                    
blacklist                  0                   0                                                                                    
check-failed               0                   0                                                                                    
fwddata-to-cp              0                   0                                                                                    
--------------------------------------------------------------------------------
Table 1 Description of the display cpu-defend protocol-group statistics command output
Item Description
route-protocol

Route Protocol.

Slot

Slot ID of an interface board.

Protocol-group

Name of a protocol group.

Passed-Packets

Number of forwarded packets.

Dropped-Packets

Number of dropped packets.

Que-name

Queue Name.

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