You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the following commands to turn off the synchronization for the appliance time with an NTP server.
171
182
@@ -205,23 +216,20 @@ Use the following commands to list the backup files currently stored on your OT
205
216
206
217
|User |Command |Full command syntax |
207
218
|---------|---------|---------|
208
-
|**admin**|`system backup-list`| No attributes |
219
+
|**admin**|`system backuplist`| No attributes |
209
220
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|` cyberx-xsense-system-backup-list`| No attributes |
<!-- is there a scheduled backup command? if this is the only one, maybe change to start a backup or start and unscheduled backup? -->
225
233
Use the following commands to start an immediate, unscheduled backup of the data on your OT sensor. For more information, see [Set up backup and restore files](../how-to-manage-individual-sensors.md#set-up-backup-and-restore-files).
226
234
227
235
> [!CAUTION]
@@ -232,17 +240,16 @@ Use the following commands to start an immediate, unscheduled backup of the data
232
240
|**admin**|`system backup`| No attributes |
233
241
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|` cyberx-xsense-system-backup`| No attributes |
234
242
235
-
236
243
For example, for the *admin* user:
237
244
238
245
```bash
239
-
root@xsense: system backup
246
+
shell> system backup
240
247
Backing up DATA_KEY
241
248
...
242
249
...
243
250
Finished backup. Backup is stored at /var/cyberx/backups/e2e-xsense-1664469968212-backup-version-22.2.6.318-r-71e6295-2022-09-29_18:29:55.tar
244
251
Setting backup status 'SUCCESS'in redis
245
-
root@xsense:
252
+
246
253
```
247
254
248
255
### Restore data from the most recent backup
@@ -257,11 +264,10 @@ Use the following commands to restore data on your OT network sensor using the m
257
264
|**admin**|`system restore`| No attributes |
258
265
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user)|` cyberx-xsense-system-restore`|`-f``<filename>`|
259
266
260
-
261
267
For example, for the *admin* user:
262
268
263
269
```bash
264
-
root@xsense: system restore
270
+
shell> system restore
265
271
Waiting for redis to start...
266
272
Redis is up
267
273
Use backup file as "/var/cyberx/backups/e2e-xsense-1664469968212-backup-version-22.2.6.318-r-71e6295-2022-09-29_18:30:20.tar"? [Y/n]: y
@@ -270,10 +276,10 @@ WARNING - the following procedure will restore data. do not stop or power off th
270
276
...
271
277
watchdog started
272
278
starting components
273
-
root@xsense:
274
-
```
275
279
280
+
```
276
281
282
+
<!-- did find backup-memory-check
277
283
### Display backup disk space allocation
278
284
279
285
The following command lists the current backup disk space allocation, including the following details:
<!-- this entire section doesnt seem to exist anymore - has it been moved??-->
304
309
### Import TLS/SSL certificates to your OT sensor
305
310
306
311
Use the following command to import TLS/SSL certificates to the sensor from the CLI.
@@ -361,20 +366,30 @@ root@xsense:/#
361
366
362
367
363
368
## Local user management
364
-
369
+
<!-- this entire section doesnt seem to exist anymore - has it been moved??-->
365
370
### Change local user passwords
366
371
367
-
Use the following commands to change passwords forlocal users on your OT sensor.
372
+
Use the following commands to change passwords forlocal users on your OT sensor. The new password must be at least 8 characters, contain lowercase and uppercase, alphabetic characters, numbers and symbols.
368
373
369
374
When you change the password for the *admin*, *cyberx*, or *cyberx_host* user, the password is changed for both SSH and web access.
370
375
371
376
372
377
|User |Command |Full command syntax |
373
378
|---------|---------|---------|
379
+
|**admin**|`system password`|<username>|
374
380
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) |`cyberx-users-password-reset`|`cyberx-users-password-reset -u <user> -p <password>`|
375
381
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) |`passwd`| No attributes |
376
382
383
+
For example, for the *admin* user:
384
+
385
+
```bash
386
+
shell> system password user1
387
+
Enter New Password for user1:
388
+
Reenter Password:
389
+
390
+
```
377
391
392
+
<!-- exclude the following examples.-->
378
393
The following example shows the *cyberx* user resetting the *admin* user's password to `jI8iD9kE6hB8qN0h`:
379
394
380
395
```bash
@@ -399,7 +414,7 @@ passwd: all authentication tokens updated successfully.
399
414
cyberx_host@xsense:/#
400
415
```
401
416
402
-
417
+
<!-- are these 2 still relevant??-->
403
418
### Control user session timeouts
404
419
405
420
Define the time after which users are automatically signed out of the OT sensor. Define this value in a properties file saved on the sensor.
@@ -424,6 +439,8 @@ Use the following command to rerun the OT monitoring software configuration wiza
424
439
- Configure network settings for the management interface (IP, subnet, default gateway, DNS)
425
440
- Assigning a backup directory
426
441
442
+
First enter Network to be at the network level of the CLI.
443
+
427
444
|User |Command |Full command syntax |
428
445
|---------|---------|---------|
429
446
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) |`sudo dpkg-reconfigure iot-sensor`| No attributes |
@@ -449,7 +466,7 @@ Use the following commands to validate and show the current network interface co
449
466
For example, for the *admin* user:
450
467
451
468
```bash
452
-
root@xsense: network validate
469
+
shell> network validate
453
470
Success! (Appliance configuration matches the network settings)
454
471
Current Network Settings:
455
472
interface: eth0
@@ -458,7 +475,6 @@ subnet: 255.255.192.0
458
475
default gateway: 10.1.0.1
459
476
dns: 168.63.129.16
460
477
monitor interfaces mapping: local_listener=adiot0
461
-
root@xsense:
462
478
```
463
479
464
480
### Network connectivity
@@ -472,6 +488,13 @@ Use the following commands to send a ping message from the OT sensor.
472
488
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) |`ping <IP address>`| No attributes |
473
489
474
490
In these commands, `<IP address>` is the IP address of a valid IPv4 network host accessible from the management port on your OT sensor.
491
+
```bash
492
+
shell> network ping 170.20.248.140
493
+
PING 170.20.248.140 (170.20.248.140) 56(84) bytes of data.
494
+
495
+
--- 170.20.248.140 ping statistics ---
496
+
5 packets transmitted, 0 received, 100% packet loss, time 4082ms
497
+
```
475
498
476
499
#### Check network interface current load
477
500
@@ -579,7 +602,7 @@ In this command, `<INT>` is a physical ethernet port on the appliance.
579
602
The following example shows the *admin* user blinking the *eth0* interface:
580
603
581
604
```bash
582
-
root@xsense: network blink eth0
605
+
shell> network blink eth0
583
606
Blinking interface for 20 seconds ...
584
607
```
585
608
@@ -595,7 +618,7 @@ Use the following commands to list the connected physical interfaces on your OT
595
618
For example, for the *admin* user:
596
619
597
620
```bash
598
-
root@xsense: network list
621
+
shell> network list
599
622
adiot0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 4096
0 commit comments