Skip to content

Commit 087328d

Browse files
committed
rev1
1 parent bb753a4 commit 087328d

File tree

2 files changed

+26
-56
lines changed

2 files changed

+26
-56
lines changed

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

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Before you can run any of the following CLI commands, you'll need access to the
1717

1818
While this article lists the command syntax for each user, we recommend using the *admin* user for all CLI commands where the *admin* user is supported.
1919

20-
If you're using an older version of the sensor software, you may have access to the legacy *support* user. In such cases, any commands that are listed as supported for the *admin* user are supported for the legacy *support* user. <!-- Is this correct?? Belle-->
21-
2220
For more information, see [Access the CLI](../references-work-with-defender-for-iot-cli-commands.md#access-the-cli) and [Privileged user access for OT monitoring](references-work-with-defender-for-iot-cli-commands.md#privileged-user-access-for-ot-monitoring).
2321

2422
## Appliance maintenance
@@ -32,7 +30,7 @@ Health checks are also available from the OT sensor console. For more informatio
3230
|User |Command |Full command syntax |
3331
|---------|---------|---------|
3432
|**admin** | `system sanity` | No attributes |
35-
<!--|**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-sanity` | No attributes |-->
33+
|**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-sanity` | No attributes |
3634

3735
The following example shows the command syntax and response for the *admin* user:
3836

@@ -62,24 +60,24 @@ Use the following commands to restart the OT sensor appliance.
6260
|User |Command |Full command syntax |
6361
|---------|---------|---------|
6462
|**admin** | `system reboot` | No attributes |
65-
<!--|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes |
66-
|**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 reboot` | No attributes |-->
63+
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes |
64+
|**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 reboot` | No attributes |
6765

6866
For example, for the *admin* user:
6967

7068
```bash
7169
shell> system reboot
7270
```
7371

74-
### Shut down an appliance
72+
### Shutdown an appliance
7573

7674
Use the following commands to shut down the OT sensor appliance.
7775

7876
|User |Command |Full command syntax |
7977
|---------|---------|---------|
8078
|**admin** | `system shutdown` | No attributes |
81-
<!--|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes |
82-
|**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 shutdown -r now` | No attributes |-->
79+
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes |
80+
|**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 shutdown -r now` | No attributes |
8381

8482
For example, for the *admin* user:
8583

@@ -94,7 +92,7 @@ Use the following commands to list the Defender for IoT software version install
9492
|User |Command |Full command syntax |
9593
|---------|---------|---------|
9694
|**admin** | `system version` | No attributes |
97-
<!--|**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-version` | No attributes |-->
95+
|**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-version` | No attributes |
9896

9997
For example, for the *admin* user:
10098

@@ -103,19 +101,15 @@ shell> system version
103101
Version: 22.2.5.9-r-2121448
104102
```
105103

106-
### Update sensor software from CLI
107-
108-
For more information, see [Update your sensors](update-ot-software.md#update-ot-sensors). <!-- is this needed? Is the information on this link correct? -->
109-
110104
### Show current system date/time
111105

112106
Use the following commands to show the current system date and time on your OT network sensor, in GMT format.
113107

114108
|User |Command |Full command syntax |
115109
|---------|---------|---------|
116110
|**admin** | `date` | No attributes |
117-
<!--|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes |
118-
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes |-->
111+
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes |
112+
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes |
119113

120114
For example, for the *admin* user:
121115

@@ -137,7 +131,7 @@ To use these commands, make sure that:
137131
|User |Command |Full command syntax |
138132
|---------|---------|---------|
139133
|**admin** | `ntp enable <IP address>` | No attributes |
140-
<!--|**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-ntp-enable <IP address>` | No attributes |-->
134+
|**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-ntp-enable <IP address>` | No attributes |
141135

142136
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
143137

@@ -155,7 +149,7 @@ Use the following commands to turn off the synchronization for the appliance tim
155149
|User |Command |Full command syntax |
156150
|---------|---------|---------|
157151
|**admin** | `ntp disable <IP address>` | No attributes |
158-
<!--|**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-ntp-disable <IP address>` | No attributes |-->
152+
|**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-ntp-disable <IP address>` | No attributes |
159153

160154
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
161155

@@ -185,7 +179,7 @@ Use the following command to start an immediate, unscheduled backup of the data
185179
|User |Command |Full command syntax |
186180
|---------|---------|---------|
187181
|**admin** | `system backup create` | No attributes |
188-
<!--|**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 |-->
182+
|**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 |
189183

190184
For example, for the *admin* user:
191185

@@ -206,7 +200,7 @@ Use the following commands to list the backup files currently stored on your OT
206200
|User |Command |Full command syntax |
207201
|---------|---------|---------|
208202
|**admin** | `system backup list` | No attributes |
209-
<!--|**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 |-->
203+
|**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 |
210204

211205
For example, for the *admin* user:
212206

@@ -228,7 +222,7 @@ Use the following command to restore data on your OT network sensor using the mo
228222
|User |Command |Full command syntax |
229223
|---------|---------|---------|
230224
|**admin** | `system restore` | No attributes |
231-
<!--|**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>` |-->
225+
|**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>` |
232226

233227
For example, for the *admin* user:
234228

@@ -258,7 +252,7 @@ The following command lists the current backup disk space allocation, including
258252
|User |Command |Full command syntax |
259253
|---------|---------|---------|
260254
| **admin** | `cyberx-backup-memory-check` | No attributes |
261-
<!-- what is the command here?? -->
255+
262256
For example, for the *admin* user:
263257
264258
```bash
@@ -342,7 +336,7 @@ Use the following command to send a ping message from the OT sensor.
342336
|User |Command |Full command syntax |
343337
|---------|---------|---------|
344338
|**admin** | `ping <IP address>` | No attributes|
345-
<!--|**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 |-->
339+
|**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 |
346340
347341
In these commands, `<IP address>` is the IP address of a valid IPv4 network host accessible from the management port on your OT sensor.
348342
@@ -370,7 +364,7 @@ Use the following command to list the connected physical interfaces on your OT s
370364
|User |Command |Full command syntax |
371365
|---------|---------|---------|
372366
|**admin** | `network list` | No attributes |
373-
<!--|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ifconfig` | No attributes |-->
367+
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ifconfig` | No attributes |
374368
375369
For example, for the *admin* user:
376370

0 commit comments

Comments
 (0)