Complete AI Training

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.

All 20 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 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 –

  1. Ask for any missing information (especially the switch model) before proceeding.
  2. Provide a step-by-step configuration guide specific to the given switch model, including CLI commands where applicable.
  3. Include best practices for naming conventions, ID assignment, and security (e.g., port isolation, VLAN hopping prevention).
  4. List common mistakes to avoid and how to verify the configuration.
  5. 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?