nerdexam
Juniper

JN0-102 · Question #201

You have been asked to configure your router to send link-related SNMP trap notifications to the network management system (NMS) located at address 172.16.17.1. Which two commands are required? (Choos

The correct answer is A. set snmp trap-group my-trap-group targets 172.16.17.1 D. set snmp trap-group my-trap-group categories link. To send link-related SNMP traps, you must first define a trap group with the NMS target address and then specify that the link category of traps should be sent to that group. These two configuration steps work together to enable the desired notifications.

Configuration Basics

Question

You have been asked to configure your router to send link-related SNMP trap notifications to the network management system (NMS) located at address 172.16.17.1. Which two commands are required? (Choose two.)

Options

  • Aset snmp trap-group my-trap-group targets 172.16.17.1
  • Bset snmp targets 172.16.17.1
  • Cset snmp trap-group my-trap-group link-status
  • Dset snmp trap-group my-trap-group categories link

How the community answered

(28 responses)
  • A
    82% (23)
  • B
    14% (4)
  • C
    4% (1)

Why each option

To send link-related SNMP traps, you must first define a trap group with the NMS target address and then specify that the `link` category of traps should be sent to that group. These two configuration steps work together to enable the desired notifications.

Aset snmp trap-group my-trap-group targets 172.16.17.1Correct

This command defines a trap group named "my-trap-group" and specifies the destination IP address (172.16.17.1) where the SNMP traps for this group will be sent.

Bset snmp targets 172.16.17.1

This command syntax is incomplete and incorrect for defining a trap target; targets are configured within a `trap-group`.

Cset snmp trap-group my-trap-group link-status

The correct subcommand to specify the type of traps to send is `categories`, not `link-status` directly under the trap-group. `link-status` is a type of trap, but `categories link` is how you enable it.

Dset snmp trap-group my-trap-group categories linkCorrect

This command configures the previously defined trap group "my-trap-group" to send traps belonging to the "link" category, which includes link-related notifications like `link-up` and `link-down`.

Concept tested: Junos SNMP trap configuration

Source: https://www.juniper.net/documentation/us/en/software/junos/snmp/topics/topic-map/snmp-traps.html

Topics

#SNMP#Trap configuration#CLI commands

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice