JN0-102 · Question #301
Referring to the exhibit, what is the purpose of the targets section of the configuration? [editsnmp] user@router# show communityCommunityA { authorization read-only; clients { 192.168.1.0/28; } } tra
The correct answer is B. It specifies where to send traps.. In Junos OS, the targets section within an SNMP trap-group specifies the IP addresses of the network management systems that will receive SNMP trap notifications.
Question
Referring to the exhibit, what is the purpose of the targets section of the configuration? [editsnmp] user@router# show communityCommunityA { authorization read-only; clients { 192.168.1.0/28; } } trap-groupgroupA { categories { link; } targets { 192.168.100.1; 192.168.200.1; } }
Options
- AIt defines which devices will be sending traps.
- BIt specifies where to send traps.
- CIt defines the IP addresses of management systems that can access the device.
- DIt specifies which devices can be polled for SNMP data.
How the community answered
(32 responses)- A3% (1)
- B91% (29)
- C6% (2)
Why each option
In Junos OS, the `targets` section within an SNMP `trap-group` specifies the IP addresses of the network management systems that will receive SNMP trap notifications.
The `targets` section specifies where traps are sent, not which devices will be sending traps; the device itself generates and sends traps.
In Junos OS, the `targets` statement within an SNMP `trap-group` is used to list the IP addresses of the SNMP management systems (NMS) to which the device will send SNMP trap notifications, specifying where the traps should be delivered.
The `clients` section under `community` (e.g., `192.168.1.0/28`) defines management systems that can access the device to poll SNMP data, not the `targets` section.
The `clients` section of an SNMP community string defines which devices can poll for SNMP data, while `targets` relates to outgoing traps.
Concept tested: Junos SNMP trap configuration
Source: https://www.juniper.net/documentation/us/en/software/junos/snmp/topics/topic-map/snmp-configuring-snmp-traps.html
Topics
Community Discussion
No community discussion yet for this question.