display keepalive packets count

Function

The display keepalive packets count command displays the numbers of Keepalive messages and Keepalive response messages sent and received by a GRE tunnel interface.

Format

display keepalive packets count

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
gre write

Usage Guidelines

Usage Scenario

After configuring the Keepalive function using the keepalive command, you can run the display keepalive packets count command to check the numbers of Keepalive messages and Keepalive response messages sent and received by a GRE tunnel interface.

Prerequisites

The Keepalive function has been enabled for the GRE tunnel using the keepalive command.

Follow-up Procedure

If the numbers of Keepalive messages and Keepalive response messages sent and received by a GRE tunnel interface do not change within the specific period, check whether the GRE tunnel works properly.

Example

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

# Display the numbers of Keepalive messages and Keepalive response messages sent and received by the GRE tunnel interface Tunnel 10.
<HUAWEI> system-view
[~HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol gre
[*HUAWEI-Tunnel10] commit
[~HUAWEI-Tunnel10] display keepalive packets count
Send 0 keepalive packets to peers, Receive 0 keepalive response packets from peers
Receive 0 keepalive packets from peers, Send 0 keepalive response packets to peers.
Table 1 Description of the display keepalive packets count command output
Item Description
Send 0 keepalive packets to peers

0 Keepalive messages are sent to the peer.

Send 0 keepalive response packets to peers

0 Keepalive response messages are sent to the peer.

Receive 0 keepalive response packets from peers

0 Keepalive response messages are received from the peer.

Receive 0 keepalive packets from peers

0 Keepalive messages are received from the peer.

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