Checking Network Connectivity
Function
This command is used to check whether a node can communicate with IEF cloud endpoints.
Syntax
edgectl check network [params]
network can be abbreviated as net, that is:
edgectl check net [params]
Parameters
Parameter |
Mandatory |
Shorthand |
Description |
---|---|---|---|
--edge-hub-url |
No |
None |
Endpoint address of IEF. It is used to check the connectivity between a node and IEF. |
--project-id |
No |
None |
Project ID. The default value is fake-project-id. |
--node-id |
No |
None |
Node ID. The default value is fake-node-id. |
Example
Check the network connectivity of the node.
edgectl check network
The following is an example of the command output:
In the preceding example, the IEF cloud endpoint returns response code 401 because the request does not carry correct node ID, project ID, and node certificate. This is not a network problem, which does not affect the communication between the node and the IEF cloud endpoint.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot