Syslog

Test suite to check syslog

Test Syslog

Description

Show the system host name and check the syslog message

Scenario

Step 1: Set the following configuration in DUT0 :

set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog global level info

Step 2: Run command show host name at DUT0 and expect this output:

Show output
osdx

Step 3: Run command file show running://log/messages | tail -n 200 at DUT0 and check if output matches the following regular expressions:

executed a new command: 'show host name'
Show output
2025-07-28 09:18:39.147851 daemon-err , staticd[273558]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:18:39.148033 daemon-err , zebra[273551]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:18:39.149328 daemon-err , zebra[273551]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:18:47.236498 daemon-err , mgmtd[273854]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:18:47.238120 daemon-err , zebra[273849]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:19:08.896198 daemon-err , zebra[273997]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:19:53.086265 daemon-err , zebra[273997]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:19:53.632514 daemon-err , staticd[274004]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:19:53.632562 daemon-err , zebra[273997]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:19:53.633777 daemon-err , zebra[273997]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:19:59.982509 daemon-err , mgmtd[274736]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:19:59.982736 daemon-err , mgmtd[274736]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:19:59.985493 daemon-err , zebra[274731]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:20:54.992253 daemon-err , zebra[274883]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:21:28.079994 daemon-err , zebra[274883]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:22:14.879866 daemon-err , zebra[274883]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:23:10.182402 daemon-err , zebra[274883]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:23:10.573674 daemon-err , mgmtd[274888]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:23:10.575416 daemon-err , zebra[274883]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:23:10.575462 daemon-err , zebra[274883]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:23:17.966491 daemon-err , mgmtd[275900]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:23:17.967863 daemon-err , zebra[275895]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:24:12.881534 daemon-err , zebra[276045]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:24:45.735308 daemon-err , zebra[276045]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:25:31.413658 daemon-err , zebra[276045]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:26:27.944442 daemon-err , zebra[276045]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:26:28.484303 daemon-err , mgmtd[276050]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:26:28.484660 daemon-err , zebra[276045]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:26:35.663320 daemon-err , staticd[277059]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:26:35.663546 daemon-err , zebra[277052]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:26:35.667540 daemon-err , zebra[277052]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:27:30.225694 daemon-err , zebra[277204]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:28:03.271986 daemon-err , zebra[277204]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:28:49.672590 daemon-err , zebra[277204]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:29:46.085423 daemon-err , zebra[277204]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:29:46.556017 daemon-err , zebra[277204]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:29:46.556169 daemon-err , zebra[277204]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:29:54.107779 daemon-err , mgmtd[278220]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:29:54.108661 daemon-err , zebra[278215]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:30:48.783378 daemon-err , zebra[278367]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:31:21.626951 daemon-err , zebra[278367]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:32:07.467843 daemon-err , zebra[278367]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:33:03.239020 daemon-err , zebra[278367]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:33:03.723562 daemon-err , zebra[278367]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:33:03.723614 daemon-err , zebra[278367]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:33:10.138149 daemon-err , mgmtd[279385]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:33:10.138235 daemon-err , mgmtd[279385]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:33:10.140139 daemon-err , zebra[279380]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:34:04.519603 daemon-err , zebra[279532]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:34:37.177758 daemon-err , zebra[279532]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:35:23.441499 daemon-err , zebra[279532]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:36:18.651766 daemon-err , zebra[279532]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:36:19.103245 daemon-err , zebra[279532]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:36:19.104474 daemon-err , staticd[279539]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:36:19.106196 daemon-err , zebra[279532]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:36:27.556224 daemon-err , mgmtd[280546]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:36:27.556283 daemon-err , mgmtd[280546]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:36:27.558959 daemon-err , zebra[280541]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:36:54.025263 daemon-err , zebra[280698]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:36:54.528722 daemon-err , mgmtd[280703]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:36:54.528819 daemon-err , zebra[280698]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:37:02.003762 daemon-err , zebra[281246]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:37:02.595662 daemon-err , mgmtd[281412]:  [VNSS1-Q9XX7] XXX txn in progress, retry init
2025-07-28 09:37:29.126905 daemon-err , zebra[281407]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:37:29.600206 daemon-err , staticd[281414]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:37:29.600258 daemon-err , zebra[281407]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:37:29.605490 daemon-err , zebra[281407]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:37:37.532853 daemon-err , zebra[281957]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:37:37.533155 daemon-err , mgmtd[281962]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:37:37.533205 daemon-err , mgmtd[281962]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:38:04.383421 daemon-err , zebra[282114]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:38:04.873660 daemon-err , zebra[282114]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:38:04.876917 daemon-err , zebra[282114]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:38:12.868063 daemon-err , mgmtd[282670]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:38:12.869009 daemon-err , zebra[282665]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:38:39.893675 daemon-err , zebra[282823]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:38:40.467751 daemon-err , mgmtd[282828]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:38:40.469804 daemon-err , zebra[282823]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:38:40.483665 daemon-err , mgmtd[282828]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:38:47.494191 daemon-err , zebra[283371]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:39:14.020920 daemon-err , zebra[283531]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:39:14.512977 daemon-err , zebra[283531]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:39:20.612400 daemon-err , mgmtd[284086]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:39:20.613622 daemon-err , mgmtd[284086]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:39:20.615051 daemon-err , zebra[284081]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:39:51.788576 daemon-err , zebra[284230]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:40:00.823016 daemon-err , zebra[284230]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:40:00.824167 daemon-err , mgmtd[284235]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:40:00.824210 daemon-err , mgmtd[284235]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:40:07.345076 daemon-err , zebra[284748]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:40:07.349222 daemon-err , zebra[284748]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:40:38.510137 daemon-err , zebra[284901]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:40:47.661226 daemon-err , mgmtd[284906]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:40:47.661352 daemon-err , zebra[284901]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:40:54.417573 daemon-err , mgmtd[285423]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:40:54.417688 daemon-err , zebra[285418]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:40:54.418276 daemon-err , mgmtd[285423]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:41:25.638336 daemon-err , zebra[285566]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:41:34.706019 daemon-err , mgmtd[285571]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:41:34.706622 daemon-err , zebra[285566]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:41:40.821224 daemon-err , zebra[286089]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:42:11.787594 daemon-err , zebra[286239]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:42:36.001341 daemon-err , zebra[286239]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:43:05.194894 daemon-err , zebra[286239]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:43:39.099706 daemon-err , zebra[286239]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:44:12.926751 daemon-err , zebra[286239]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:44:17.278154 daemon-err , staticd[286246]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:44:17.279475 daemon-err , zebra[286239]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:44:23.460322 daemon-err , zebra[287211]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:44:23.460867 daemon-err , zebra[287211]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:44:55.381896 daemon-err , zebra[287363]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:45:20.004196 daemon-err , zebra[287363]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:45:48.814606 daemon-err , zebra[287363]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:46:22.294728 daemon-err , zebra[287363]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:46:56.605978 daemon-err , zebra[287363]:  [ZBSQQ-8BYDT][EC 100663303] Failed to set snmp fd back to original settings: Bad file descriptor(9)
2025-07-28 09:47:02.277800 daemon-err , mgmtd[287368]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:47:02.279706 daemon-err , zebra[287363]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 09:47:02.279897 daemon-err , mgmtd[287368]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 09:52:58.284295 daemon-err , zebra[288337]:  [HSYZM-HV7HF] Extended Error: Carrier for nexthop device is down
2025-07-28 09:52:58.284393 daemon-err , zebra[288337]:  [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: Network is down, type=RTM_NEWNEXTHOP(104), seq=235, pid=4094007477
2025-07-28 09:52:58.284439 daemon-err , zebra[288337]:  [X5XE1-RS0SW][EC 4043309074] Failed to install Nexthop (67[if 188 vrfid 0]) into the kernel
2025-07-28 09:52:58.317473 daemon-err , zebra[288337]:  [HSYZM-HV7HF] Extended Error: Carrier for nexthop device is down
2025-07-28 09:52:58.317542 daemon-err , zebra[288337]:  [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: Network is down, type=RTM_NEWNEXTHOP(104), seq=247, pid=4094007477
2025-07-28 09:52:58.317770 daemon-err , zebra[288337]:  [X5XE1-RS0SW][EC 4043309074] Failed to install Nexthop (67[if 188 vrfid 0]) into the kernel
2025-07-28 09:56:12.698908 daemon-err , zebra[288337]:  [QGWPP-XPTHX][EC 100663299] eth0(2): Tx RA failed, socket 11 error 99 (Cannot assign requested address)
2025-07-28 09:58:33.091305 user-err , ERROR:  Dissociating VRF from service: cnm
2025-07-28 09:58:33.195071 daemon-err , staticd[288344]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF VRF in VRF 203
2025-07-28 09:58:55.980212 user-err , ERROR:  Dissociating VRF from service: cnm
2025-07-28 09:58:56.107684 daemon-err , staticd[288344]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF VRF in VRF 206
2025-07-28 09:58:56.107922 daemon-err , nhrpd[299631]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF VRF in VRF 206
2025-07-28 10:12:31.639467 daemon-err , staticd[288344]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:12:31.639741 daemon-err , zebra[288337]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:12:31.643380 daemon-err , zebra[288337]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 10:12:32.195420 daemon-err , mgmtd[313930]:  [VNSS1-Q9XX7] XXX txn in progress, retry init
2025-07-28 10:12:37.554291 daemon-err , zebra[313925]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:12:37.556265 daemon-err , zebra[313925]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 10:12:47.089368 daemon-err , mgmtd[314319]:  [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:12:47.089549 daemon-err , zebra[314314]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:12:47.089605 daemon-err , zebra[314314]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 10:12:52.882441 daemon-err , zebra[314476]:  [KQB7H-NPVW9] ../zebra/zebra_ptm.c:1285 failed to find process pid registration
2025-07-28 10:12:52.886196 daemon-err , zebra[314476]:  [X3G8F-PM93W] BE-client: mgmt_msg_read: got EOF/disconnect
2025-07-28 10:13:14.375737 daemon-err , modulelauncher[315378]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:13:14.375924 daemon-err , modulelauncher[315378]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:13:14.395061 daemon-err , modulelauncher[315378]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:13:14.395257 daemon-err , modulelauncher[315378]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:13:14.434363 daemon-err , modulelauncher[315378]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:13:14.434583 daemon-err , modulelauncher[315378]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:13:34.948979 daemon-err , modulelauncher[315895]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:13:34.949172 daemon-err , modulelauncher[315895]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:13:34.969956 daemon-err , modulelauncher[315895]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:13:34.970135 daemon-err , modulelauncher[315895]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:13:34.987546 daemon-err , modulelauncher[315895]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:13:34.987734 daemon-err , modulelauncher[315895]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:13:58.286352 daemon-err , modulelauncher[316415]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:13:58.286427 daemon-err , modulelauncher[316415]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:13:58.309405 daemon-err , modulelauncher[316415]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:13:58.309494 daemon-err , modulelauncher[316415]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:13:58.333332 daemon-err , modulelauncher[316415]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:13:58.333403 daemon-err , modulelauncher[316415]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:14:19.679864 daemon-err , modulelauncher[316938]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:14:19.680135 daemon-err , modulelauncher[316938]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:14:19.704734 daemon-err , modulelauncher[316938]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:14:19.704962 daemon-err , modulelauncher[316938]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:14:19.747341 daemon-err , modulelauncher[316938]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:14:19.747469 daemon-err , modulelauncher[316938]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:14:39.331874 daemon-err , modulelauncher[317372]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:14:39.332014 daemon-err , modulelauncher[317372]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:14:39.359490 daemon-err , modulelauncher[317372]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:14:39.359602 daemon-err , modulelauncher[317372]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:14:39.379598 daemon-err , modulelauncher[317372]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:14:39.379826 daemon-err , modulelauncher[317372]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:14:58.617972 daemon-err , modulelauncher[317795]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:14:58.618098 daemon-err , modulelauncher[317795]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:14:58.635227 daemon-err , modulelauncher[317795]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:14:58.635355 daemon-err , modulelauncher[317795]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:14:58.662703 daemon-err , modulelauncher[317795]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:14:58.662906 daemon-err , modulelauncher[317795]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:15:44.235791 user-err , ERROR:  Dissociating VRF from service: cnm
2025-07-28 10:15:44.324923 daemon-err , staticd[314871]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF A in VRF 215
2025-07-28 10:15:44.402340 daemon-err , staticd[314871]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF B in VRF 216
2025-07-28 10:15:44.503476 daemon-err , modulelauncher[318738]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:15:44.503617 daemon-err , modulelauncher[318738]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:15:44.539073 daemon-err , modulelauncher[318738]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:15:44.539147 daemon-err , modulelauncher[318738]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:15:44.561320 daemon-err , modulelauncher[318738]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:15:44.561387 daemon-err , modulelauncher[318738]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:16:39.808078 user-err , ERROR:  Dissociating VRF from service: cnm
2025-07-28 10:16:39.935706 daemon-err , staticd[314871]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF A in VRF 217
2025-07-28 10:16:40.057837 daemon-err , staticd[314871]:  [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF B in VRF 218
2025-07-28 10:16:40.570976 daemon-err , modulelauncher[319727]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.hashsize=0
2025-07-28 10:16:40.571042 daemon-err , modulelauncher[319727]:  Command 'sudo sysctl net.netflow.hashsize=0' returned non-zero exit status 1.
2025-07-28 10:16:40.599440 daemon-err , modulelauncher[319727]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.protocol=0
2025-07-28 10:16:40.599515 daemon-err , modulelauncher[319727]:  Command 'sudo sysctl net.netflow.protocol=0' returned non-zero exit status 1.
2025-07-28 10:16:40.620038 daemon-err , modulelauncher[319727]:  osdx.utils.xos cmd error: sudo sysctl net.netflow.sndbuf=0
2025-07-28 10:16:40.620118 daemon-err , modulelauncher[319727]:  Command 'sudo sysctl net.netflow.sndbuf=0' returned non-zero exit status 1.
2025-07-28 10:18:21.558541 daemon-err , cfgd[1473]:  [196423]Command output: File name reserved Value validation failed
2025-07-28 10:18:30.586283 daemon-notice , cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28 10:18:30.593557 auth-notice , OSDxCLI:  User 'admin' committed the configuration.
2025-07-28 10:18:30.646104 auth-notice , OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28 10:18:30.969882 auth-notice , OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog File

Description

Create a new DHCP server and collect all the syslog messages produced by systemd.

Scenario

Step 1: Set the following configuration in DUT0 :

set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog file systemd_msg filter def app systemd
set system syslog file systemd_msg filter def level info

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth1 address 192.168.100.100/24
set service dhcp-server shared-network test subnet 192.168.100.0/24 start 192.168.100.150 stop 192.168.100.155
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog file systemd_msg filter def app systemd
set system syslog file systemd_msg filter def level info

Step 3: Run command file show running://log/user/systemd_msg/systemd_msg | cat at DUT0 and check if output matches the following regular expressions:

systemd\[1\]:\s+Started.*"DHCP Server Service instance main"\.
Show output
2025-07-28 10:18:43.148708 daemon-info , systemd[1]:  Started dhcpd@main.service - "DHCP Server Service instance main".

Test Syslog File Rotate

Description

Create a new DHCP server and collect all syslog messages produced by systemd. This test also rotates 10 saved files when a file weighing 100 kbytes is used.

Scenario

Step 1: Set the following configuration in DUT0 :

set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog file systemd_msg archive files 10
set system syslog file systemd_msg archive size 100
set system syslog file systemd_msg filter def app systemd
set system syslog file systemd_msg filter def level info

Step 2: Set the following configuration in DUT0 :

set interfaces ethernet eth1 address 192.168.100.100/24
set service dhcp-server shared-network test subnet 192.168.100.0/24 start 192.168.100.150 stop 192.168.100.155
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog file systemd_msg archive files 10
set system syslog file systemd_msg archive size 100
set system syslog file systemd_msg filter def app systemd
set system syslog file systemd_msg filter def level info

Step 3: Run command file show running://log/user/systemd_msg/systemd_msg | cat at DUT0 and check if output matches the following regular expressions:

Started.*"DHCP Server Service instance main"\.
Show output
2025-07-28 10:18:55.870903 daemon-info , systemd[1]:  Started dhcpd@main.service - "DHCP Server Service instance main".

Test Syslog Regex

Description

Create a new syslog file and collect all the syslog messages matching a specified regex.

Scenario

Step 1: Set the following configuration in DUT0 :

set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog file cli_msg filter CLI app OSDxCLI
set system syslog file cli_msg filter CLI level notice
set system syslog file cli_msg filter CLI regex '(^|[^a-zA-Z0-9_])alert([^a-zA-Z0-9_]|$)'

Step 2: Run command command with alert word at DUT0 and expect this output:

Show output
Command validation failed:
CLI Error: Invalid token [command]
CLI Error: Command error

Step 3: Run command command with alerted word at DUT0 and expect this output:

Show output
Command validation failed:
CLI Error: Invalid token [command]
CLI Error: Command error

Step 4: Run command file show running://log/user/cli_msg/cli_msg | cat at DUT0 and expect this output:

Show output
2025-07-28 10:19:06.956080 auth-notice , OSDxCLI:  User 'admin' entered an invalid command: 'command with alert word'.

Test Syslog Remote

Description

Add a remote host to send syslog messages and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 10.215.168.64/24
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 port 514
set system syslog host 10.215.168.1 protocol udp

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 count 1 size 56 timeout 1
Show output
PING 10.215.168.1 (10.215.168.1) 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=0.384 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.384/0.384/0.384/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/10.215.168.64/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:19:18.562272+00:00 10.215.168.64  2025-07-28T10:19:17.587763+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:19:18.579236+00:00 10.215.168.64  2025-07-28T10:19:17.604897+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:19:18.629806+00:00 10.215.168.64  2025-07-28T10:19:17.655175+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:19:18.946335+00:00 10.215.168.64  2025-07-28T10:19:17.971793+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'.
2025-07-28T10:19:19.152795+00:00 10.215.168.64  2025-07-28T10:19:18.178540+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote With VRF

Description

Add a remote host to send syslog messages through a VRF and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 10.215.168.64/24
set interfaces ethernet eth0 vrf VRF0
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 local-vrf VRF0
set system syslog host 10.215.168.1 port 514
set system syslog host 10.215.168.1 protocol udp
set system vrf VRF0

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 vrf VRF0 count 1 size 56 timeout 1
Show output
ping: Warning: source address might be selected on device other than: VRF0
PING 10.215.168.1 (10.215.168.1) from 10.215.168.64 VRF0: 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=0.380 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.380/0.380/0.380/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/10.215.168.64/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:19:19.987664+00:00 10.215.168.64  2025-07-28T10:19:18.990132+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show version'.
2025-07-28T10:19:20.791410+00:00 10.215.168.64  2025-07-28T10:19:19.817244+00:00 user-warning osdx OSDxCLI:  Signal 10 received
2025-07-28T10:19:20.829946+00:00 10.215.168.64  2025-07-28T10:19:19.855637+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'set system mode user'.
2025-07-28T10:19:22.622828+00:00 10.215.168.64  2025-07-28T10:19:21.648620+00:00 auth-notice osdx OSDxCLI:  User 'admin' entered the configuration menu.
2025-07-28T10:19:22.739865+00:00 10.215.168.64  2025-07-28T10:19:21.754816+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'delete '.
2025-07-28T10:19:22.939744+00:00 10.215.168.64  2025-07-28T10:19:21.962142+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'set system login user admin authentication encrypted-password $6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'.
2025-07-28T10:19:23.164471+00:00 10.215.168.64  2025-07-28T10:19:22.189856+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'show working'.
2025-07-28T10:19:23.403657+00:00 10.215.168.64  2025-07-28T10:19:22.407095+00:00 daemon-info osdx ubnt-cfgd[322764]:  inactive
2025-07-28T10:19:31.140651+00:00 10.215.168.64  2025-07-28T10:19:30.433281+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:19:31.162688+00:00 10.215.168.64  2025-07-28T10:19:30.451155+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:19:31.205513+00:00 10.215.168.64  2025-07-28T10:19:30.498401+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:19:31.639726+00:00 10.215.168.64  2025-07-28T10:19:30.909879+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 vrf VRF0 count 1 size 56 timeout 1'.
2025-07-28T10:19:31.728775+00:00 10.215.168.64  2025-07-28T10:19:31.021726+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote With Interface

Description

Add a remote host to send syslog messages through a specific interface and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 10.215.168.64/24
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 local-interface eth0
set system syslog host 10.215.168.1 port 514
set system syslog host 10.215.168.1 protocol udp

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 count 1 size 56 timeout 1
Show output
PING 10.215.168.1 (10.215.168.1) 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=0.629 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.629/0.629/0.629/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/10.215.168.64/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:19:32.457367+00:00 10.215.168.64  2025-07-28T10:19:31.750298+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show version'.
2025-07-28T10:19:32.887099+00:00 10.215.168.64  2025-07-28T10:19:32.179998+00:00 user-warning osdx OSDxCLI:  Signal 10 received
2025-07-28T10:19:32.915514+00:00 10.215.168.64  2025-07-28T10:19:32.208201+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'set system mode user'.
2025-07-28T10:19:34.467292+00:00 10.215.168.64  2025-07-28T10:19:33.760180+00:00 auth-notice osdx OSDxCLI:  User 'admin' entered the configuration menu.
2025-07-28T10:19:34.589515+00:00 10.215.168.64  2025-07-28T10:19:33.882463+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'delete '.
2025-07-28T10:19:34.743555+00:00 10.215.168.64  2025-07-28T10:19:34.036545+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'set system login user admin authentication encrypted-password $6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'.
2025-07-28T10:19:34.860558+00:00 10.215.168.64  2025-07-28T10:19:34.153549+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'show working'.
2025-07-28T10:19:35.044792+00:00 10.215.168.64  2025-07-28T10:19:34.335914+00:00 daemon-info osdx ubnt-cfgd[323103]:  inactive
2025-07-28T10:19:42.287911+00:00 10.215.168.64  2025-07-28T10:19:42.129896+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:19:42.323563+00:00 10.215.168.64  2025-07-28T10:19:42.167281+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:19:42.361723+00:00 10.215.168.64  2025-07-28T10:19:42.205406+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:19:42.651131+00:00 10.215.168.64  2025-07-28T10:19:42.493808+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'.
2025-07-28T10:19:42.770087+00:00 10.215.168.64  2025-07-28T10:19:42.613710+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote With Local-address and UDP

Description

Add a remote host to send syslog messages through a specific local-address and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces dummy dum0 address 33.33.33.33/24
set interfaces ethernet eth0 address 10.215.168.64/24
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 local-address 33.33.33.33
set system syslog host 10.215.168.1 port 514
set system syslog host 10.215.168.1 protocol udp

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 count 1 size 56 timeout 1
Show output
PING 10.215.168.1 (10.215.168.1) 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=5.10 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.098/5.098/5.098/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/33.33.33.33/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:19:53.163774+00:00 33.33.33.33  2025-07-28T10:19:52.226265+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:19:53.186373+00:00 33.33.33.33  2025-07-28T10:19:52.249624+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:19:53.225856+00:00 33.33.33.33  2025-07-28T10:19:52.290919+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:19:53.501335+00:00 33.33.33.33  2025-07-28T10:19:52.564639+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'.
2025-07-28T10:19:53.598265+00:00 33.33.33.33  2025-07-28T10:19:52.663249+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote With Local-address and VRF

Description

Add a remote host to send syslog messages through a VRF and a local-address and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces dummy dum0 address 33.33.33.33/24
set interfaces ethernet eth0 address 10.215.168.64/24
set interfaces ethernet eth0 vrf VRF0
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 local-address 33.33.33.33
set system syslog host 10.215.168.1 local-vrf VRF0
set system syslog host 10.215.168.1 port 514
set system syslog host 10.215.168.1 protocol udp
set system vrf VRF0

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 vrf VRF0 count 1 size 56 timeout 1
Show output
ping: Warning: source address might be selected on device other than: VRF0
PING 10.215.168.1 (10.215.168.1) from 10.215.168.64 VRF0: 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=0.248 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.248/0.248/0.248/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/33.33.33.33/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:19:54.289488+00:00 33.33.33.33  2025-07-28T10:19:53.354528+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show version'.
2025-07-28T10:19:54.726433+00:00 33.33.33.33  2025-07-28T10:19:53.791427+00:00 user-warning osdx OSDxCLI:  Signal 10 received
2025-07-28T10:19:54.785513+00:00 33.33.33.33  2025-07-28T10:19:53.850584+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'set system mode user'.
2025-07-28T10:19:56.671192+00:00 33.33.33.33  2025-07-28T10:19:55.736206+00:00 auth-notice osdx OSDxCLI:  User 'admin' entered the configuration menu.
2025-07-28T10:19:56.814692+00:00 33.33.33.33  2025-07-28T10:19:55.879752+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'delete '.
2025-07-28T10:19:56.996826+00:00 33.33.33.33  2025-07-28T10:19:56.060870+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'set system login user admin authentication encrypted-password $6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'.
2025-07-28T10:19:57.170963+00:00 33.33.33.33  2025-07-28T10:19:56.235715+00:00 auth-notice osdx OSDxCLI:  User 'admin' added a new cfg line: 'show working'.
2025-07-28T10:19:57.315830+00:00 33.33.33.33  2025-07-28T10:19:56.375702+00:00 daemon-info osdx ubnt-cfgd[323774]:  inactive
2025-07-28T10:20:04.744880+00:00 33.33.33.33  2025-07-28T10:20:04.003176+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:20:04.744880+00:00 33.33.33.33  2025-07-28T10:20:04.003750+00:00 syslog-warning osdx rsyslogd:  bound address 33.33.33.33 IP free [v8.2302.0 try https://www.rsyslog.com/e/2186 ]
2025-07-28T10:20:04.766093+00:00 33.33.33.33  2025-07-28T10:20:04.021471+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:20:04.854993+00:00 33.33.33.33  2025-07-28T10:20:04.113725+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:20:05.258395+00:00 33.33.33.33  2025-07-28T10:20:04.517312+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 vrf VRF0 count 1 size 56 timeout 1'.
2025-07-28T10:20:05.368005+00:00 33.33.33.33  2025-07-28T10:20:04.615605+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote Single TLS

Description

Add a secured remote host to send syslog messages and show the host name.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces ethernet eth0 address 10.215.168.64/24
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 port 10514
set system syslog host 10.215.168.1 protocol tcp
set system syslog host 10.215.168.1 tls ca 'running://ca.crt'
set system syslog host 10.215.168.1 tls permitted-peer rsyslog.server.com

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 count 1 size 56 timeout 1
Show output
PING 10.215.168.1 (10.215.168.1) 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=0.479 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.479/0.479/0.479/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/10.215.168.64/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:20:16.436098+00:00 10.215.168.64  2025-07-28T10:20:15.221439+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:20:16.480768+00:00 10.215.168.64  2025-07-28T10:20:15.263507+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:20:16.480768+00:00 10.215.168.64  2025-07-28T10:20:15.312522+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:20:16.480768+00:00 10.215.168.64  2025-07-28T10:20:15.549941+00:00 syslog-warning osdx rsyslogd:  warning: certificate file is not set [v8.2302.0 try https://www.rsyslog.com/e/2330 ]
2025-07-28T10:20:16.480768+00:00 10.215.168.64  2025-07-28T10:20:15.550032+00:00 syslog-warning osdx rsyslogd:  warning: key file is not set [v8.2302.0 try https://www.rsyslog.com/e/2331 ]
2025-07-28T10:20:16.480843+00:00 10.215.168.64  2025-07-28T10:20:15.621607+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'.
2025-07-28T10:20:16.950856+00:00 10.215.168.64  2025-07-28T10:20:16.099196+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.

Test Syslog Remote Local Address Single TLS

Description

Add a secured remote host to send syslog messages and show the host name from a fiven local-address

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces dummy dum0 address 33.33.33.33/24
set interfaces ethernet eth0 address 10.215.168.64/24
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
set system syslog host 10.215.168.1 filter def level info
set system syslog host 10.215.168.1 local-address 33.33.33.33
set system syslog host 10.215.168.1 port 10514
set system syslog host 10.215.168.1 protocol tcp
set system syslog host 10.215.168.1 tls ca 'running://ca.crt'
set system syslog host 10.215.168.1 tls permitted-peer rsyslog.server.com

Step 2: Ping IP address 10.215.168.1 from DUT0:

admin@DUT0$ ping 10.215.168.1 count 1 size 56 timeout 1
Show output
PING 10.215.168.1 (10.215.168.1) 56(84) bytes of data.
64 bytes from 10.215.168.1: icmp_seq=1 ttl=64 time=7.12 ms

--- 10.215.168.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 7.121/7.121/7.121/0.000 ms

Step 3: Run command show host name at DUT0 and expect this output:

Show output
osdx

Note

Check the server /var/log/33.33.33.33/.log file and read the executed a new command: 'show host name' log message:

Show output
2025-07-28T10:20:29.599572+00:00 33.33.33.33  2025-07-28T10:20:28.900636+00:00 daemon-notice osdx cfgd[1473]:  [196423]Completed change to active configuration
2025-07-28T10:20:29.639867+00:00 33.33.33.33  2025-07-28T10:20:29.251555+00:00 auth-notice osdx OSDxCLI:  User 'admin' committed the configuration.
2025-07-28T10:20:29.639867+00:00 33.33.33.33  2025-07-28T10:20:29.310895+00:00 auth-notice osdx OSDxCLI:  User 'admin' left the configuration menu.
2025-07-28T10:20:29.639867+00:00 33.33.33.33  2025-07-28T10:20:29.414615+00:00 syslog-warning osdx rsyslogd:  warning: certificate file is not set [v8.2302.0 try https://www.rsyslog.com/e/2330 ]
2025-07-28T10:20:29.639867+00:00 33.33.33.33  2025-07-28T10:20:29.414711+00:00 syslog-warning osdx rsyslogd:  warning: key file is not set [v8.2302.0 try https://www.rsyslog.com/e/2331 ]
2025-07-28T10:20:29.740255+00:00 33.33.33.33  2025-07-28T10:20:29.571812+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'ping 10.215.168.1 count 1 size 56 timeout 1'.
2025-07-28T10:20:30.081574+00:00 33.33.33.33  2025-07-28T10:20:29.914700+00:00 auth-notice osdx OSDxCLI:  User 'admin' executed a new command: 'show host name'.