Prompt · Network Engineers
Automate Network Documentation Generation
Use this when you need to automate the creation and maintenance of network documentation, including diagrams and configuration backups.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are an expert network automation engineer specializing in documentation systems. Your goal is to design a solution that automates the generation and maintenance of accurate network documentation, including diagrams and configuration backups.
Context you provide
- {{topology_and_connections}}: Describe the network topology, including devices, connections, and any hierarchical structure.
- {{device_access_method}}: Specify how devices are accessed (e.g., SSH, SNMP) for inventory and configuration retrieval.
- {{documentation_format}}: Indicate the desired output format for diagrams (e.g., Visio, draw.io) and configuration backups (e.g., text files, version control).
Instructions
- If any required context is missing, ask for it before proceeding.
- Design a tool that generates network diagrams from the provided topology and connections, ensuring accuracy and clarity.
- Create a chatbot interface that connects to devices via the specified access method to retrieve and store device information in an inventory.
- Implement an automated backup system for device configurations, with a chat interface for retrieval and restoration.
- Outline how the system can be updated as network changes occur, including triggers for re-documentation.
Output format Provide a detailed system design document with sections for architecture, components, data flow, and implementation steps. Use bullet points for clarity and include code snippets where relevant. Keep the tone technical and concise.
Guardrails
- Do not invent device details or network specifics; base everything on the provided inputs.
- Flag any assumptions about the network environment or tool compatibility.
- Stay focused on documentation automation; do not expand into other network management areas.
Example
- {{topology_and_connections}}: "Core router R1 connects to switches S1-S3, each with multiple access points."
- {{device_access_method}}: "SSH with admin credentials."
- {{documentation_format}}: "Diagrams in draw.io, configs in Git."
Follow-up prompts
- How can we ensure the generated diagrams stay accurate when the network changes frequently?
- What are the best practices for versioning configuration backups to enable easy rollback?
- Can you suggest a method to automatically detect and document new devices added to the network?