Check Dhcpv6 Trap Target

This scenario checks that the SNMP trap-target can be discovered via DHCPv6 vendor-options and that changing the vendor-option dynamically updates the trap destination.

Test SNMP Trap-Target Via DHCPv6

Description

Verify that SNMP trap-target is discovered via DHCPv6 vendor-options. First, traps are sent to DUT1. Then the vendor-option is changed to point to DUT2 with a different port, and traps are sent to DUT2.

Scenario

Step 1: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address '10::1/64'
set interfaces ethernet eth0 ipv6 router-advert interval 2
set interfaces ethernet eth1 address '20::1/64'
set service dhcpv6-server options vendor-options data ascii '[TRAP_SERVER,10::1,162]'
set service dhcpv6-server shared-network dhcpv6server subnet '20::/64' address-range start '20::50' stop '20::50'
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT2 :

set interfaces ethernet eth0 address '10::2/64'
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 3: Set the following configuration in DUT0 :

set interfaces dummy dum0 address 20.0.0.1/24
set interfaces dummy dum0 alarm down ALARM2TEST
set interfaces ethernet eth0 ipv6 address autoconf
set interfaces ethernet eth0 ipv6 disable-forwarding
set interfaces ethernet eth1 address dhcpv6
set interfaces ethernet eth1 dhcpv6 client parameters-only
set service snmp engine-id 0x80000009010a0101c1
set service snmp log-level debug
set service snmp trap-target dhcpv6 version v3 interface eth1
set service snmp trap-target dhcpv6 version v3 user USER2TEST
set service snmp user USER2TEST notify-traps advisor all
set service snmp user USER2TEST notify-traps alarm ALARM2TEST
set system advisor ADVISOR2TEST test ALARM2TEST
set system alarm ALARM2TEST
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 4: Run the command show monitor-db system dhcpv6 interface eth1 on DUT0 and check whether the output contains the following tokens:

snmp-servers
Show output
reason: RENEW6
snmp-servers: [10::1]:162

Step 5: Run the command file show running://log/events on DUT0 and check whether the output contains the following tokens:

TRAP sent to [10::1]:162
Show output
2026-06-03 08:21:48.112140 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 08:21:48 (reason: First boot)
2026-06-03 08:24:05.398126 local0-notice , osdx-reboot:  shutdown v4.2.10.1 2026-06-03 08:21:25 - 2026-06-03 08:24:05 (up 2 minutes)
2026-06-03 08:25:04.408841 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 08:25:04 (reason: Power Failure)
2026-06-03 09:55:18.054554 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 09:55:18 (reason: Panic)
2026-06-03 09:55:23.325563 local0-info , ReportPanic:  A Kernel panic has been detected on the system!
2026-06-03 09:55:23.325623 local0-info , ReportPanic:  Processing panic 1/1: 202606030954
2026-06-03 09:55:23.326542 local0-info , ReportPanic:  [   21.021253] [   T1969] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   21.078547] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   21.141105] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64.
[   21.193164] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   22.545349] [    T704] systemd-journald[704]: Received SIGTERM from PID 1 (systemd). [   22.545447] [      T1] systemd[1]: Stopping systemd-journald.service - Journal Service... [   22.545975] [      T1] systemd[1]: systemd-journald.service: Deactivated successfully. [   22.546068]
 [      T1] systemd[1]: Stopped systemd-journald.service - Journal Service. [   22.573040] [      T1] systemd[1]: Starting systemd-journald.service - Journal Service... [   22.581413] [      T1] systemd[1]: Started systemd-journald.service - Journal Service. [   22.626935] [   T2274] systemd-sysv-generator[2274]: stat() failed on /etc/init.d/README, ignoring: No such file or directory [   23.21955
3] [   T2413] systemd-sysv-generator[2413]: stat() failed on /etc/init.d/README, ignoring: No such file or directory [   23.750417] [   T2541] gre: GRE over IPv4 demultiplexor driver [   23.771760] [   T2541] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [   23.777493] [   T2541] ipt_NETFLOW version 2.6, srcvers
ion 5B9ED46B79C1F0FD97E2716 [   23.777496] [   T2541] ipt_NETFLOW: hashsize 196565 (1535K) [   23.777584] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow [   23.777587] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ipt_netflow [   23.777587] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow_snmp [   23.777588] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ip
t_netflow_snmp [   23.777589] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow_flows [   23.777589] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ipt_netflow_flows [   23.777590] [   T2541] NETFLOW: Init SYSCTL [   23.777597] [   T2541] ipt_NETFLOW: registered: sysctl net.netflow [   23.777612] [   T2541] ipt_NETFLOW: added destination 127.0.0.1:2055 [   23.777613] [   T2541] i
pt_NETFLOW protocol version 5 (NetFlow) enabled. [   23.777616] [   T2541] ipt_NETFLOW is loaded. [   23.783414] [   T2541] IPsec XFRM device driver [   23.787826] [   T2541] IPv4 over IPsec tunneling driver [   23.793014] [   T2541] offload: module init [   23.793020] [   T2541] offload: registered: sysctl net.offload [   23.989096] [   T2570] virtio_net virtio0 eth0: XDP request 5 queues but max
 is 1. XDP_TX and XDP_REDIRECT will operate in a slower locked tx mode. [   32.343037] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   32.343456] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   38.785230] [   T3204] loop3: detected capacity change from 0 to 82944
