This article explains how to resolve the problem of dynamic VPN tunnels are not forming automatically between the sites even though Dynamic VPN thresholds are met.
CSO relies on Application tracking messages to evaluate how many traffic flows between the sites are getting created and closed. Refer to [CSO] Decoding DVPN creation for more details. As per Junos Application tracking feature documentation [ https://www.juniper.net/documentation/us/en/software/junos/application-identification/topics/topic-map/security-application-tracking.html#example-configuring-apptrack ] , Apptrack session logs are disabled by default from Junos OS 21.1R1.
Starting in Junos OS 21.1R1, note the changes in the following logs:
AppTrack session create logs (APPTRACK_SESSION_CREATE) are disabled by default. Use the following command to enable it:
user@host# set security application-tracking log-session-create
AppTrack session close logs (APPTRACK_SESSION_CLOSE) are disabled by default. Use the following statement to enable it:
user@host# set security application-tracking log-session-close
According to CSO 6.3 release notes https://www.juniper.net/documentation/us/en/software/cso6.3.0/release-notes/cso-6.3.0-release-notes/cso-release-notes-6.3.0/topics/concept/known-behavior.html , following known behavior is also documented.
set security application-tracking log-session-create
set security application-tracking log-session-close
So in order to devices send Application tracking logs to CSO, below steps can be followed to add a stage2 template in CSO so that respective application tracking configuration can be deployed on all sites post upgrading to Junos 21.1R1 to later.
2025-2-3 : Added new symptom and how to fix it 2024-08-15 : Article Created