> For the complete documentation index, see [llms.txt](https://docs.blusapphire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/juniper/using-cli-1.md).

# Using CLI

### Using CLI&#x20;

1. Log in to the Juniper SRX device CLI console.&#x20;
2. Execute the following command:&#x20;

user\@host# `set security policies from-zone trust to-zone untrust policy permit-all then log session-close`&#x20;

!\[Graphical user interface, text, application, email

Description automatically generated]\(<https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMRHZBPHlLDUc8519fX%2Fuploads%2FhWgJRVTxW2okRUVhtU3n%2Ffile.gif?alt=media>)

Juniper Networks IDP Device (version IDP 50)&#x20;

###  