4 [   38.785404] [   T3204] ISO 9660 Extensions: Microsoft Joliet Level 3 [   38.785997] [   T3204] ISO 9660 Extensions: RRIP_1991A [   38.791224] [   T3205] loop4: detected capacity change from 0 to 665864 [   44.070353] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   44.070927] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived jou
rnals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   50.446755] [   T3711] loop3: detected capacity change from 0 to 829444 [   50.446956] [   T3711] ISO 9660 Extensions: Microsoft Joliet Level 3 [   50.447015] [   T3711] ISO 9660 Extensions: RRIP_1991A [   50.451604] [   T3712] loop4: detected capacity change from 0 to 665864 [   56.579340] [   T2255] systemd-journald[2255]: Received
 client request to rotate journal, rotating. [   56.579956] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   62.595483] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   62.596057] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from
 /run/log/journal/db6c204474e445bc870656488f91fc69. [   73.439337] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   73.439886] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   75.017636] [   T4516] bond0: (slave eth1): Enslaving as an active interface with an up li
nk [   75.025091] [   T4520] bond0: (slave eth0): Enslaving as an active interface with an up link [   75.035467] [   T4529] bond0: (slave eth1): Releasing backup interface [   75.035472] [   T4529] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [   75.060054] [   T4530] bond0: (sl
ave eth0): Releasing backup interface [   75.077797] [   T4532] bond0: (slave eth1): Enslaving as a backup interface with an up link [   75.079979] [   T4533] bond0: (slave eth0): Enslaving as a backup interface with an up link [   83.061962] [   T4669] bond0: (slave eth0): Releasing backup interface [   83.089213] [   T4673] bond0: (slave eth1): Removing an active aggregator [   83.089232] [   T4
673] bond0: (slave eth1): Releasing backup interface [   83.189098] [   T4719] bond0 (unregistering): Released all slaves [   86.544274] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   86.544825] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   88.315611] [   T497
7] bond0: (slave eth1): Enslaving as an active interface with an up link [   88.329991] [   T4981] bond0: (slave eth0): Enslaving as an active interface with an up link [   88.340517] [   T4989] bond0: (slave eth1): Releasing backup interface [   88.340522] [   T4989] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a dif
ferent address to avoid conflicts [   88.376126] [   T4990] bond0: (slave eth0): Releasing backup interface [   88.393891] [   T4992] bond0: (slave eth1): Enslaving as an active interface with an up link [   88.396339] [   T4993] bond0: (slave eth0): Enslaving as an active interface with an up link [  109.677418] [   T5222] bond0: (slave eth0): Releasing backup interface [  109.708402] [   T5226]
bond0: (slave eth1): Releasing backup interface [  109.813080] [   T5272] bond0 (unregistering): Released all slaves [  113.453150] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [  113.453730] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [  114.804174] [   T5532] bo
nd0: (slave eth1): Enslaving as an active interface with an up link [  114.812742] [   T5536] bond0: (slave eth0): Enslaving as an active interface with an up link [  114.824501] [   T5544] bond0: (slave eth1): Releasing backup interface [  114.824507] [   T5544] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a differen
t address to avoid conflicts [  114.843578] [   T5545] bond0: (slave eth0): Releasing backup interface [  114.878482] [   T5547] bond0: (slave eth1): making interface the new active one [  114.878494] [   T5547] bond0: (slave eth1): Enslaving as an active interface with an up link [  114.880605] [   T5548] bond0: (slave eth0): Enslaving as a backup interface with an up link [  121.660740] [   T104
2] bond0: (slave eth0): link status definitely down, disabling slave [  130.016802] [     T12] bond0: (slave eth0): l
2026-06-03 09:55:37.010455 user-crit , systemd-coredump[2742]:  Process 2321 (cnm-client) of user 0 dumped core.
2026-06-03 11:02:57.451619 user-crit , systemd-coredump[117803]:  Process 117728 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:11.268154 user-crit , systemd-coredump[117928]:  Process 117856 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:25.107004 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.117728.1780484577000000.zst.
2026-06-03 11:03:25.238552 user-crit , systemd-coredump[118066]:  Process 117985 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:35.930097 user-crit , systemd-coredump[118464]:  Process 118388 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:49.584348 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.118388.1780484615000000.zst.
2026-06-03 11:03:49.700889 user-crit , systemd-coredump[118591]:  Process 118517 (cnm-client) of user 0 dumped core.
2025-03-22 00:00:02.721067 user-crit , systemd-coredump[118978]:  Process 118908 (cnm-client) of user 0 dumped core.
2025-03-23 00:01:02.043887 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.118908.1742601602000000.zst.
2025-03-23 00:01:02.222390 user-crit , systemd-coredump[119103]:  Process 119075 (cnm-client) of user 0 dumped core.
2025-03-24 00:02:00.102834 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.119075.1742688061000000.zst.
2026-06-03 13:35:18.007029 user-crit , systemd-coredump[438999]:  Process 438641 (bgpd) of user 106 dumped core.
2026-06-03 17:01:52.674701 local0-err , net-snmp[790398]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:01:57.722484 local0-err , net-snmp[790460]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:01:58.099847 local0-err , net-snmp[790513]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:21.920559 local0-err , net-snmp[790553]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:22.326573 local0-err , net-snmp[790606]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:45.940090 local0-err , net-snmp[790640]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:03:04.112107 local0-err , net-snmp[791597]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:09.556933 local0-err , net-snmp[791657]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:09.987204 local0-err , net-snmp[791710]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:33.570575 local0-err , net-snmp[791751]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:33.954883 local0-err , net-snmp[791804]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:57.612261 local0-err , net-snmp[791838]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:04:04.024810 local0-err , net-snmp[791895]:  snmpinform: Timeout
2026-06-03 17:04:07.694720 local0-err , net-snmp[791931]:  snmpinform: Timeout
2026-06-03 17:04:14.105810 local0-err , net-snmp[791984]:  snmpinform: Timeout
2026-06-03 17:04:40.726777 local0-err , net-snmp[792169]:  snmpinform: Timeout
2026-06-03 17:08:51.619884 local0-err , net-snmp[800874]:  snmpinform: Timeout
2026-06-03 17:09:04.857882 local0-err , net-snmp[801116]:  snmpinform: Timeout
2026-06-03 17:09:57.915032 local0-err , net-snmp[803049]:  snmpinform: Timeout
2026-06-03 17:10:14.408954 local0-err , net-snmp[803327]:  snmpinform: Timeout
2026-06-03 17:10:37.707954 local0-debug , net-snmp[804649]:  TRAP sent to [10::1]:162
2026-06-03 17:10:37.708078 local0-debug , net-snmp[804649]:    Version: SNMPv3
2026-06-03 17:10:37.708125 local0-debug , net-snmp[804649]:    Security Model: USM
2026-06-03 17:10:37.708172 local0-debug , net-snmp[804649]:    Security Level: noAuthNoPriv
2026-06-03 17:10:37.708213 local0-debug , net-snmp[804649]:    Security Name: USER2TEST
2026-06-03 17:10:37.708251 local0-debug , net-snmp[804649]:    Context Name:
2026-06-03 17:10:37.708290 local0-debug , net-snmp[804649]:    OIDs:
2026-06-03 17:10:37.708327 local0-debug , net-snmp[804649]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (9) 0:00:00.09
2026-06-03 17:10:37.708365 local0-debug , net-snmp[804649]:      SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
2026-06-03 17:10:37.708416 local0-debug , net-snmp[804649]:      SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux

