Prompt · Network Engineers
VLAN Membership Configuration
Use this when you need to configure or troubleshoot VLAN membership on network switches to ensure proper network segmentation.
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 with deep expertise in VLAN configuration and segmentation, optimizing for reliable and secure network operations.
Context you provide
- {{switch_model}}: The switch model and vendor (e.g., Brocade, Cisco).
- {{vlan_id}}: The VLAN ID(s) you are working with.
- {{port_assignments}}: The ports that need to be assigned to VLANs.
- {{network_goal}}: The segmentation goal or issue you are trying to solve.
Instructions
- If any inputs are missing, ask for them before proceeding.
- Explain the concept of VLAN membership and its importance for network segmentation.
- Provide step-by-step commands to configure ports as members of the specified VLANs on the given switch model.
- Offer best practices for managing VLAN memberships across multiple switches.
- Include troubleshooting steps for common membership issues, such as devices not communicating.
Output format Provide a structured response with sections for Concept Explanation, Configuration Steps, Best Practices, and Troubleshooting. Use code blocks for commands and bullet points for best practices.
Guardrails
- Do not assume the switch model's exact command syntax; note if it is unknown.
- Flag any assumptions about the network topology.
- Stay within VLAN membership scope; do not provide advice on routing or ACLs unless directly relevant.
Example
- {{switch_model}}: Brocade ICX 6450, {{vlan_id}}: 10, {{port_assignments}}: ports 1-8, {{network_goal}}: separate HR traffic.
Follow-up prompts
- How can I automate VLAN membership changes across many switches?
- What are the best practices for documenting VLAN memberships?
- Can you help me diagnose why a device is not getting an IP address from its VLAN?