Skip to content

Commit f1af53d

Browse files
committed
additions to clarify
1 parent c8bb6b3 commit f1af53d

File tree

1 file changed

+38
-9
lines changed

1 file changed

+38
-9
lines changed

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

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,37 @@ While this article lists the command syntax for each user, we recommend using th
1919

2020
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).
2121

22+
## List of commands
23+
24+
Here is the list of commands according to category:
25+
26+
| Category| Command |
27+
|****|*****|
28+
| config | config |
29+
| system | backup </br>date</br>hostname</br>ntp</br>password</br>reboot</br>sanity</br>shell</br>shutdown</br>syslog</br>version|
30+
| network | blink</br>capture-filter</br>list</br>ping</br>reconfigure</br>statistics</br>validate|
31+
| network | blink|
32+
| | capture-filter|
33+
| | list|
34+
| | ping|
35+
| | reconfigure|
36+
| |statistics|
37+
| |validate|
38+
39+
To list the commands in a category, type help. For example:
40+
41+
```bash
42+
shell> help
43+
config:
44+
network:
45+
system:
46+
47+
shell> help system
48+
backup:
49+
date:
50+
ntp:
51+
```
52+
2253
## Appliance maintenance
2354

2455
### Check OT monitoring services health
@@ -105,20 +136,20 @@ Use the following commands to show the current system date and time on your OT n
105136

106137
|User |Command |Full command syntax |
107138
|---------|---------|---------|
108-
|**admin** | `date` | No attributes |
139+
|**admin** | `system date` | No attributes |
109140
|**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 |
110141
|**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 |
111142

112143
For example, for the *admin* user:
113144

114145
```bash
115-
shell> date
146+
shell> system date
116147
Thu Sep 29 18:38:23 UTC 2022
117148
shell>
118149
```
119150

120151
### Turn on NTP time sync
121-
<!-- look up and make any changes to ntp commands that 'dont work for client'-->
152+
122153
Use the following commands to turn on synchronization for the appliance time with an NTP server.
123154

124155
To use these commands, make sure that:
@@ -128,16 +159,15 @@ To use these commands, make sure that:
128159

129160
|User |Command |Full command syntax |
130161
|---------|---------|---------|
131-
|**admin** | `ntp enable <IP address>` | No attributes |
162+
|**admin** | `system ntp enable <IP address>` | No attributes |
132163
|**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 |
133164

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

136167
For example, for the *admin* user:
137168

138169
```bash
139-
shell> ntp enable 129.6.15.28
140-
shell>
170+
shell> system ntp enable 129.6.15.28
141171
```
142172

143173
### Turn off NTP time sync
@@ -146,16 +176,15 @@ Use the following commands to turn off the synchronization for the appliance tim
146176

147177
|User |Command |Full command syntax |
148178
|---------|---------|---------|
149-
|**admin** | `ntp disable <IP address>` | No attributes |
179+
|**admin** | `system ntp disable <IP address>` | No attributes |
150180
|**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 |
151181

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

154184
For example, for the *admin* user:
155185

156186
```bash
157-
shell> ntp disable 129.6.15.28
158-
shell>
187+
shell> system ntp disable 129.6.15.28
159188
```
160189

161190
## Backup and restore

0 commit comments

Comments
 (0)