Setting the keepalive timer and peer hold timer for MSDP sessions

About the keepalive timer and peer hold timer for MSDP sessions

MSDP peers periodically send keepalive messages to each other to keep a session alive. When a session is established, an MSDP peer sends a keepalive message to its peer and starts a keepalive timer and a peer hold timer. When the keepalive timer expires, the MSDP peer sends a new keepalive message. If the MSDP peer receives an MSDP message from its peer before the peer hold timer expires, it resets the peer hold timer. Otherwise, the MSDP peer tears down the session.

Because MSDP peers cannot negotiate the keepalive timer and peer hold timer, you must configure the same keepalive timer and peer hold timer for the MSDP peers of a session. The keepalive timer must be smaller than the peer hold timer.

Procedure

  1. Enter system view.

    system-view

  2. Enter MSDP view.

    msdp [ vpn-instance vpn-instance-name ]

  3. Set the keepalive timer and peer hold timer for MSDP sessions.

    timer keepalive keepalive holdtime

    By default, the keepalive timer and peer hold timer are 60 seconds and 75 seconds, respectively.

    This command immediately takes effect on an established session.