Setting the maximum number of IPsec tunnels

Restrictions and guidelines

To maximize concurrent performance of IPsec when memory is sufficient, increase the maximum number of IPsec tunnels. To ensure service availability when memory is insufficient, decrease the maximum number of IPsec tunnels.

Procedure

  1. Enter system view.

    system-view

  2. Set the maximum number of IPsec tunnels.

    ipsec limit max-tunnel tunnel-limit

    The number of IPsec tunnels is not limited.