The display keepalive packets count command displays the numbers of Keepalive messages and Keepalive response messages sent and received by a GRE tunnel interface.
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.
The actual command output varies according to the device. The command output here is only an example.
<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.
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. |