security vpn ipsec site-to-site peer <peer> connection-type
Specifies the type of peer connection.
A connection to the remote peer is initiated by the local peer unless the remote peer is set to 0.0.0.0, @id, or any.
- 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.
- initiate
- Indicates that the connection to the remote peer will be initiated by the local peer unless the remote peer is set to 0.0.0.0, @id, or any.This is the default behavior.
- respond
- Indicates that the local peer will not initiate a connection to the remote peer, but will respond to connections initiated by the remote peer.
Configuration mode
security {
vpn {
ipsec {
site-to-site {
peer peer{
connection-type [initiate|respond]
}
}
}
}
}
Use this command to specify the type of peer connection.
Use the set form of this command to specify the type of peer connection.
Use the delete form of this command to return the connection type to its default behavior.
Use the show form of this command to view connection type configuration.