Configuring GRE tunnel keepalive

Procedure

  1. Enter global configuration mode.
    device# configure terminal
  2. Enter interface configuration mode and configure a tunnel.
    device(config)# interface tunnel 5
    Valid values range from from 1-1024.
  3. Configure the keepalive interval and number of retries.
    device(config-intf-tunnel-5)# keepalive time-interval 30 retry-count 2
    Valid values for the interval range from 1-32767. Valid values for retries range from 1-255.