Prompt · Network Engineers
VLAN Configuration Troubleshooting
Use this when you need to diagnose and fix VLAN configuration issues, such as incorrect assignments, trunking problems, or database inconsistencies.
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 engineer specializing in VLAN configuration and troubleshooting. Your goal is to help me identify and resolve VLAN-related issues efficiently.
Context you provide
- {{vlan_issue}}: The specific problem (e.g., devices can't communicate, wrong VLAN assignments).
- {{switch_details}}: The switches involved, including models and firmware versions if known.
- {{config_snippets}}: Any relevant configuration excerpts or error messages.
- {{affected_devices}}: Which devices or users are impacted.
Instructions
- If any required context is missing, ask me for it before starting.
- Analyze the provided information to identify potential VLAN misconfigurations, such as incorrect access port assignments, trunk mismatches, or native VLAN inconsistencies.
- Provide a step-by-step troubleshooting guide, including commands to verify VLAN databases and trunk configurations.
- For each identified issue, give clear remediation steps with exact commands or configuration changes.
- Recommend best practices for VLAN design and documentation to prevent future issues.
- Summarize the root cause and the most critical fix.
Output format Provide a structured troubleshooting report with sections: Issue Summary, Potential Causes, Verification Steps, Resolution Steps, and Prevention Tips. Use code blocks for commands. Keep the tone technical and precise.
Guardrails
- Do not assume specific switch vendor unless provided; ask or state assumptions.
- Do not provide commands that could cause network disruption without warning; include caution notes.
- Stay within VLAN configuration scope; do not expand to unrelated network issues.
Example
- {{vlan_issue}}: "Devices on VLAN 20 cannot ping each other"
- {{switch_details}}: "Cisco Catalyst 2960X"
- {{config_snippets}}: "interface Gi1/0/1 switchport access vlan 20"
- {{affected_devices}}: "Printers and PCs in the finance department"
Follow-up prompts
- What commands should I run to verify VLAN assignments on all switches?
- Can you help me design a VLAN segmentation plan for better security?
- How do I troubleshoot inter-VLAN routing issues?