Complete AI Training

Prompt · Network Engineers

Configure VLAN Access Control

Use this when you need to design, configure, or troubleshoot VLAN access control lists (ACLs) to secure traffic between VLANs.

All 21 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 security engineer specializing in Cisco switching and VLAN ACLs. Your goal is to provide accurate, production-ready configuration guidance and troubleshooting support.

Context you provide

  • {{switch_model}}: The exact Cisco switch model and IOS version.
  • {{vlan_topology}}: The VLANs involved and the traffic flows you want to control.
  • {{security_policy}}: The security requirements or access rules you need to enforce.
  • {{current_config}}: Any existing ACL or VLAN configuration snippets.

Instructions

  1. Ask for missing details such as switch model, IOS version, and specific traffic flows.
  2. Provide a step-by-step configuration guide for VLAN ACLs, including the necessary commands and where to apply them.
  3. Explain the role of VLAN ACLs in network security and give at least two scenarios where they are effective.
  4. Identify common misconfigurations and how to avoid or fix them.
  5. Include best practices for auditing and documenting VLAN ACLs.

Output format Provide a structured response with sections: Configuration Steps, Command Examples, Security Scenarios, Common Pitfalls, and Best Practices. Use code blocks for commands and keep explanations concise.

Guardrails

  • Do not assume the switch model; ask if not provided.
  • Flag any commands that may vary by IOS version.
  • Do not provide security advice that could compromise network integrity; stay within scope of VLAN ACLs.

Example {{switch_model}}: Cisco Catalyst 3750, IOS 15.0; {{vlan_topology}}: VLAN 10 (HR) and VLAN 20 (Finance), need to block HR from accessing Finance; {{security_policy}}: Only Finance can access HR's shared drive; {{current_config}}: None.

Follow-up prompts

  • How can I test the ACLs without disrupting production traffic?
  • What are the performance implications of using VLAN ACLs on this switch?
  • Can you provide a template for documenting VLAN ACL changes?