> 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.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 system syslog host \<IP address of the Log Collector> any any&#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%2FjRdU3Z8xpn9piBsqvgst%2Ffile.gif?alt=media>)

To enable logging for Security policy:&#x20;

###
