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
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/cli-ot-sensor.md
+38-9Lines changed: 38 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,37 @@ While this article lists the command syntax for each user, we recommend using th
19
19
20
20
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).
21
21
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|
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
+
22
53
## Appliance maintenance
23
54
24
55
### 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
105
136
106
137
|User |Command |Full command syntax |
107
138
|---------|---------|---------|
108
-
|**admin**|`date`| No attributes |
139
+
|**admin**|`system date`| No attributes |
109
140
|**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 |
110
141
|**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
142
112
143
For example, for the *admin* user:
113
144
114
145
```bash
115
-
shell> date
146
+
shell>system date
116
147
Thu Sep 29 18:38:23 UTC 2022
117
148
shell>
118
149
```
119
150
120
151
### Turn on NTP time sync
121
-
<!-- look up and make any changes to ntp commands that 'dont work for client'-->
152
+
122
153
Use the following commands to turn on synchronization for the appliance time with an NTP server.
123
154
124
155
To use these commands, make sure that:
@@ -128,16 +159,15 @@ To use these commands, make sure that:
128
159
129
160
|User |Command |Full command syntax |
130
161
|---------|---------|---------|
131
-
|**admin**|`ntp enable <IP address>`| No attributes |
162
+
|**admin**|`system ntp enable <IP address>`| No attributes |
132
163
|**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 |
133
164
134
165
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
135
166
136
167
For example, for the *admin* user:
137
168
138
169
```bash
139
-
shell> ntp enable 129.6.15.28
140
-
shell>
170
+
shell> system ntp enable 129.6.15.28
141
171
```
142
172
143
173
### Turn off NTP time sync
@@ -146,16 +176,15 @@ Use the following commands to turn off the synchronization for the appliance tim
146
176
147
177
|User |Command |Full command syntax |
148
178
|---------|---------|---------|
149
-
|**admin**|`ntp disable <IP address>`| No attributes |
179
+
|**admin**|`system ntp disable <IP address>`| No attributes |
150
180
|**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 |
151
181
152
182
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
0 commit comments