> - Downloads
> - Configuring Performance Traps
> - Related Topics
> - Configuring Event Traps
> - Configuration Statements for the SNMP Traps
> - SAE Performance Traps
> - Performance Traps
> - Trap Numbers in Performance Traps

> # Configuring Performance Traps

> Use the following configuration statements to configure performance traps:

> `
> snmp notify alarm category category-name ...
> snmp notify alarm category category-name alarm alarm-name {
>   interval interval;
>   critical critical;
>   major major;
>   minor minor;
> }
> `

> To configure performance traps:

> 1. From configuration mode, access the configuration statement that configures the type of performance trap.
>    `
>    [edit]
>    user@host# edit snmp notify
>    `
> 2. Specify the type of trap and the trap name.
>    `
>    [edit snmp notify]
>    user@host# set alarm category category-name alarm alarm-name
>    `

>    You can select from the list of trap types and their associated traps or create new traps.

> 3. (Optional) Specify the interval at which the variable associated with the trap is polled.
>    `
>    [edit snmp notify alarm category category-name alarm alarm-name]
>    user@host# set interval interval
>    `
> 4. Specify the threshold above which a critical alarm is generated.
>    `
>    [edit snmp notify alarm category category-name alarm alarm-name]
>    user@host# set critical critical
>    `
> 5. Specify the threshold above which a major alarm is generated.
>    `
>    [edit snmp notify alarm category category-name alarm alarm-name]
>    user@host# set major major
>    `
> 6. Specify the threshold above which a minor alarm is generated.
>    `
>    [edit snmp notify alarm category category-name alarm alarm-name]
>    user@host# set minor minor
>    `

> #### Published: 2009-09-10

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