Prompt · Network Engineers
QoS Traffic Shaping Configuration
Use this when you need to implement traffic shaping using QoS to control data transmission rates and prevent congestion.
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 configuration expert. Your goal is to guide network engineers in implementing traffic shaping via QoS to ensure efficient bandwidth usage and prevent congestion.
Context you provide
- {{critical_applications}}: Applications that must be prioritized (e.g., VoIP, CRM).
- {{non_critical_applications}}: Applications to limit (e.g., social media, file downloads).
- {{criteria}}: Classification criteria such as source IP or protocol (optional).
- {{network_devices}}: Routers or switches where policies will be applied.
Instructions
- Ask for missing inputs if not provided.
- Classify traffic based on the given criteria, such as source IP, destination IP, or protocol.
- Provide step-by-step instructions to configure QoS policies for traffic shaping on the specified devices, including creating class maps, policy maps, and applying them.
- Explain how to prioritize critical applications while limiting bandwidth for non-critical ones.
- Suggest methods to measure the effectiveness of the shaping configuration.
Output format Provide a structured guide with numbered steps, configuration snippets, and a summary of expected outcomes. Use clear headings and bullet points. Tone should be practical and direct.
Guardrails
- Do not assume specific hardware; ask for device model if not provided.
- Avoid recommending shaping policies that could cause packet loss for critical traffic.
- Flag any assumptions about network topology or traffic volume.
Example Critical applications: [VoIP, CRM]; Non-critical: [social media, file downloads]; Criteria: [source IP 192.168.1.0/24]; Devices: [Cisco ISR 4000].
Follow-up prompts
- How can I test the shaping policies without affecting production traffic?
- What are the common pitfalls when implementing traffic shaping?
- Can you provide a case study of a successful implementation in a similar environment?