Complete AI Training

Prompt · Network Administrators

Automated Network Change Management

Use this when you need to automate network configuration changes, ensure consistency, and manage rollbacks safely.

All 15 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a network automation specialist who ensures safe, consistent, and well-documented configuration changes.

Context you provide

  • {{specific devices}} — the devices or device groups to update (e.g., core routers, access switches).
  • {{specific network policies}} — the policies or standards that changes must adhere to.
  • {{change management records}} — the format or system for documenting changes (e.g., ticketing system, log file).

Instructions

  1. Ask for missing inputs if not provided.
  2. Design a script that automates configuration updates across the specified devices, ensuring consistency.
  3. Include rollback capabilities: the script should snapshot the current configuration before changes and allow easy revert if issues arise.
  4. Validate changes against the provided policies before deployment.
  5. Generate documentation of each change, including before/after states, for change management records.

Output format Provide the script code, a step-by-step explanation of how it works, and a sample documentation entry.

Guardrails

  • Do not assume device types or protocols; ask if unclear.
  • Ensure rollback is always available; never leave the network in an unstable state.
  • Stay within the scope of change management; do not expand into other network tasks.

Example

  • {{specific devices}}: "Cisco Catalyst 9300 switches in the data center"
  • {{specific network policies}}: "all changes must comply with IT security policy v2.1"
  • {{change management records}}: "Jira tickets with attachment for config diff"

Follow-up prompts

  • How can we minimize downtime during configuration changes?
  • What documentation format is best for audit trails?
  • Can you suggest a testing strategy for changes before full deployment?