Skip to content

Commit c27ad98

Browse files
committed
upd4
1 parent 9415883 commit c27ad98

File tree

2 files changed

+53
-6
lines changed

2 files changed

+53
-6
lines changed

articles/defender-for-iot/organizations/cli-ot-sensor.md

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ When you change the password for the *admin*, *cyberx*, or *cyberx_host* user, t
376376

377377
|User |Command |Full command syntax |
378378
|---------|---------|---------|
379-
|**admin** | `system password` | <username> |
379+
|**admin** | `system password` | `<username>` |
380380
|**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>` |
381381
|**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 |
382382

@@ -432,7 +432,7 @@ For more information, see [Define maximum number of failed sign-ins](manage-user
432432
### Network settings
433433

434434
#### Change networking configuration or reassign network interface roles
435-
435+
<!-- what are the params for the config command?? is it network reconfigure ???-->
436436
Use the following command to rerun the OT monitoring software configuration wizard, which helps you define or reconfigure the following OT sensor settings:
437437

438438
- Enable/disable SPAN monitoring interfaces
@@ -454,7 +454,6 @@ root@xsense:/# sudo dpkg-reconfigure iot-sensor
454454
The configuration wizard starts automatically after you run this command.
455455
For more information, see [Install OT monitoring software](../how-to-install-software.md#install-ot-monitoring-software).
456456

457-
458457
#### Validate and show network interface configuration
459458

460459
Use the following commands to validate and show the current network interface configuration on the OT sensor.
@@ -488,6 +487,7 @@ Use the following commands to send a ping message from the OT sensor.
488487
|**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 |
489488

490489
In these commands, `<IP address>` is the IP address of a valid IPv4 network host accessible from the management port on your OT sensor.
490+
491491
```bash
492492
shell> network ping 170.20.248.140
493493
PING 170.20.248.140 (170.20.248.140) 56(84) bytes of data.
@@ -497,7 +497,7 @@ PING 170.20.248.140 (170.20.248.140) 56(84) bytes of data.
497497
```
498498

499499
#### Check network interface current load
500-
500+
<!-- this command doesnt seem to exist -->
501501
Use the following command to display network traffic and bandwidth using a six-second test.
502502

503503
|User |Command |Full command syntax |
@@ -522,6 +522,54 @@ local_listener (virtual adiot0):
522522
Received: 0.0 Bit Sent: 0.0 Bit
523523
root@xsense:/#
524524
```
525+
#### statistics
526+
<!-- is this connected to nload, instead?? -->
527+
Use the following command to display network traffic statistics.
528+
529+
|User |Command |Full command syntax |
530+
|---------|---------|---------|
531+
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `network statistics` | No attributes |
532+
533+
```bash
534+
shell> network
535+
network> statistics
536+
local_player
537+
NIC statistics:
538+
peer_ifindex: 3
539+
rx_queue_0_xdp_packets: 0
540+
rx_queue_0_xdp_bytes: 0
541+
rx_queue_0_drops: 0
542+
rx_queue_0_xdp_redirect: 0
543+
rx_queue_0_xdp_drops: 0
544+
rx_queue_0_xdp_tx: 0
545+
rx_queue_0_xdp_tx_errors: 0
546+
tx_queue_0_xdp_xmit: 0
547+
tx_queue_0_xdp_xmit_errors: 0
548+
549+
local_listener
550+
NIC statistics:
551+
peer_ifindex: 4
552+
rx_queue_0_xdp_packets: 0
553+
rx_queue_0_xdp_bytes: 0
554+
rx_queue_0_drops: 0
555+
rx_queue_0_xdp_redirect: 0
556+
rx_queue_0_xdp_drops: 0
557+
rx_queue_0_xdp_tx: 0
558+
rx_queue_0_xdp_tx_errors: 0
559+
tx_queue_0_xdp_xmit: 0
560+
tx_queue_0_xdp_xmit_errors: 0
561+
```
562+
563+
#### syslog add
564+
565+
param
566+
567+
568+
#### syslog flush
569+
570+
571+
#### syslog show
572+
525573

526574
#### Check internet connection
527575

@@ -538,7 +586,6 @@ The machine was successfully able to connect the internet.
538586
root@xsense:/#
539587
```
540588

541-
542589
### Set bandwidth limit for the management network interface
543590

544591
Use the following command to set the outbound bandwidth limit for uploads from the OT sensor's management interface to the Azure portal or an on-premises management console.

articles/defender-for-iot/organizations/references-work-with-defender-for-iot-cli-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The following tables list the activities available by CLI and the privileged use
4040
|Service area |Users |Actions |
4141
|---------|---------|---------|
4242
|Sensor health | *admin*, *cyberx* | [Check OT monitoring services health](cli-ot-sensor.md#check-ot-monitoring-services-health) |
43-
|Restart and shutdown | *admin*, *cyberx*, *cyberx_host* | [Restart an appliance](cli-ot-sensor.md#restart-an-appliance)<br>[Shut down an appliance](cli-ot-sensor.md#shut-down-an-appliance) |
43+
|Restart and shutdown | *admin*, *cyberx*, *cyberx_host* | [Reboot an appliance](cli-ot-sensor.md#reboot-an-appliance)<br>[Shut down an appliance](cli-ot-sensor.md#shut-down-an-appliance) |
4444
|Software versions | *admin*, *cyberx* | [Show installed software version](cli-ot-sensor.md#show-installed-software-version) <br>[Update software version](update-ot-software.md) |
4545
|Date and time | *admin*, *cyberx*, *cyberx_host* | [Show current system date/time](cli-ot-sensor.md#show-current-system-datetime) |
4646
|NTP | *admin*, *cyberx* | [Turn on NTP time sync](cli-ot-sensor.md#turn-on-ntp-time-sync)<br>[Turn off NTP time sync](cli-ot-sensor.md#turn-off-ntp-time-sync) |

0 commit comments

Comments
 (0)