[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring SNMP Traps

In SNMPv3, traps are created by configuring the notify, target address, and target parameters. The target address defines a management application's address and parameters to be used in sending notifications. Target parameters define the message processing and security parameters that are used in sending notifications to a particular management target. SNMPv3 also lets you define SNMPv1 and SNMPv2c traps.

NOTE: When you configure SNMP traps, make sure your configured access privileges allow the traps to be sent. Access privileges are configured at the [edit snmp v3 vacm access] and [edit snmp v3 vacm security-to-group] hierarchy levels.


To configure SNMP traps, include the following statements at the [edit snmp v3] hierarchy level:

[edit snmp v3] 
notify name {
    tag tag-name;
    type trap;
}
notify-filter name {
    oid object-identifier (include | exclude);
}            
target-address target-address-name {
    address address;
     address-mask address-mask;
    port <port-number>;
    tag-list [ tag-list ];
     target-parameters target-parameters-name;
}
target-parameters target-parameters-name {
    notify-filter profile-name;
    parameters {
        message-processing-model (v1 | v2c | v3);
        security-model (usm | v1 | v2c);
        security-level (authentication | none | privacy);
        security-name security-name;
    }

}


This section includes the following topics:


[Contents] [Prev] [Next] [Index] [Report an Error]