> - Downloads
> - Configuring Logging Destinations for the SDX SNMP Agent
> - Related Topics
> - Configuring the SDX SNMP Agent
> - Configuring System Logging (SRC CLI)
> - Configuring a Component to Store Log Messages in a File (SRC CLI)
> - Configuring the SAE to Store Log Messages in a File (C-Web Interface)
> - Configuring Logging Destinations for the SDX SNMP Agent (C-Web Interface)

> # Configuring Logging Destinations for the SDX SNMP Agent

> Use the following configuration statement to configure logging destinations for the SDX SNMP agent:

> `
> snmp agent logger name ...
> `

> To configure logging destinations:

> 1. From configuration mode, access the configuration statement that configures the SDX SNMP agent.
>    `
>    [edit]
>    user@host# edit snmp agent
>    `
> 2. Specify the name and type of logging destination.

>    For file-based logging:

>    `
>    [edit snmp agent]
>    user@host# set logger name file
>    `

>    For syslog-based logging:

>    `
>    [edit snmp agent]
>    user@host# set logger name syslog
>    `

> #### Published: 2009-09-25

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.