11 February 2023 - Posted in
Juniper by
aners
Enable IKE debug logging in Junos by configuring the following:
set security ike traceoptions file ike-debug
set security ike traceoptions file size 10m
set security ike traceoptions file files 2
set security ike traceoptions flag all
set security ike traceoptions level 15
set security ike traceoptions gateway-filter local-address 10.0.0.123 remote-address 172.16.0.123
The log file is written to /var/log/
- disable the configuration when it's no longer needed, to not wear down the CF/SSD in the device.
Extras:
request security ike debug-enable local 10.0.0.123 remote 172.16.0.123
show security ike traceoptions
show security ike debug-status