security vpn ipsec site-to-site peer <peer> tunnel <tunnel> disable
Disables a VPN tunnel without discarding configuration.
The VPN tunnel configuration is enabled.
- peer
- Mandatory. The address of the far-end VPN gateway. The format is an IPv4 address, an IPv6 address, a hostname (IPv4 networks only), an authentication ID, or 0.0.0.0.
- tunnel
- Mandatory. Multi-node. An integer that uniquely identifies this tunnel configuration for this peer VPN gateway. Each tunnel corresponds to a distinct connection configuration. The numbers range from 0 through 4294967295.
A given VPN peer may have more than one tunnel configuration, but each peer must have at least one. To define more than one tunnel configuration for a peer, create multiple tunnel configuration nodes within the peer configuration.
Configuration mode
security {
vpn {
ipsec {
site-to-site {
peer peer {
tunnel tunnel {
disable
}
}
}
}
}
}
Use this command to disable the VPN tunnel without discarding configuration. The tunnel can then be re-enabled at a later time without the need to redefine the configuration.
Use the set form of this command to disable the tunnel.
Use the delete form of this command to enable the tunnel.
Use the show form of this command to view the VPN tunnel configuration.