Setting the maximum number of IPsec tunnels

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.

To set the maximum number of IPsec tunnels:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the maximum number of IPsec tunnels.

ipsec limit max-tunnel tunnel-limit

By default, the number of IPsec tunnels is not limited.