security vpn ipsec site-to-site peer <peer> dhcp-interface <interface>
Specifies a DHCP client interface to use for the connection.
- 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.
- interface
- The interface to use for the VPN connection (e.g. dp0p1p1). Note that the interface must be configured as a DHCP client.
Configuration mode
security {
vpn {
ipsec {
site-to-site {
peer peer{
dhcp-interface interface
}
}
}
}
}
Use this command to specify a DHCP client interface to use for the connection. The connection will be automatically restarted if the IP address changes.
Use the set form of this command to specify a DHCP interface to use for the connection.
Use the delete form of this command to remove the configuration.
Use the show form of this command to view the configuration.