.. _example_service_snmp_trap-target_checksendinglinkchanges: ########################## Check Sending Link Changes ########################## This scenario shows how to configure a ``trap-target`` to send linkDown and linkUp notifications. In addition, the SNMP ``service snmp monitor traps`` command is checked. .. image:: ../dummy.svg :width: 800 ********************** Test SNMPv1 Send Traps ********************** Description =========== A ``trap-target`` is configured to send linkDown and linkUp traps for a community in DUT0 and the ``monitor`` command is used to check sending notifications in SNMPv1. Scenario ======== .. include:: checksendinglinkchanges/testsnmpv1sendtraps .. raw:: html
*********************** Test SNMPv2c Send Traps *********************** Description =========== A ``trap-target`` is configured to send linkDown and linkUp traps for a community in DUT0 and the ``monitor`` command is used to check sending notifications in SNMPv2c. Scenario ======== .. include:: checksendinglinkchanges/testsnmpv2csendtraps .. raw:: html
************************* Test SNMPv2c Send Informs ************************* Description =========== A ``trap-target`` is configured to send linkDown and linkUp informs for a community in DUT0 and the ``monitor`` command is used to check sending notifications in SNMPv2c. Scenario ======== .. include:: checksendinglinkchanges/testsnmpv2csendinforms .. raw:: html
********************** Test SNMPv3 Send Traps ********************** Description =========== A ``trap-target`` is configured to send linkDown and linkUp traps for a user in DUT0 and the ``monitor`` command is used to check sending notifications in SNMPv3. Scenario ======== .. include:: checksendinglinkchanges/testsnmpv3sendtraps .. raw:: html
************************ Test SNMPv3 Send Informs ************************ Description =========== A ``trap-target`` is configured to send linkDown and linkUp informs for a user in DUT0 and the ``monitor`` command is used to check sending notifications in SNMPv3. Scenario ======== .. include:: checksendinglinkchanges/testsnmpv3sendinforms .. raw:: html