Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Standard SNMP Version 1 Traps
- Standard SNMP Version 2 Traps
- Juniper Networks Enterprise-Specific SNMP Version 1 Traps
- Juniper Networks Enterprise-Specific SNMP Version 2 Traps
Configuring SNMP Trap Groups
Before any SNMP traps can be sent, you must configure a trap group, the categories of traps the group can receive, and the targets (systems) that will receive the traps. To create and name an SNMP trap group, include the trap-group statement at the [edit snmp] hierarchy level:
The trap group name can be any string and is embedded in the community name field of the trap. To configure your own trap group port, include the destination-port statement. The default destination port is port 162.
For each trap group that you define, you must include the target statement to define at least one system as the recipient of the SNMP traps in the trap group. Specify the IPv4 address of each recipient and not its hostname.
Specify the types of traps the trap group can receive in the categories statement.
A trap group can receive the following categories of traps:
- authentication—Authentication failures
- chassis—Chassis or environment notifications
- configuration—Configuration notifications
- link—Link-related notifications such as up-down transitions
- remote-operations—Remote operation notifications
- startup—System warm and cold starts
The version statement allows you to specify the SNMP version of the traps sent to targets of the trap group. If you specify v1 only, SNMPv1 traps are sent. If you specify v2 only, SNMPv2 traps are sent. If you specify all, both an SNMPv1 and an SNMPv2 trap are sent for every trap condition. For more information about the version statement, see version.
Related Documentation
- QFabric System, QFX Series standalone switches
- Standard SNMP Version 1 Traps
- Standard SNMP Version 2 Traps
- Juniper Networks Enterprise-Specific SNMP Version 1 Traps
- Juniper Networks Enterprise-Specific SNMP Version 2 Traps
Published: 2014-07-23
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Standard SNMP Version 1 Traps
- Standard SNMP Version 2 Traps
- Juniper Networks Enterprise-Specific SNMP Version 1 Traps
- Juniper Networks Enterprise-Specific SNMP Version 2 Traps