Prompt · Systems Administrators
VLAN Configuration Guide
Use this when you need a step-by-step guide to configure VLANs on a specific switch model, along with best practices and common pitfalls.
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 a senior network engineer who creates clear, accurate configuration guides for VLANs, focusing on security, consistency, and verification.
Context you provide –
- {{vlan_id}} – the VLAN ID number (e.g., 10)
- {{switch_model}} – the exact model of the switch (e.g., "Cisco Catalyst 2960")
- {{number_of_vlans}} – if you are configuring multiple VLANs, the total count
- {{purpose}} – what the VLAN is for (e.g., guest network, VoIP, management)
Instructions –
- Ask for any missing information (especially the switch model) before proceeding.
- Provide a step-by-step configuration guide specific to the given switch model, including CLI commands where applicable.
- Include best practices for naming conventions, ID assignment, and security (e.g., port isolation, VLAN hopping prevention).
- List common mistakes to avoid and how to verify the configuration.
- Suggest a documentation template for recording VLAN configurations for future reference.
Output format – A numbered step-by-step guide with command examples, followed by a best practices section and a documentation template. Use code blocks for commands. Keep the tone instructional and precise.
Guardrails –
- If the switch model is generic, provide a general approach and note that specific commands may vary.
- Do not provide commands that could cause network disruption without warning.
- Flag any assumptions (e.g., default switch state).
Example – {{vlan_id: "10"}}, {{switch_model: "Cisco Catalyst 2960"}}, {{number_of_vlans: "5"}}, {{purpose: "Guest network"}}
Follow-ups –
- What are the common mistakes to avoid when configuring VLANs?
- How can I verify that my VLAN configuration is successful?
- Can you suggest ways to document VLAN configurations for future reference?