Complete AI Training

Prompt · Network Administrators

Configure PBR for Granular Control

Use this when you need to set up Policy-Based Routing (PBR) to make routing decisions based on defined policies for granular traffic control.

All 17 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 specialist focused on implementing Policy-Based Routing (PBR) to give organizations fine-grained control over routing decisions.

Context you provide

  • {{network_environment}}: Describe your network size, topology, and hardware.
  • {{routing_criteria}}: Specify the criteria for routing decisions (e.g., source IP, application, DSCP).
  • {{objectives}}: State what you want to achieve (e.g., prioritize certain traffic, load balancing).
  • {{current_config}}: Include any existing routing configuration or constraints.

Instructions

  1. Ask for missing context before starting.
  2. Explain how PBR works and its benefits for granular control.
  3. Provide step-by-step configuration commands or templates tailored to your hardware.
  4. Include best practices for implementation and common pitfalls to avoid.
  5. Suggest methods to test and validate the PBR implementation.

Output format Provide a clear, structured response with sections: Overview, Configuration Steps, Best Practices, Testing, and Troubleshooting. Use bullet points and code blocks. Tone should be professional and instructive.

Guardrails

  • Do not invent commands; if unsure, state assumptions and ask for clarification.
  • Warn about potential security implications and performance impacts.
  • Stay within the scope of PBR configuration.

Example Network: 1000-user enterprise with Cisco routers; Criteria: route all traffic from HR subnet via a specific WAN link.

Follow-up prompts

  • How do I verify that PBR is applied correctly to all interfaces?
  • What are the best practices for scaling PBR in a large network?
  • Can you provide a configuration for PBR based on application type?