vpn-monitor
Syntax
vpn-monitor { destination-ip ip-address; optimized; source-interface interface-name; verify-path { destination-ip ip-address; packet-size bytes; } }
Hierarchy Level
[edit security ipsec vpn vpn-name]
Description
Configure settings for VPN monitoring.
Options
destination-ip | Specify the destination of the Internet Control Message Protocol (ICMP) pings. If this statement is used, the device uses the peer's gateway address by default. |
optimized |
Enables VPN monitoring optimization for the specific VPN tunnel. When the administrator enables VPN monitoring optimization, the SRX Series Firewall sends ICMP echo requests (pings) only when there is an outgoing traffic and no incoming traffic from the configured peer, through the VPN tunnel. If there is an incoming traffic through the VPN tunnel, the SRX Series Firewall considers the tunnel to be active and does not send pings to the peer. VPN monitoring optimization saves resources on the SRX Series Firewall as ICMP echo requests are sent only when needed to determine peer liveliness. Also, ICMP echo requests can activate costly backup links that would otherwise not be used.
|
source-interface | Specify the source interface for ICMP requests (VPN monitoring “hellos”). If no source interface is specified, the device automatically uses the local tunnel endpoint interface. |
verification-path | Specify the verification path to verify the IPsec datapath before the secure tunnel (st0) interface is activated and route(s) associated with the interface are installed in the Junos OS forwarding table.
|
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.5.
Support for verify-path
keyword and destination-ip
added in Junos OS Release 15.1X49-D70.
Support for packet-size
option added in Junos OS Release
15.1X49-D120.
Support for vpn-monitor
and verify-path
options
with IPsec VPN running iked process is introduced in Junos OS Release 23.4R1.