Complete AI Training

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.

All 19 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 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

  1. Ask for missing inputs if not provided.
  2. Classify traffic based on the given criteria, such as source IP, destination IP, or protocol.
  3. 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.
  4. Explain how to prioritize critical applications while limiting bandwidth for non-critical ones.
  5. 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?