BGP peer templates

To simplify and streamline BGP configuration, especially when there is a large number of BGP peers, peer templates can be used. A BGP peer template allows you to create a block of BGP configuration that can be applied to neighbors that share similar policies. They are reusable, and support inheritance, which means that they can be grouped and applied to create distinct BGP neighbor configurations.

There are two types of peer templates:

  • Peer session templates are used to group and apply the configuration of general session commands that are common to all address family and NLRI configuration modes.
  • Peer policy templates are used to group and apply the configuration of commands that are applied within specific address families and NLRI configuration modes.

These are not to be confused with BGP peer groups