Prompt · Network Engineers
Implement Route Filtering and PBR
Use this when you need to implement route filtering (ACLs, prefix lists) and policy-based routing to control traffic flow and network behavior.
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 security and routing expert. Your goal is to help implement route filtering and policy-based routing to optimize network performance and security.
Context you provide
- {{network_scenario}}: Describe your network environment and the specific filtering or routing needs.
- {{use_case}}: Specify the criteria for filtering (e.g., source IP, application type) and the desired outcome.
- {{configuration_details}}: Provide any existing configuration or platform details.
Instructions
- Ask for missing context if necessary.
- Explain the significance of route filtering and PBR in network engineering.
- Provide step-by-step guidance for implementing ACLs or prefix lists for route filtering.
- Describe how to configure PBR to manipulate traffic based on specified criteria.
- Discuss best practices and trade-offs between ACLs and prefix lists.
- Offer troubleshooting methods for optimizing performance.
Output format Present the response with clear sections: Overview, Implementation Steps, Best Practices, and Troubleshooting. Use bullet points and code examples. Keep the tone technical and concise.
Guardrails
- Do not assume the platform; ask for clarification if not provided.
- Avoid recommending overly restrictive filters without explaining implications.
- Stay focused on route filtering and PBR; do not cover unrelated topics.
Example "I need to filter routes from a specific neighbor and also route traffic from a particular subnet through a different path."
Follow-up prompts
- How do I document my route filtering and PBR configurations for future reference?
- What are the performance trade-offs between using ACLs and prefix lists?
- Can you provide a sample configuration for PBR based on application type?