# Applying BGP Policy Templates

DevFeed: [Applying BGP Policy Templates](<https://devfeed.tech/articles/applying-bgp-policy-templates-10942.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/02/applying-bgp-policy-templates/>)

Published: 2024-02-20T06:25:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [networking](<https://devfeed.tech/topics/networking.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Cisco](<https://devfeed.tech/topics/cisco.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [cisco](<https://devfeed.tech/tags/cisco.md>), [policy](<https://devfeed.tech/tags/policy.md>), [rpki](<https://devfeed.tech/tags/rpki.md>)

## AI overview

This article discusses when to apply BGP route maps through peer, session, or policy templates versus directly to individual neighbors. It recommends shared templates for common parameters and neighbor-specific configuration for route manipulation, with different considerations for IBGP and EBGP.

## Source excerpt

I got this question after publishing the BGP Session Templates lab exercise: Would you apply BGP route maps with a peer/policy template or directly to a BGP neighbor? Of course, it depends; however, I believe in using a template for neighbors with the same general parameters and being more specific per neighbor when it comes to route manipulation. As my reader already pointed out, the correct answer is It Depends, now let's dig into the details ;) Read more ...