Introduction
This document details the steps involved in configuring Edge View via ZEDEDA CLI.
Prerequisites
- Ensure that Docker zcli container is running.
- Ensure you have the necessary permissions and credentials to authenticate against your enterprise.
Procedure
- Check if 'edgeviewAllow' is set to False.
-
zcli project show <PROJECT_NAME> --edgeview
-
- Create a new JSON file to enable Edgeview.
-
vi enable-edgeview.json
-
- Add the following content:
-
{
"type": "POLICY_TYPE_EDGEVIEW",
"edgeviewPolicy": {
"edgeviewAllow": true
}
}
-
- Update the project:
-
zcli project update <PROJECT_NAME> --policy-config=edgeview:enable-edgeview.json
-
- Check if 'edgeviewAllow' is set to True.
-
zcli project show <PROJECT_NAME> --edgeview
-
- Enable Edgeview on Edge Node to create a remote session.
-
zcli edge-node start-edgeview <EDGE_NODE_NAME>
-
- Check if the run script is created:
-
ls
-
- From your local host terminal, download the run script that was created.
-
docker cp <CONTAINER_ID>:/home/zcli/<SCRIPT_NAME> <DESTINATION_FOLDER>
-
Additional information
The Edgeview session can be terminated with the following command:
zcli edge-node stop-edgeview <EDGE_NODE_NAME>
A full list of the commands that can be executed can be found here.