<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t" -->

---
title: Applying BGP Policy Templates « ipSpace.net blog | daily.dev
description: A discussion on when to apply BGP route maps via peer/policy templates versus directly on individual BGP neighbors. For IBGP, a single template typically...
canonical: https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Applying BGP Policy Templates « ipSpace.net blog | daily.dev
og:description: A discussion on when to apply BGP route maps via peer/policy templates versus directly on individual BGP neighbors. For IBGP, a single template typically...
og:url: https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t
og:image: https://api.daily.dev/og/posts/KggSA1S7T.png
og:image:alt: Applying BGP Policy Templates « ipSpace.net blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Applying BGP Policy Templates « ipSpace.net blog

**[ipSpace.net Blog](https://daily.dev/sources/ipspace)** · 3 min read · 0 upvotes · 0 comments

## Summary

A discussion on when to apply BGP route maps via peer/policy templates versus directly on individual BGP neighbors. For IBGP, a single template typically suffices since neighbors share the same parameters. For EBGP in service provider networks, a hybrid approach works best: use policy templates for shared routing policies (dropping RFC 1918 space, handling BGP communities) while applying neighbor-specific filters (prefix filters, AS-path filters, per-neighbor MD5 passwords) directly on individual neighbors. Platform capabilities matter significantly — some implementations like Arista EOS and FRR support chaining route maps, enabling a common route map plus per-neighbor route maps, while others force all filtering through route maps without chaining, making automation essential for consistency.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.ipspace.net/2024/02/applying-bgp-policy-templates>

## Questions this post answers

### Should I apply BGP route maps in a policy template or directly on each BGP neighbor?

The right approach depends on context. For IBGP, a single template covering all neighbors is usually sufficient since parameters rarely differ between them. For EBGP in service provider networks, a hybrid works best: put shared policies (RFC 1918 drops, AS-path length limits, BGP community handling) in a policy template, and apply neighbor-specific prefix/AS-path filters and MD5 passwords directly on individual neighbors. Platforms that support route-map chaining (Arista EOS, FRR) make this cleaner.

_Network engineers navigating BGP design trade-offs find relevant discussions on daily.dev._

### Can Arista EOS and FRR chain route maps for BGP policy?

Yes, both Arista EOS and FRR allow a route map to call (include) another route map. This lets you create a common route map for shared routing policy and per-neighbor route maps that filter incoming prefixes before calling the common one, keeping configuration modular without duplicating shared logic across every neighbor.

_Engineers choosing between BGP platforms for SP or DC deployments track capability differences like these on daily.dev._

## Similar posts on daily.dev

- [BGP route policies: Top 3 use cases by customer demand](https://daily.dev/posts/bgp-route-policies-top-3-use-cases-by-customer-demand-3wr4btbgi) · Google Cloud · 0 upvotes · 0 comments
- [BGP-Free Core with SR-MPLS « ipSpace.net blog](https://daily.dev/posts/bgp-free-core-with-sr-mpls-ipspace-net-blog-h7kronzy3) · ipSpace.net Blog · 0 upvotes · 0 comments

---

Tags: [#bgp](https://daily.dev/tags/bgp)

[View this post on daily.dev](https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Applying BGP Policy Templates « ipSpace.net blog","url":"https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t"},"datePublished":"2026-08-11T08:52:48.199Z","dateModified":"2026-08-11T09:07:19.106Z","description":"A discussion on when to apply BGP route maps via peer/policy templates versus directly on individual BGP neighbors. For IBGP, a single template typically...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"ipSpace.net Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ipSpace.net Blog","logo":"https://media.daily.dev/image/upload/s--xS7E82MT--/f_auto,q_auto/v1786438303/logos/ipspace?_a=BAMAMicg0","url":"https://daily.dev/sources/ipspace"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"bgp","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ipSpace.net Blog","item":"https://daily.dev/sources/ipspace"},{"@type":"ListItem","position":3,"name":"Applying BGP Policy Templates « ipSpace.net blog"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/applying-bgp-policy-templates-ipspace-net-blog-kggsa1s7t#faq","mainEntity":[{"@type":"Question","name":"Should I apply BGP route maps in a policy template or directly on each BGP neighbor?","acceptedAnswer":{"@type":"Answer","text":"The right approach depends on context. For IBGP, a single template covering all neighbors is usually sufficient since parameters rarely differ between them. For EBGP in service provider networks, a hybrid works best: put shared policies (RFC 1918 drops, AS-path length limits, BGP community handling) in a policy template, and apply neighbor-specific prefix/AS-path filters and MD5 passwords directly on individual neighbors. Platforms that support route-map chaining (Arista EOS, FRR) make this cleaner. Network engineers navigating BGP design trade-offs find relevant discussions on daily.dev."}},{"@type":"Question","name":"Can Arista EOS and FRR chain route maps for BGP policy?","acceptedAnswer":{"@type":"Answer","text":"Yes, both Arista EOS and FRR allow a route map to call (include) another route map. This lets you create a common route map for shared routing policy and per-neighbor route maps that filter incoming prefixes before calling the common one, keeping configuration modular without duplicating shared logic across every neighbor. Engineers choosing between BGP platforms for SP or DC deployments track capability differences like these on daily.dev."}}]}
```

