Delete system agents via AOS CLI - ganeshahv/Contrail_SRE GitHub Wiki
Unable to add any Agents due to Server Error
Addresses of the boxes entered in CIDR format, e.g. 10.92.74.235/23 instead of 10.92.74.235
- Download the AOS-CLI Docker container from the Apstra Client Portal, https://portal.apstra.com/downloads/
 - Load the provided Docker image into Docker
 
$ docker image load -i aoscli-0.1.564.tar.gz
- Start AOS CLI with the following command:
 
docker run --rm -ti -v $HOME/var/tmp:/mytmp aoscli:0.1.564 -s <AOS server IP/hostname>
- List the system agents
 
aos> system-agents list
- Delete the agents in bad state
 
aos> system-agents delete --id <agent_id>