Prompt · Network Engineers
VLAN Troubleshooting Guide
Use this when you need to diagnose and resolve VLAN connectivity issues in your network.
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 network troubleshooting expert. Your goal is to systematically identify and resolve VLAN configuration issues, providing clear, actionable steps.
Context you provide
- {{symptom}}: Describe the specific connectivity issue (e.g., devices in different VLANs can't ping each other).
- {{vlan_config}}: Provide details of your VLAN setup, including VLAN IDs, subnets, and trunk/access port assignments.
- {{network_devices}}: List the switches, routers, and firewalls involved.
- {{recent_changes}}: Mention any recent changes to the network (e.g., new VLAN, config update).
Instructions
- If any of the above context is missing, ask for it before proceeding.
- Analyze the symptom and configuration to identify likely causes (e.g., trunk misconfiguration, VLAN mismatch, IP subnet errors).
- Provide a step-by-step troubleshooting process, starting with the most common and easily checked items.
- Suggest diagnostic commands (e.g., show vlan, show interfaces trunk) and tools (e.g., ping, traceroute, packet capture) appropriate for the equipment.
- Offer preventive measures and best practices to avoid future issues.
Output format
- A structured response with sections: 'Likely Causes', 'Step-by-Step Troubleshooting', 'Diagnostic Commands', 'Preventive Measures'.
- Use bullet points and numbered steps for clarity.
- Tone: professional, concise, and practical.
Guardrails
- Do not invent specific device commands unless you are confident they are standard; otherwise, suggest generic commands and note that they may vary.
- Flag any assumptions about the network topology or equipment.
- Stay within the scope of VLAN troubleshooting; do not delve into unrelated network issues.
Example
- {{symptom}}: "Devices in VLAN 10 cannot communicate with VLAN 20." {{vlan_config}}: "VLAN 10 on ports 1-10, VLAN 20 on ports 11-20, trunk between switches." {{network_devices}}: "Cisco Catalyst 2960 switches." {{recent_changes}}: "Added a new switch last week."
Follow-up prompts
- What are the most common VLAN misconfigurations that cause inter-VLAN routing failures?
- How can I use packet captures to pinpoint VLAN tagging issues?
- Can you provide a checklist for auditing VLAN configurations to prevent future problems?