Step 6: Run the command service snmp monitor traps user USER2TEST engine-id 0x80000009010a0101c1 ipv6 port 162 on DUT1.

Step 7: Modify the following configuration lines in DUT0 :

set interfaces dummy dum0 disable

Step 8: Run the command service snmp monitor traps user USER2TEST engine-id 0x80000009010a0101c1 ipv6 port 162 on DUT1.

Step 9: Modify the following configuration lines in DUT0 :

delete interfaces dummy dum0 disable

Step 10: Modify the following configuration lines in DUT1 :

set service dhcpv6-server options vendor-options data ascii '[TRAP_SERVER,10::2,164]'

Step 11: Run the command service dhcpv6-client renew interface eth1 on DUT0.

Step 12: Run the command show monitor-db system dhcpv6 interface eth1 on DUT0 and check whether the output contains the following tokens:

snmp-servers: [10::2]:164
Show output
reason: RENEW6
snmp-servers: [10::2]:164

Step 13: Run the command file show running://log/events on DUT0 and check whether the output contains the following tokens:

TRAP sent to [10::2]:164
Show output
2026-06-03 08:21:48.112140 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 08:21:48 (reason: First boot)
2026-06-03 08:24:05.398126 local0-notice , osdx-reboot:  shutdown v4.2.10.1 2026-06-03 08:21:25 - 2026-06-03 08:24:05 (up 2 minutes)
2026-06-03 08:25:04.408841 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 08:25:04 (reason: Power Failure)
2026-06-03 09:55:18.054554 local0-notice , osdx-reboot:  bootup v4.2.10.1 2026-06-03 09:55:18 (reason: Panic)
2026-06-03 09:55:23.325563 local0-info , ReportPanic:  A Kernel panic has been detected on the system!
2026-06-03 09:55:23.325623 local0-info , ReportPanic:  Processing panic 1/1: 202606030954
2026-06-03 09:55:23.326542 local0-info , ReportPanic:  [   21.021253] [   T1969] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   21.078547] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   21.141105] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64.
[   21.193164] [   T1976] camellia-x86_64: performance on this CPU would be suboptimal: disabling camellia-x86_64. [   22.545349] [    T704] systemd-journald[704]: Received SIGTERM from PID 1 (systemd). [   22.545447] [      T1] systemd[1]: Stopping systemd-journald.service - Journal Service... [   22.545975] [      T1] systemd[1]: systemd-journald.service: Deactivated successfully. [   22.546068]
 [      T1] systemd[1]: Stopped systemd-journald.service - Journal Service. [   22.573040] [      T1] systemd[1]: Starting systemd-journald.service - Journal Service... [   22.581413] [      T1] systemd[1]: Started systemd-journald.service - Journal Service. [   22.626935] [   T2274] systemd-sysv-generator[2274]: stat() failed on /etc/init.d/README, ignoring: No such file or directory [   23.21955
3] [   T2413] systemd-sysv-generator[2413]: stat() failed on /etc/init.d/README, ignoring: No such file or directory [   23.750417] [   T2541] gre: GRE over IPv4 demultiplexor driver [   23.771760] [   T2541] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [   23.777493] [   T2541] ipt_NETFLOW version 2.6, srcvers
ion 5B9ED46B79C1F0FD97E2716 [   23.777496] [   T2541] ipt_NETFLOW: hashsize 196565 (1535K) [   23.777584] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow [   23.777587] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ipt_netflow [   23.777587] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow_snmp [   23.777588] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ip
t_netflow_snmp [   23.777589] [   T2541] ipt_NETFLOW: registering: /proc/net/stat/ipt_netflow_flows [   23.777589] [   T2541] ipt_NETFLOW: registered: /proc/net/stat/ipt_netflow_flows [   23.777590] [   T2541] NETFLOW: Init SYSCTL [   23.777597] [   T2541] ipt_NETFLOW: registered: sysctl net.netflow [   23.777612] [   T2541] ipt_NETFLOW: added destination 127.0.0.1:2055 [   23.777613] [   T2541] i
pt_NETFLOW protocol version 5 (NetFlow) enabled. [   23.777616] [   T2541] ipt_NETFLOW is loaded. [   23.783414] [   T2541] IPsec XFRM device driver [   23.787826] [   T2541] IPv4 over IPsec tunneling driver [   23.793014] [   T2541] offload: module init [   23.793020] [   T2541] offload: registered: sysctl net.offload [   23.989096] [   T2570] virtio_net virtio0 eth0: XDP request 5 queues but max
 is 1. XDP_TX and XDP_REDIRECT will operate in a slower locked tx mode. [   32.343037] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   32.343456] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   38.785230] [   T3204] loop3: detected capacity change from 0 to 82944
