set vpn site-to-site vpn-tunnel-sharing

Description

Configures the condition for creating new VPN tunnels.

Syntax

set vpn site-to-site advanced-settings vpn-tunnel-sharing <vpn-tunnel-sharing>

Parameters

Parameter

Description

vpn-tunnel-sharing

Configures the condition for creating new VPN tunnels:

  • hosts - Creates a VPN tunnel for each pair of hosts that communicate behind the VPN Gateways

  • gateways - Creates a VPN tunnel for each peer VPN Gateway

  • subnets - Creates a VPN tunnel for each pair of subnets that communicate behind the VPN Gateways (this is the default)

Example

set vpn site-to-site advanced-settings vpn-tunnel-sharing gateways