trap-group
Syntax
Hierarchy Level
Release Information
Description
Options
Required Privilege
Level
Related
Documentation
Copyright © 2010, Juniper Networks, Inc.
trap-group group-name {
categories {
category;
}
destination-port port-number;
routing-instance instance;
targets {
address;
}
version (all | v1 | v2);
}
[edit snmp]
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Create a named group of hosts to receive the specified trap notifications. The name of
the trap group is embedded in SNMP trap notification packets as one variable binding
(varbind) known as the community name. At least one trap group must be configured
for SNMP traps to be sent.
group-name
—Name of the trap group. If the name includes spaces, enclose it in quotation
marks (" ").
The remaining statements are explained separately.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.
Configuring SNMP Trap Groups
Chapter 129: SNMP
3659