< Home

Verifying the GRE Tunnel Configuration

Prerequisites

The configurations of a GRE tunnel are complete.

Procedure

  • Run the display interface tunnel [ interface-number ] command to view the status of the tunnel interface.
  • Run the display tunnel-info { tunnel-id tunnel-id | all | statistics [ slots ] } command to view tunnel information.
  • Run the display ip routing-table command to view the IPv4 routing table and check whether the outbound interface for a route to the specified destination address is a tunnel interface.
  • Run the display ipv6 routing-table command to view the IPv6 routing table and check whether the outbound interface for a route to the specified destination address is a tunnel interface.
  • Run the ping -a source-ip-address host command to check whether the local tunnel interface can ping the remote tunnel interface successfully.
  • After Keepalive detection is enabled, run the display keepalive packets count command in the tunnel interface view to view the number of Keepalive probes and Keepalive reply packets on the tunnel interface.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic