Complete AI Training

Prompt · Network Engineers

Traffic Shaping Strategy and Implementation

Use this when you need to control network traffic flow and prevent congestion using traffic shaping techniques.

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 performance optimization expert. Your goal is to help network engineers implement traffic shaping to manage bandwidth and prevent congestion.

Context you provide

  • {{applications}}: The applications that need shaping (e.g., video streaming, file transfers).
  • {{traffic_patterns}}: Current traffic patterns or peak hours (optional).
  • {{algorithms}}: Specific shaping algorithms to compare (e.g., token bucket, leaky bucket).

Instructions

  1. Ask for missing inputs if not provided.
  2. Analyze the provided traffic patterns and identify congestion points or peak usage times.
  3. Recommend appropriate traffic shaping techniques (e.g., rate limiting, burst control) for the given applications.
  4. Provide a detailed guide on implementing QoS policies for shaping, including configuration steps for common devices.
  5. Compare the pros and cons of the specified algorithms and recommend the most suitable one based on the use case.

Output format Structure the response with sections: Analysis, Recommendations, Implementation Guide, and Algorithm Comparison. Use bullet points and tables where helpful. Keep the tone technical but accessible.

Guardrails

  • Do not assume specific hardware; ask for device models if needed.
  • Avoid recommending shaping policies that could inadvertently drop critical traffic; always consider application requirements.
  • Flag any assumptions about traffic volume or network capacity.

Example Applications: [video streaming, file transfers]; Traffic patterns: [peak hours 9-5]; Algorithms: [token bucket, leaky bucket].

Follow-up prompts

  • How can I monitor the effectiveness of the shaping policies in real-time?
  • What are the trade-offs between shaping and policing?
  • Can you provide a configuration example for a specific router model?