4 [   38.785404] [   T3204] ISO 9660 Extensions: Microsoft Joliet Level 3 [   38.785997] [   T3204] ISO 9660 Extensions: RRIP_1991A [   38.791224] [   T3205] loop4: detected capacity change from 0 to 665864 [   44.070353] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   44.070927] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived jou
rnals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   50.446755] [   T3711] loop3: detected capacity change from 0 to 829444 [   50.446956] [   T3711] ISO 9660 Extensions: Microsoft Joliet Level 3 [   50.447015] [   T3711] ISO 9660 Extensions: RRIP_1991A [   50.451604] [   T3712] loop4: detected capacity change from 0 to 665864 [   56.579340] [   T2255] systemd-journald[2255]: Received
 client request to rotate journal, rotating. [   56.579956] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   62.595483] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   62.596057] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from
 /run/log/journal/db6c204474e445bc870656488f91fc69. [   73.439337] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   73.439886] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   75.017636] [   T4516] bond0: (slave eth1): Enslaving as an active interface with an up li
nk [   75.025091] [   T4520] bond0: (slave eth0): Enslaving as an active interface with an up link [   75.035467] [   T4529] bond0: (slave eth1): Releasing backup interface [   75.035472] [   T4529] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [   75.060054] [   T4530] bond0: (sl
ave eth0): Releasing backup interface [   75.077797] [   T4532] bond0: (slave eth1): Enslaving as a backup interface with an up link [   75.079979] [   T4533] bond0: (slave eth0): Enslaving as a backup interface with an up link [   83.061962] [   T4669] bond0: (slave eth0): Releasing backup interface [   83.089213] [   T4673] bond0: (slave eth1): Removing an active aggregator [   83.089232] [   T4
673] bond0: (slave eth1): Releasing backup interface [   83.189098] [   T4719] bond0 (unregistering): Released all slaves [   86.544274] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [   86.544825] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [   88.315611] [   T497
7] bond0: (slave eth1): Enslaving as an active interface with an up link [   88.329991] [   T4981] bond0: (slave eth0): Enslaving as an active interface with an up link [   88.340517] [   T4989] bond0: (slave eth1): Releasing backup interface [   88.340522] [   T4989] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a dif
ferent address to avoid conflicts [   88.376126] [   T4990] bond0: (slave eth0): Releasing backup interface [   88.393891] [   T4992] bond0: (slave eth1): Enslaving as an active interface with an up link [   88.396339] [   T4993] bond0: (slave eth0): Enslaving as an active interface with an up link [  109.677418] [   T5222] bond0: (slave eth0): Releasing backup interface [  109.708402] [   T5226]
bond0: (slave eth1): Releasing backup interface [  109.813080] [   T5272] bond0 (unregistering): Released all slaves [  113.453150] [   T2255] systemd-journald[2255]: Received client request to rotate journal, rotating. [  113.453730] [   T2255] systemd-journald[2255]: Vacuuming done, freed 0B of archived journals from /run/log/journal/db6c204474e445bc870656488f91fc69. [  114.804174] [   T5532] bo
nd0: (slave eth1): Enslaving as an active interface with an up link [  114.812742] [   T5536] bond0: (slave eth0): Enslaving as an active interface with an up link [  114.824501] [   T5544] bond0: (slave eth1): Releasing backup interface [  114.824507] [   T5544] bond0: (slave eth1): the permanent HWaddr of slave - de:ad:be:ef:6c:01 - is still in use by bond - set the HWaddr of slave to a differen
t address to avoid conflicts [  114.843578] [   T5545] bond0: (slave eth0): Releasing backup interface [  114.878482] [   T5547] bond0: (slave eth1): making interface the new active one [  114.878494] [   T5547] bond0: (slave eth1): Enslaving as an active interface with an up link [  114.880605] [   T5548] bond0: (slave eth0): Enslaving as a backup interface with an up link [  121.660740] [   T104
2] bond0: (slave eth0): link status definitely down, disabling slave [  130.016802] [     T12] bond0: (slave eth0): l
2026-06-03 09:55:37.010455 user-crit , systemd-coredump[2742]:  Process 2321 (cnm-client) of user 0 dumped core.
2026-06-03 11:02:57.451619 user-crit , systemd-coredump[117803]:  Process 117728 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:11.268154 user-crit , systemd-coredump[117928]:  Process 117856 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:25.107004 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.117728.1780484577000000.zst.
2026-06-03 11:03:25.238552 user-crit , systemd-coredump[118066]:  Process 117985 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:35.930097 user-crit , systemd-coredump[118464]:  Process 118388 (cnm-client) of user 0 dumped core.
2026-06-03 11:03:49.584348 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.118388.1780484615000000.zst.
2026-06-03 11:03:49.700889 user-crit , systemd-coredump[118591]:  Process 118517 (cnm-client) of user 0 dumped core.
2025-03-22 00:00:02.721067 user-crit , systemd-coredump[118978]:  Process 118908 (cnm-client) of user 0 dumped core.
2025-03-23 00:01:02.043887 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.118908.1742601602000000.zst.
2025-03-23 00:01:02.222390 user-crit , systemd-coredump[119103]:  Process 119075 (cnm-client) of user 0 dumped core.
2025-03-24 00:02:00.102834 local0-info , coredump-cleanup:  Removed old coredump core.cnm-client.0.c3937c51146d4ca1917225ad4798065b.119075.1742688061000000.zst.
2026-06-03 13:35:18.007029 user-crit , systemd-coredump[438999]:  Process 438641 (bgpd) of user 106 dumped core.
2026-06-03 17:01:52.674701 local0-err , net-snmp[790398]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:01:57.722484 local0-err , net-snmp[790460]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:01:58.099847 local0-err , net-snmp[790513]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:21.920559 local0-err , net-snmp[790553]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:22.326573 local0-err , net-snmp[790606]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:02:45.940090 local0-err , net-snmp[790640]:  snmptrap: Failure in sendto (Network is unreachable)
2026-06-03 17:03:04.112107 local0-err , net-snmp[791597]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:09.556933 local0-err , net-snmp[791657]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:09.987204 local0-err , net-snmp[791710]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:33.570575 local0-err , net-snmp[791751]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:33.954883 local0-err , net-snmp[791804]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:03:57.612261 local0-err , net-snmp[791838]:  snmpinform: Unknown engine ID (Network is unreachable)
2026-06-03 17:04:04.024810 local0-err , net-snmp[791895]:  snmpinform: Timeout
2026-06-03 17:04:07.694720 local0-err , net-snmp[791931]:  snmpinform: Timeout
2026-06-03 17:04:14.105810 local0-err , net-snmp[791984]:  snmpinform: Timeout
2026-06-03 17:04:40.726777 local0-err , net-snmp[792169]:  snmpinform: Timeout
2026-06-03 17:08:51.619884 local0-err , net-snmp[800874]:  snmpinform: Timeout
2026-06-03 17:09:04.857882 local0-err , net-snmp[801116]:  snmpinform: Timeout
2026-06-03 17:09:57.915032 local0-err , net-snmp[803049]:  snmpinform: Timeout
2026-06-03 17:10:14.408954 local0-err , net-snmp[803327]:  snmpinform: Timeout
2026-06-03 17:10:37.707954 local0-debug , net-snmp[804649]:  TRAP sent to [10::1]:162
2026-06-03 17:10:37.708078 local0-debug , net-snmp[804649]:    Version: SNMPv3
2026-06-03 17:10:37.708125 local0-debug , net-snmp[804649]:    Security Model: USM
2026-06-03 17:10:37.708172 local0-debug , net-snmp[804649]:    Security Level: noAuthNoPriv
2026-06-03 17:10:37.708213 local0-debug , net-snmp[804649]:    Security Name: USER2TEST
2026-06-03 17:10:37.708251 local0-debug , net-snmp[804649]:    Context Name:
2026-06-03 17:10:37.708290 local0-debug , net-snmp[804649]:    OIDs:
2026-06-03 17:10:37.708327 local0-debug , net-snmp[804649]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (9) 0:00:00.09
2026-06-03 17:10:37.708365 local0-debug , net-snmp[804649]:      SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
2026-06-03 17:10:37.708416 local0-debug , net-snmp[804649]:      SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux
2026-06-03 17:10:42.592604 local0-debug , net-snmp[804712]:  TRAP sent to [10::1]:162
2026-06-03 17:10:42.592660 local0-debug , net-snmp[804712]:    Version: SNMPv3
2026-06-03 17:10:42.592690 local0-debug , net-snmp[804712]:    Security Model: USM
2026-06-03 17:10:42.592714 local0-debug , net-snmp[804712]:    Security Level: noAuthNoPriv
2026-06-03 17:10:42.592738 local0-debug , net-snmp[804712]:    Security Name: USER2TEST
2026-06-03 17:10:42.592762 local0-debug , net-snmp[804712]:    Context Name:
2026-06-03 17:10:42.592791 local0-debug , net-snmp[804712]:    OIDs:
2026-06-03 17:10:42.592818 local0-debug , net-snmp[804712]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (497) 0:00:04.97
2026-06-03 17:10:42.592845 local0-debug , net-snmp[804712]:      SNMPv2-MIB::snmpTrapOID.0 = OID: TELDAT-OSDX-TRAPS-ALARM-MIB::alarmNotification1
2026-06-03 17:10:42.592868 local0-debug , net-snmp[804712]:      TELDAT-OSDX-TRAPS-ALARM-MIB::alarm1Name = STRING: ALARM2TEST
2026-06-03 17:10:42.592892 local0-debug , net-snmp[804712]:      TELDAT-OSDX-TRAPS-ALARM-MIB::alarm1Status = INTEGER: true(1)
2026-06-03 17:10:42.631514 local0-debug , net-snmp[804721]:  TRAP sent to [10::1]:162
2026-06-03 17:10:42.631565 local0-debug , net-snmp[804721]:    Version: SNMPv3
2026-06-03 17:10:42.631594 local0-debug , net-snmp[804721]:    Security Model: USM
2026-06-03 17:10:42.631615 local0-debug , net-snmp[804721]:    Security Level: noAuthNoPriv
2026-06-03 17:10:42.631633 local0-debug , net-snmp[804721]:    Security Name: USER2TEST
2026-06-03 17:10:42.631657 local0-debug , net-snmp[804721]:    Context Name:
2026-06-03 17:10:42.631687 local0-debug , net-snmp[804721]:    OIDs:
2026-06-03 17:10:42.631711 local0-debug , net-snmp[804721]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (501) 0:00:05.01
2026-06-03 17:10:42.631731 local0-debug , net-snmp[804721]:      SNMPv2-MIB::snmpTrapOID.0 = OID: TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisorNotification1
2026-06-03 17:10:42.631748 local0-debug , net-snmp[804721]:      TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisor1Name = STRING: ADVISOR2TEST
2026-06-03 17:10:42.631767 local0-debug , net-snmp[804721]:      TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisor1Status = INTEGER: true(1)
2026-06-03 17:10:52.232670 local0-debug , net-snmp[804770]:  TRAP sent to [10::1]:162
2026-06-03 17:10:52.232729 local0-debug , net-snmp[804770]:    Version: SNMPv3
2026-06-03 17:10:52.232752 local0-debug , net-snmp[804770]:    Security Model: USM
2026-06-03 17:10:52.232776 local0-debug , net-snmp[804770]:    Security Level: noAuthNoPriv
2026-06-03 17:10:52.232797 local0-debug , net-snmp[804770]:    Security Name: USER2TEST
2026-06-03 17:10:52.232815 local0-debug , net-snmp[804770]:    Context Name:
2026-06-03 17:10:52.232833 local0-debug , net-snmp[804770]:    OIDs:
2026-06-03 17:10:52.232859 local0-debug , net-snmp[804770]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (1461) 0:00:14.61
2026-06-03 17:10:52.232879 local0-debug , net-snmp[804770]:      SNMPv2-MIB::snmpTrapOID.0 = OID: TELDAT-OSDX-TRAPS-ALARM-MIB::alarmNotification1
2026-06-03 17:10:52.232896 local0-debug , net-snmp[804770]:      TELDAT-OSDX-TRAPS-ALARM-MIB::alarm1Name = STRING: ALARM2TEST
2026-06-03 17:10:52.232915 local0-debug , net-snmp[804770]:      TELDAT-OSDX-TRAPS-ALARM-MIB::alarm1Status = INTEGER: false(2)
2026-06-03 17:10:52.266342 local0-debug , net-snmp[804779]:  TRAP sent to [10::1]:162
2026-06-03 17:10:52.266400 local0-debug , net-snmp[804779]:    Version: SNMPv3
2026-06-03 17:10:52.266429 local0-debug , net-snmp[804779]:    Security Model: USM
2026-06-03 17:10:52.266456 local0-debug , net-snmp[804779]:    Security Level: noAuthNoPriv
2026-06-03 17:10:52.266488 local0-debug , net-snmp[804779]:    Security Name: USER2TEST
2026-06-03 17:10:52.266512 local0-debug , net-snmp[804779]:    Context Name:
2026-06-03 17:10:52.266538 local0-debug , net-snmp[804779]:    OIDs:
2026-06-03 17:10:52.266564 local0-debug , net-snmp[804779]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (1465) 0:00:14.65
2026-06-03 17:10:52.266589 local0-debug , net-snmp[804779]:      SNMPv2-MIB::snmpTrapOID.0 = OID: TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisorNotification1
2026-06-03 17:10:52.266614 local0-debug , net-snmp[804779]:      TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisor1Name = STRING: ADVISOR2TEST
2026-06-03 17:10:52.266643 local0-debug , net-snmp[804779]:      TELDAT-OSDX-TRAPS-ADVISOR-MIB::advisor1Status = INTEGER: false(2)
2026-06-03 17:10:59.289745 local0-debug , net-snmp[804809]:  TRAP sent to [10::1]:162
2026-06-03 17:10:59.289825 local0-debug , net-snmp[804809]:    Version: SNMPv3
2026-06-03 17:10:59.289861 local0-debug , net-snmp[804809]:    Security Model: USM
2026-06-03 17:10:59.289889 local0-debug , net-snmp[804809]:    Security Level: noAuthNoPriv
2026-06-03 17:10:59.289915 local0-debug , net-snmp[804809]:    Security Name: USER2TEST
2026-06-03 17:10:59.289941 local0-debug , net-snmp[804809]:    Context Name:
2026-06-03 17:10:59.289971 local0-debug , net-snmp[804809]:    OIDs:
2026-06-03 17:10:59.289999 local0-debug , net-snmp[804809]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (2167) 0:00:21.67
2026-06-03 17:10:59.290032 local0-debug , net-snmp[804809]:      SNMPv2-MIB::snmpTrapOID.0 = OID: NET-SNMP-AGENT-MIB::nsNotifyShutdown
2026-06-03 17:10:59.290063 local0-debug , net-snmp[804809]:      SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpNotificationPrefix
2026-06-03 17:11:00.936503 local0-debug , net-snmp[804923]:  TRAP sent to [10::2]:164
2026-06-03 17:11:00.936604 local0-debug , net-snmp[804923]:    Version: SNMPv3
2026-06-03 17:11:00.936649 local0-debug , net-snmp[804923]:    Security Model: USM
2026-06-03 17:11:00.936692 local0-debug , net-snmp[804923]:    Security Level: noAuthNoPriv
2026-06-03 17:11:00.936732 local0-debug , net-snmp[804923]:    Security Name: USER2TEST
2026-06-03 17:11:00.936768 local0-debug , net-snmp[804923]:    Context Name:
2026-06-03 17:11:00.936804 local0-debug , net-snmp[804923]:    OIDs:
2026-06-03 17:11:00.936843 local0-debug , net-snmp[804923]:      SNMPv2-MIB::sysUpTime.0 = Timeticks: (8) 0:00:00.08
2026-06-03 17:11:00.936885 local0-debug , net-snmp[804923]:      SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
2026-06-03 17:11:00.936922 local0-debug , net-snmp[804923]:      SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux

Step 14: Run the command service snmp monitor traps user USER2TEST engine-id 0x80000009010a0101c1 ipv6 port 164 on DUT2.

Step 15: Modify the following configuration lines in DUT0 :

set interfaces dummy dum0 disable

Step 16: Run the command service snmp monitor traps user USER2TEST engine-id 0x80000009010a0101c1 ipv6 port 164 on DUT2.

Step 17: Modify the following configuration lines in DUT0 :

delete interfaces dummy dum0 disable