< Home

display gre statistic

Function

The display gre statistic command displays gre statistics.

Format

display gre statistic [ slot slot-id cpu cpu-id ]

Parameters

Parameter Description Value

slot slot-id

Specifies the slot ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu cpu-id

Specifies the ID of CPU.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The command displays GRE statistics in packet encapsulation and forwarding to help network management personnel in analyzing, locating, and processing GRE faults.

Example

# Display GRE statistics on CPU 0 of the service board that is inserted in slot 6.

<sysname> display gre statistic slot 6 cpu 0                                              
Spu board slot 6, cpu 0 information                                           
  --------------------------------------------------------------------          
  Packets forward to GRE for Decapsulation:                                     
    InPkts/InBytes:0/0                                                          
    InPktSum/InSlicePkts:0/0                                                    
    Hit tunnel failed:0, Hit pro failed:0                                       
    Version err :0, Checksum err :0, Key err :0                                 
    GRE Slice Pkts Recomp Failed :0                                             
    Transmit After Decap:0                                                      
    Transmit Failed After Decap:0                                               
    Decode IP Err:0                                                             
    Packets Deal on Local CPU/Other CPU:0/0                                     
                                                                                
  Packets forward to GRE for Encapsulation:                                     
    OutPkts/OutBytes:0/0                                                        
    Outerr:0, Max cur err:0, Unknow pkt err:0                                   
    Total Trans After Encap:0                                                   
    Trans to ipsec:0, Transmit without encrypt:0                                
    Trans Common Pkts:0                                                         
    To Other CPU or Local CPU Failed:0                                          
    Hit Fib Failed:0        
Table 1 Description of the display gre statistic slot 6 cpu 0 command output

Item

Description

Packets forward to GRE for Decapsulation:

Indicates that the following information is the statistics of received GRE packets.

InPkts/InBytes

InPkts: number of the packets received over the GRE tunnel. (Fragments of a packet are regarded as a packet.)

InBytes: total number of bytes received over the GRE tunnel.

InPktSum/InSlicePkts:

InPktSum: total number of the packets received over the GRE tunnel. (If packets are fragmented, the system collects statistics on fragments.)

InSlicePkts: number of received fragmented packets, which is InPktSum minus InPkts.

Hit tunnel failed

The packet did not match any GRE tunnel.

Hit pro failed

The packet to be decapsulated was not a GRE packet.

Version err

The Version value in the GRE header was not 0.

Checksum err

The tunnel checksum value was inconsistent with the calculated value.

GRE Slice Pkts Recomp Failed

Fragments failed to be reassembled due to a cause such as insufficient memory.

Transmit After Decap

Number of packets after decapsulation.

Transmit Failed After Decap

Number of packets that failed to be forwarded to due route look-up or session creation failures.

Decode IP Err

Number of invalid packets parsed after decapsulation.

Packets Deal on Local CPU/Other CPU

Packets Deal on Local CPU: number of packets processed again by the FW on the local CPU after decapsulation.

Packets Deal on Other CPU: number of the packets processed again by the FW on another CPU when board selection based on GRE inner packets is enabled.

Packets forward to GRE for Encapsulation:

Indicates that the following information is the statistics of transmitted GRE packets.

OutPkts/OutBytes

OutPkts: number of packets sent over the GRE tunnel.

OutBytes: total number of bytes sent over the GRE tunnel.

Outerr

Number of packets that failed to be sent.

Max cur err

Number of GRE tunnel nesting errors. (If a packet is encapsulated more than once, such an error occurs.)

NOTE:

The FW can perform GRE encapsulation only once.

Unknow pkt err

Number of non-IPv4-or-IPv6 packets.

NOTE:

The FW can encapsulate only IPv4 packets into IPv4 or IPv6 packets.

Total Trans After Encap

Number of packets after GRE encapsulation.

Trans to ipsec

Number of packets sent to the IPSec module for encapsulation after GRE encapsulation in a GRE over IPSec scenario.

Trans Common Pkts

Number of packets correctly encapsulated through GRE and properly sent, excluding the packets sent to the IPSec module for encapsulation.

To Other CPU or Local CPU Failed

Number of packets that failed to be processed on LPUs after being encapsulated.

Hit Fib Failed

Number of packets for which route look-up failed after being encapsulated.

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