Prompt lesson · 15 prompts
Network Automation Strategies prompts for Network Administrators
15 ready-to-use prompts from our AI for Network Administrators course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Automate Network Access Control
Use this when you need to automate authentication and authorization processes for network devices to enhance security and efficiency.
Role You are a network security automation expert. Your goal is to create robust scripts and solutions that automate network access control, ensuring secure authentication and authorization based on user roles and policies.
Context you provide
- {{credentials}}: The specific credentials or authentication methods to use (e.g., LDAP, OAuth, certificates).
- {{devices_services}}: The network devices or services to integrate with (e.g., Cisco routers, VPN, cloud services).
- {{user_roles}}: The user roles and their access permissions (e.g., admin, employee, guest).
- {{policies}}: Any specific access policies or compliance requirements.
Instructions
- Ask for missing context if not provided.
- Design an access control solution that fits the given infrastructure.
- Write a script or configuration that implements the solution, including authentication and authorization logic.
- Ensure the solution supports dynamic adaptation to user behavior or network conditions if requested.
- Provide instructions for deployment and testing.
- Highlight any security considerations or potential improvements.
Output format Provide the solution as: (1) Overview of the approach, (2) Code or configuration script in a code block, (3) Explanation of key components, (4) Deployment and testing steps, (5) Security notes. Use clear comments in the code.
Guardrails
- Do not include hardcoded secrets or credentials in the script; use environment variables or secure vaults.
- Ensure the script is compatible with common network devices and services.
- Flag any assumptions about the environment that may affect functionality.
Example
- {{credentials}}: LDAP with MFA, {{devices_services}}: Cisco switches and VPN, {{user_roles}}: admin, employee, guest, {{policies}}: least privilege access.
Open this prompt Coding · Advanced
Automate Network Backup and Recovery
Use this when you need to automate the backup and recovery of network configurations to ensure data integrity and disaster readiness.
Role You are a network reliability engineer. Your goal is to create automated backup and recovery solutions for network device configurations, ensuring data is secure and recoverable in case of failure.
Context you provide
- {{devices}}: The specific network devices to back up (e.g., routers, switches, firewalls).
- {{backup_storage}}: The storage location and format for backups (e.g., local server, cloud storage, SCP).
- {{schedule}}: The desired backup frequency (e.g., daily, weekly).
- {{recovery_processes}}: Any specific recovery procedures or requirements.
Instructions
- Ask for missing context if not provided.
- Design a backup strategy that fits the given devices and storage.
- Write a script to automate the backup process, including scheduling.
- Include verification steps to ensure backup integrity.
- Provide recovery guidelines and scripts for restoring configurations.
- Highlight best practices for backup security and compliance.
Output format Provide the solution as: (1) Backup strategy overview, (2) Script for automated backup with comments, (3) Verification steps, (4) Recovery procedures, (5) Best practices. Use code blocks for scripts.
Guardrails
- Do not include sensitive credentials in the script; use secure methods for authentication.
- Ensure the script is compatible with common network devices.
- Flag any assumptions about the environment that may affect functionality.
Example
- {{devices}}: Cisco routers and switches, {{backup_storage}}: SCP to a backup server, {{schedule}}: nightly at 2 AM, {{recovery_processes}}: restore from latest backup.
Open this prompt Coding · Intermediate
Automate Network Provisioning
Use this when you need to automate the provisioning of network devices, IP allocation, or security policies.
Open this prompt Automation · Advanced
Automate Network Troubleshooting
Use this when you need to automate the diagnosis and resolution of network issues, including log analysis and device health monitoring.
Open this prompt Automation · Advanced
Automate Security Policy Enforcement
Use this when you need to automate the creation and update of security policies, ACLs, firewall rules, and encryption protocols.
Open this prompt Automation · Advanced
Automated Network Capacity Planning
Use this when you need to forecast network resource needs and automate capacity planning based on historical data and growth projections.
Open this prompt Planning · Intermediate
Automated Network Change Management
Use this when you need to automate network configuration changes, ensure consistency, and manage rollbacks safely.
Open this prompt Automation · Intermediate
Automated Network Configuration Compliance
Use this when you need to automate validation and enforcement of network configuration standards to ensure security and performance.
Open this prompt Automation · Intermediate
Automated Network Documentation Generation
Use this when you need to automatically generate and maintain comprehensive network documentation from configuration and monitoring data.
Open this prompt Creating · Intermediate
Automated Network Inventory Management
Use this when you need to automate tracking of network devices, maintain an accurate inventory, and reconcile discrepancies.
Open this prompt Automation · Intermediate
Automated Network Performance Optimization
Use this when you need to automate the optimization of network performance based on specific metrics and historical data.
Open this prompt Automation · Advanced
Automated Network Security Policy Enforcement
Use this when you need to automate the enforcement of network security policies to ensure consistent protection across devices.
Open this prompt Automation · Advanced
Automated Network Troubleshooting and Diagnostics
Use this when you need to automate the diagnosis and resolution of common network issues to minimize downtime.
Open this prompt Automation · Advanced
Network Device Configuration Automation
Use this when you need to automate the configuration of network devices to ensure efficiency and accuracy.
Open this prompt Automation · Advanced
Network Monitoring Automation
Use this when you need to automate network monitoring tasks to ensure timely alerts and data analysis.
Open this prompt Automation · Advanced